<div dir="rtl"><div dir="ltr" style>Dear List.</div><div dir="ltr" style><br></div><div dir="ltr" style>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.</div>
<div dir="ltr" style><br></div><div dir="ltr" style>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)</div>
<div dir="ltr" style><br></div><div dir="ltr" style>thanks for all replies in advance....</div></div>