<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body 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>
    <br>
    <div class="moz-cite-prefix">On 22.01.18 13:59, Jean Cérien wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAL_ph0JmJOMegU_ctOxS0rzY_33iKdNp35Y0aLQZFhZQ5scGVw@mail.gmail.com">
      <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="HOEnZb"><font color="#888888">
                    <div>J.</div>
                    <div><br>
                    </div>
                  </font></span></div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </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>