Le Wed, 22 Oct 2014 09:02:01 -0500,
Carlos Ruiz Díaz <carlos.ruizdiaz(a)gmail.com> a écrit :
You wouldn't be able to use the unregister
function of the registrar
module, because a faked SIP message is used to trigger the event, but
you can always write a custom SQL to delete the record of the
location table using the socket information, to which you do have
access: $si, $sp.
Yes indeed, in the case of websockets this event already exists. Then I
can use a hash table to store the contact corresponding to the ip and
port, then be able to unregister it from the usrloc database.
I was wondering if such a mechanism was available for plain TCP and TLS
connections.
Cheers,
--
Camille