<div dir="ltr">It works that is fine.<div><br></div><div>However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location.</div><div>The dialog info (kamctl dialog show) still indicates the previous location.</div><div>(It looks like <a href="https://github.com/kamailio/kamailio/issues/273">https://github.com/kamailio/kamailio/issues/273</a>)</div><div><br></div><div>I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ?</div><div>What is the status in 4.3.3 ?</div><div><br></div><div>thibault</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-01 12:08 GMT+01:00 Thibault Gueslin <span dir="ltr"><<a href="mailto:thibault.gueslin@gmail.com" target="_blank">thibault.gueslin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks </div>I don't have set the dialog property.<div><br></div><div>I will add these lines on INVITE reception.</div><div><div><br></div><div>dlg_set_property("ka-src");</div><div>dlg_set_property("ka-dst");</div><div>dlg_set_property("timeout-noreset");</div></div><div><br></div><div>But is it the proper way to do it with TCP connection ?</div><div>From the tran</div><div><br></div><div>regards</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>thibault</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
<br>
On 30/11/15 11:37, Thibault Gueslin wrote:<br>
> I would like to terminate the dialog when one party disconnects<br>
> without sending a BYE<br>
> (no more connctivity, client shutdown)<br>
><br>
> I am using TCP connection.<br>
><br>
> Should I terminate the dialog from event_route[usrloc:contact-expired] ?<br>
><br>
> I have tried also to use SIP OPTION parameter from dialog module<br>
> modparam("dialog", "ka_timer",  10 )<br>
> modparam("dialog", "ka_interval",  30 )<br>
> but nothing is sent)<br>
><br>
><br>
</span>Have you set the keepalive property for the dialog?<br>
<br>
<a href="http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336" rel="noreferrer" target="_blank">http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336</a><br>
<br>
Cheers,<br>
Daniel<br>
<span><font color="#888888"><br>
--<br>
Daniel-Constantin Mierla<br>
<a href="http://twitter.com/#!/miconda" rel="noreferrer" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">http://www.linkedin.com/in/miconda</a><br>
Book: SIP Routing With Kamailio - <a href="http://www.asipto.com" rel="noreferrer" target="_blank">http://www.asipto.com</a><br>
<a href="http://miconda.eu" rel="noreferrer" target="_blank">http://miconda.eu</a><br>
<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>