<HTML><BODY><div>Hello,</div><div> </div><div>maybe the second parameter (‘contact’) of the ‘is_contact_registered’ function [1] could be useful?</div><div>And speaking about Expires: 0 — according to SIP RFC [2] it’s absolutely normal,</div><div>it means tat a device disables its registration, this is done either by sending Expires: 0 SIP header,</div><div>or by adding ;expires=0 as a parameter to the Contact header.</div><div> </div><div> </div><div>[1] <a href="https://opensips.org/docs/modules/3.1.x/registrar.html#func_is_contact_registered">https://opensips.org/docs/modules/3.1.x/registrar.html#func_is_contact_registered</a></div><div>[2] <a href="https://datatracker.ietf.org/doc/html/rfc3261#section-10.3">https://datatracker.ietf.org/doc/html/rfc3261#section-10.3</a></div><div> </div><div data-signature-widget="container"><div data-signature-widget="content"><div>-----------------------------------------------<br><span style="font-size: 15px;">BR, Alexey</span><br style="font-size: 15px;"><span style="font-size: 15px;">http://alexeyka.zantsev.com/</span></div></div></div><div> </div></BODY></HTML>