On 30/11/15 11:37, Thibault Gueslin wrote:
> I would like to terminate the dialog when one party disconnects
> without sending a BYE
> (no more connctivity, client shutdown)
>
> I am using TCP connection.
>
> Should I terminate the dialog from event_route[usrloc:contact-expired] ?
>
> I have tried also to use SIP OPTION parameter from dialog module
> modparam("dialog", "ka_timer", 10 )
> modparam("dialog", "ka_interval", 30 )
> but nothing is sent)
>
>
Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu