<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>On the other hand, as I thought about it, the
event_route[dialog:end] is executed either by loose_route() or
dlg_manage() -- which one is executed first in the config file, so
you have the BYE in config before the event_route.</p>
<p>Only when the BYE is generated by Kamailio, there is no
request_route execution.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 23.01.18 14:13, Jean Cérien wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAL_ph0+094uGBrLoUsBLbRqwMKE+LS0g_aiOhU+ewA1KVb4FPQ@mail.gmail.com">
<div dir="ltr"><br>
<div>Many thanks, this works !</div>
<div>J.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jan 23, 2018 at 3:45 AM,
Daniel-Constantin Mierla <span dir="ltr"><<a
href="mailto:miconda@gmail.com" target="_blank"
moz-do-not-send="true">miconda@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 text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>one option is to set the expire time in event_route to
few seconds, so it is still available for handling the
BYE.</p>
<p>You should also set an auto-expire for the table
entries to the max dialog lifetime that you allow, as a
safety backup.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div>
<div class="h5"> <br>
<div class="m_-2003259144757570251moz-cite-prefix">On
22.01.18 13:59, Jean Cérien wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr"><br>
<div>Hello</div>
<div>Any suggestions ? still struggling with
this, </div>
<div><br>
</div>
<div>Rgds</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jan 19, 2018 at
3:09 PM, Jean Cérien <span dir="ltr"><<a
href="mailto:cerien.jean@gmail.com"
target="_blank" moz-do-not-send="true">cerien.jean@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"><br>
<div>Hello</div>
<div><br>
</div>
<div>I am following up on the improper sip
dialog that has been fixed by storing
contact details into a htable.</div>
<div><br>
</div>
<div>I am trying to delete the key at the
end of the call, so the table doesnt
grow exponentially.</div>
<div><br>
</div>
<div>I've added a event_route[dialog:end]
{} block, but I see it is processed
BEFORE the BYE is processed in the
request_route(). Therefore, when I
delete the data in the htable, I cant
relay this BYE correctly.</div>
<div><br>
</div>
<div>Is there another event (or technique)
I could use to purge the htable ? doing
from a cron on the cmd line is not so
nice, and can delete data still needed
for current calls</div>
<div><br>
</div>
<div>thanks</div>
<span class="m_-2003259144757570251HOEnZb"><font
color="#888888">
<div>J.</div>
<div><br>
</div>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset
class="m_-2003259144757570251mimeAttachmentHeader"></fieldset>
<br>
</div>
</div>
<pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_-2003259144757570251moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_-2003259144757570251moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
<span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<pre class="m_-2003259144757570251moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="m_-2003259144757570251moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_-2003259144757570251moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="m_-2003259144757570251moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_-2003259144757570251moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>