[SR-Users] unregister user when kamailio looses TCP connection.

Olle E. Johansson oej at edvina.net
Tue Aug 27 10:26:58 CEST 2013


27 aug 2013 kl. 10:25 skrev Vitaliy Aleksandrov <vitalik.voip at gmail.com>:

> On 08/27/2013 10:22 AM, Olle E. Johansson wrote:
>> Let's work on a description on the logic needed and see if Vitally's code is close:
>> 
>> 1. Connection dies (tcp, tls, sctp)
>> 2. Event-route activates
>> 3. Check if there's a outbound flow with reg-id associated with the flow
>> 4. If not, is there a registration associated with the flow
>> 5. If 3 or 4 is true, do something
>> 
>> Do we have functions for 3 and 4? Can this be done in scripting?
> Haven't seen functions which can do 3 and 4 at the last stable usrloc module.
> 
Ok,
then the question is if they can be coded, isn't it?

/O




More information about the sr-users mailing list