[SR-Users] how to detect un-REGISTER
Alex Balashov
abalashov at evaristesys.com
Fri Dec 20 17:46:51 CET 2013
Yes; such a request will have either a Contact with an ;expires=0
attribute, or an Expires: 0 header, e.g.
if($ct =~ ";expires=0")
or
if(is_present_hf("Expires") && $hdr(Expires) == "0")
-- Alex
On 12/20/2013 11:44 AM, Henry Fernandes wrote:
> Is there a Kamailio module/function to detect if a REGISTER request is for unregistering?
> -H
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
More information about the sr-users
mailing list