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....