<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hi Daniel,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">It locks and stays locked. It is interesting that for a while ( 1-2 minutes while I am sending some traffic ) it can reply to REGISTER with a 200 OK ,  but it does not reply `100 Trying` to INVITE . Then nothing, no reply. </div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "> </div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="color: rgb(0, 0, 0);
 font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">gdb output here:</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><a href="http://pastebin.com/Kg3hwzZT">http://pastebin.com/Kg3hwzZT</a></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><a href="http://pastebin.com/Kg3hwzZT"></a>Regards, </div><div>Dragos</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px;
 font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><br></div>  <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Daniel-Constantin Mierla <miconda@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Dragos Oancea <droancea@yahoo.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, April 30, 2013 6:26 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] dlg_end_dlg<br> </font> </div> <div class="y_msg_container"><br><div id="yiv8291966634">
  

    
  
  <div>
    Hello,<br>
    <br>
    does it block for few seconds and then goes on, or it locks after
    few seconds and stays locked?<br>
    <br>
    If the second, attach with gdb to the pid of the locked process and
    get the backtrace.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="yiv8291966634moz-cite-prefix">On 4/30/13 6:19 PM, Dragos Oancea
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: arial, helvetica, sans-serif; ">
        <div>
          <div>Hi everyone,</div>
          <div><br>
          </div>
          <div>I believe I've run into a problem when using dlg_end_dlg
            (with mi_datagram ) called from an external perl script with
            perl_exec() .<br>
          </div>
          <div>Kamailio just locks after a while (few seconds) after
            disconnecting a call.</div>
          <div>Some parts of my debug log can be found here:</div>
          <div><a rel="nofollow" class="yiv8291966634moz-txt-link-freetext" target="_blank" href="http://pastebin.com/ANaTEifC">http://pastebin.com/ANaTEifC</a></div>
          <div><br>
          </div>
          <div>The problem was observed while performing a stress test.</div>
          <div>Is it a good idea to call dlg_end_dlg() like that or I
            can kill an established dialog from the routing script in
            some other way ? </div>
          <div style="color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: arial, helvetica, sans-serif; "><br>
          </div>
          <div style="color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: arial, helvetica, sans-serif; ">Regards,</div>
          <div>Dragos</div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="yiv8291966634mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a rel="nofollow" class="yiv8291966634moz-txt-link-abbreviated" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a rel="nofollow" class="yiv8291966634moz-txt-link-freetext" target="_blank" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="yiv8291966634moz-signature">-- 
Daniel-Constantin Mierla - <a rel="nofollow" class="yiv8291966634moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
<a rel="nofollow" class="yiv8291966634moz-txt-link-freetext" target="_blank" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a rel="nofollow" class="yiv8291966634moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
  * <a rel="nofollow" class="yiv8291966634moz-txt-link-freetext" target="_blank" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *</pre>
  </div>

</div><br><br></div> </div> </div>  </div></body></html>