Hello,
 
maybe the second parameter (‘contact’) of the ‘is_contact_registered’ function 
[1] could be useful?
And speaking about Expires: 0 — according to SIP RFC [2] it’s absolutely normal,
it means tat a device disables its registration, this is done either by sending 
Expires: 0 SIP header,
or by adding ;expires=0 as a parameter to the Contact header.
 
 
[1]  
https://opensips.org/docs/modules/3.1.x/registrar.html#func_is_contact_registered
[2]  https://datatracker.ietf.org/doc/html/rfc3261#section-10.3
 
-----------------------------------------------
BR, Alexey
http://alexeyka.zantsev.com/
 
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to