On 01 Oct 2015, at 16:46, Olle E. Johansson
<oej(a)edvina.net> wrote:
On 11 Sep 2015, at 17:48, Daniel-Constantin
Mierla <miconda(a)gmail.com> wrote:
Hello,
there is a feature added not far ago to usrloc module to remove location
records if the tcp connection is not active anymore - see the module
parameters. Iirc, doesn't work for db only mode.
Strictly to your question, I don't remember such event route being added.
Consider having an outbound edge server in front of another server that is
the registrar. Deleting usrloc entries doesn’t help, since the TCP connection
is elsewhere.
I need the edge proxy to react to a connection closing and find a registration
based on that (in htable or something). The missing part is the connection close
event route…
It’s not really the outbound module (not using outbound here) so maybe we could
hook something up in the tcpops module.
Sorry for the latency in reply…
Looking into usrloc source code it seems pretty trivial to create a function that can
check if a TCP connection is considered alive and well.
tcp_conn_check($conid)
Camille - is it ok if I try to create something like that in your tcpops module? It
seems to fit in there just fine.
/O
/O
Cheers,
Daniel
On 11/09/15 14:54, Olle E. Johansson wrote:
Hi!
A while ago we discussed an event route when a client close a connection so we can remove
registrations.
Did that ever happen?
/O
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio -
http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin -
http://asipto.com/u/kat
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev