[SR-Users] dialog: use keepalive & timeout features together

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 7 09:07:45 CEST 2015


Hello,


On 06/07/15 12:29, Andrey Utkin wrote:
> Would be nice if it would be possible to
> - make timer of "default_timeout" reset to 0 when keep-alive reply is
> received from remote part of call leg, so that the timeout expires
> (triggering call termination) only if some call party gets offline (we
> don't want just to limit the duration of normal call, even if call
> parties don't send any new SIP requests);
> OR
> - make unresponsiveness of call parties to keep-alive messages
> (controlled with ka_timer, ka_interval parameters) lead to some
> action, like call termination.
>
> Please advise if I miss something, and how to implement this better.
> Thanks in advance.
>
if there is no response to keepalive, the call should be terminated in
like 10 seconds.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com




More information about the sr-users mailing list