[sr-dev] patch porposal for usrloc: close TCP connections

Camille Oudot camille.oudot at orange.com
Mon Mar 2 14:27:24 CET 2015


Le Thu, 26 Feb 2015 11:18:39 +0100,
Daniel-Constantin Mierla <miconda at gmail.com> a écrit :

> 
> On 26/02/15 11:11, Camille Oudot wrote:
> > Le Thu, 26 Feb 2015 07:57:49 +0100,
> > "Olle E. Johansson" <oej at edvina.net> a écrit :
> >
> >> If there's no path, I wonder if there is any reason not to make
> >> this a default behaviour? Why keep the connection?
> > If a SIP user agent has several contacts registered through the same
> > connection (I think it is possible although I've not encountered
> > this case yet), then we don't expect the connection to be closed on
> > the first expired contact, so I'm not sure about making this a
> > default behavior.
> >
> Having it optional is good in the first place, perhaps the new
> parameter can be extended in the future to get new values that will
> make the behaviour different (e.g., close when there is no path).

Hi,

i've modified the patch to handle the several usrloc database modes,
and rebased it in a new branch:

https://github.com/kamailio/kamailio/commit/42dc7c8d17612b9d7a2dfa68bc9eb47228221641

I plan to merge it into master if it's fine with you.

Cheers,
-- 
Camille



More information about the sr-dev mailing list