[Serusers] Distinguish between registration and unregistration SIPmessages
Zeus Ng
zeus.ng at isquare.com.au
Thu Mar 17 13:01:36 CET 2005
Load the textops module and use search("Expires: 0") function.
> -----Original Message-----
> From: serusers-bounces at lists.iptel.org
> [mailto:serusers-bounces at lists.iptel.org] On Behalf Of Jffdsaklj dsjk
> Sent: Thursday, 17 March 2005 10:01 PM
> To: serusers at lists.iptel.org
> Subject: [Serusers] Distinguish between registration and
> unregistration SIPmessages
>
>
> Hi,
> I'd like to make some actions in the ser.cfg file when the
> SIP message matches the REGISTER action, but only when it
> corresponds to the unregistration of the user. How can I
> distinguish both cases?. Is there any command I can include
> in my ser.cfg file?. I know that unregistration REGISTER
> messages include a header field:
> "Expires: 0" but I don't know how to find this string in the
> message. There's no $SIP_HF_EXPIRES. Thanks
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
>
More information about the sr-users
mailing list