Hi Razvan,<div><br></div><div>I mean dialog not deleted from memory and they are at state 5. This happens only for calls where, destination not responding for Register and Invite requests. And they are not deleted from memory.</div><div><br></div><div>I guess i am missing some timer related configuration. <span></span><br><br>On Friday, 27 March 2015, Răzvan Crainea &lt;<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, John!<br>
      <br>
      What do you mean the dialog is hanging in state 5? The dialog is
      never deleted from DB/memory?<br>
      <br>
      The dialog starts when the call is completed (the 200 OK is sent),
      so you can&#39;t &quot;move a dialog&quot; in failure route.<br>
      What you can do is to handle the Request failure in failure_route
      and route it somewhere else, or drop it and the dialog is closed.
      To handle a request in failure_route, you have to engage it before
      sending the first request out, using:<br>
      <br>
      t_on_failure(&quot;handle_fails&quot;);<br>
      ...<br>
      <br>
      <br>
      failure_route[handle_fails] {<br>
          ...<br>
          # handle the failed call<br>
          ...<br>
      }<br>
      <br>
      Best regards,<br>
    </tt>
    <pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
    <div>On 03/26/2015 03:55 PM, John Mathew
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hi,<br>
                <br>
              </div>
              Dialog state is hanging at &quot;state 5&quot; when there is no
              response from the destination.<br>
            </div>
            <br>
            What config we need to add to get the dialog moved to
            failure_route if, opensips is not receiving any response
            from destination for any request sent out.?<br>
            <br>
          </div>
          Or <br>
          <br>
          <br>
        </div>
        <div>How can we drop the dialog instead of moving to
          failure_route? <br>
        </div>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div><br>
                      -- <br>
                      <div>
                        <div dir="ltr">
                          <div><span style="color:rgb(102,102,102)"><br>
                              Regards,</span></div>
                          <div><span style="color:rgb(102,102,102)">John
                              Mathew</span></div>
                          <div><span style="color:rgb(102,102,102)">CEO/Director</span><br>
                            <span style="color:rgb(255,102,0)">Divox</span>
                            <span style="color:rgb(102,102,102)">International
                              Inc.</span><br>
                            <font color="#666666">Contact:
                              +91-9037100001<br>
                              Email/MSN: <a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;John.Mathew@divoxmedia.com&#39;);" target="_blank">John.Mathew@divoxmedia.com</a><br>
                              WEB: <a href="http://www.divoxmedia.com/" target="_blank">www.divoxmedia.com</a><br>
                            </font><span style="color:rgb(102,102,102)"></span><br>
                          </div>
                          <div><font color="#666666"><span></span><span></span></font><br style="color:rgb(255,153,0)">
                            <font style="color:rgb(255,153,0)" size="6"><br>
                            </font></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;Users@lists.opensips.org&#39;);" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br><br>-- <br>Sent from iPhone 6<br>