[SR-Users] Doing automatic unregister when a WEBSOCKET connection is closed.

אורן אברהם oren.av.jnk at gmail.com
Thu May 2 01:01:22 CEST 2013


Dear List.

I'm trying to issue an automatic unregister() (of a registration) when a
websocket connection is closed. it is useful when the browser is closed
without issuing REGISTER with expires=0.

i've tried implementing this using the event_route[websocket:closed] but i
don't know how to find the registration uri from the $si:$sp. (that is
needed for the unregister() function from the registrar module)

thanks for all replies in advance....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130502/fd4cf58e/attachment.html>


More information about the sr-users mailing list