On 25 Feb 2015, at 19:05, Camille Oudot <camille.oudot(a)orange.com> wrote:
Hi,
I want to propose a patch to usrloc:
https://github.com/kamailio/kamailio/commit/14852a98ed46b7a88c92bff31c319d2…
this patch adds a new parameter, close_expired_tcp, that makes usrloc
request the main TCP process to end the connections of expired
registrations (assuming 1 connection = 1 contact).
It enables to release resources on the system ASAP, in the event of a
lost connection (e.g. when clients are on mobile networks).
Any thoughts?
As you indicate, if the registrar is behind an outbound server, we should not close.
This is indicated by a path header normally.
If there's no path, I wonder if there is any reason not to make this a default
behaviour? Why keep the connection?
/O