<div dir="ltr">The parameter does not work for us. We have modparam("dialog", "default_timeout",7200), but it only has an effect on confirmed dialogs. As you can see from my previous example, there is not even a "timestart" value on the unconfirmed dialog, so how can Kamailio know when timeout is reached?
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 2 July 2013 14:51, Carlos Ruiz Díaz <span dir="ltr"><<a href="mailto:carlos.ruizdiaz@gmail.com" target="_blank">carlos.ruizdiaz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There is, but for all dialogs, not only the unconfirmed ones.<div><br></div><div><a href="http://www.kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#default-timeout-id" target="_blank">http://www.kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#default-timeout-id</a><br>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 9:49 AM, Charles Chance <span dir="ltr"><<a href="mailto:charles.chance@sipcentric.com" target="_blank">charles.chance@sipcentric.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hmm, I don't think there is even a timeout value set on unconfirmed dialogs in memory.<div><br></div>

<div>Example (Kamailio 3.3.3):</div><div><br></div><div><div>dialog::  hash=1791:10106</div><div><span style="white-space:pre-wrap">      </span>state:: 1</div>
<div><span style="white-space:pre-wrap">  </span>ref_count:: 1</div><div><span style="white-space:pre-wrap">    </span>timestart:: 0</div><div><span style="white-space:pre-wrap">    </span>timeout:: 0</div><div><span style="white-space:pre-wrap">      ...</span><br>


</div><div><br></div><div>Whereas:</div><div><br></div><div>dialog::  hash=2963:2808<br></div><div><span style="white-space:pre-wrap">    </span>state:: 4</div><div><span style="white-space:pre-wrap">        </span>ref_count:: 2</div>


<div><span style="white-space:pre-wrap">  </span>timestart:: 1372772302</div><div><span style="white-space:pre-wrap">   </span>timeout:: 114829207</div><div><span style="white-space:pre-wrap">      ...</span><br></div></div><div>


<span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Therefore, the unconfirmed dialogs never get cleared automatically, in my experience at least. I hope I'm wrong though :)</span></div>

<div>
<span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Cheers,</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Charles</span></div>

<div><div><span style="white-space:pre-wrap"><br>
</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 2 July 2013 14:31, Henning Westerholt <span dir="ltr"><<a href="mailto:hw@kamailio.org" target="_blank">hw@kamailio.org</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Dienstag, 2. Juli 2013, 14:23:25 schrieb Charles Chance:<br>
<div>> I don't think this will help at all, as regardless of DB mode, unconfirmed<br>
> dialogs are not stored in DB anyway.<br>
><br>
> The important thing to remember is that if you are calling dialog_manage()<br>
> in your config, to only do it once you are ready to forward the request. If<br>
> you call it but then exit for some reason without actually forwarding, you<br>
> will probably end up with a stuck dialog.<br>
><br>
> Maybe someone else can suggest other possible causes?<br>
><br>
> To my knowledge, there is no existing way to clear these without restarting.<br>
<br>
</div>Hello,<br>
<br>
AFAIK these stale dialogs are cleaned up after the dialog timeout. There are<br>
module parameter and also dialog specific parameter to control this variable.<br>
This stale dialogs needs a bit of memory, but are otherwise harmless.<br>
<br>
Best regards,<br>
<br>
Henning<br>
</blockquote></div><br><br clear="all"><div><br></div>
</div></div></div><div><div>

<br>
<font face="Helvetica, Arial, sans-serif"><font><span style="font-size:10pt"><a href="http://www.sipcentric.com/" title="blocked::http://www.sipcentric.com/" target="_blank">www.sipcentric.com</a><br>
            <br>
            Follow us on twitter <a href="http://twitter.com/sipcentric" title="blocked::http://twitter.com/sipcentric" target="_blank">@sipcentric</a><br>
            <br>
            <font color="gray">Sipcentric Ltd.
                Company registered in England & Wales no. <a href="tel:7365592" value="+5957365592" target="_blank">7365592</a>.</font> <font color="gray">Registered
                office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham B7 4EJ.</font></span></font></font></div></div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Carlos<div><a href="http://caruizdiaz.com" target="_blank">http://caruizdiaz.com</a></div><div>+595981146623</div>

</font></span></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="arial, helvetica, sans-serif"><b><font>Charles Chance</font></b><br><font>Managing Director</font></font><br><div><font face="arial, helvetica, sans-serif"><font><br>
</font></font></div><div><font face="arial, helvetica, sans-serif"><font>t. 0121 285 4400    m. 07932 063 891</font></font></div></div>
</div>

<br>
<font face="Helvetica, Arial, sans-serif"><font size="2"><span style="font-size:10pt"><a href="http://www.sipcentric.com/" title="blocked::http://www.sipcentric.com/" target="_blank">www.sipcentric.com</a><br>
            <br>
            Follow us on twitter <a href="http://twitter.com/sipcentric" title="blocked::http://twitter.com/sipcentric" target="_blank">@sipcentric</a><br>
            <br>
            <font color="gray">Sipcentric Ltd.
                Company registered in England & Wales no. 7365592.</font> <font color="gray">Registered
                office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham B7 4EJ.</font></span></font></font>