<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body 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't "move a dialog" 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("handle_fails");<br>
...<br>
<br>
<br>
failure_route[handle_fails] {<br>
...<br>
# handle the failed call<br>
...<br>
}<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 03/26/2015 03:55 PM, John Mathew
wrote:<br>
</div>
<blockquote
cite="mid:CA+SkwpUury=G-qfsVzFQvaVAWL2LnODajYNr6fP9RR851i4Sgg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
Dialog state is hanging at "state 5" 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 class="gmail_signature">
<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 moz-do-not-send="true"
href="mailto:John.Mathew@divoxmedia.com"
target="_blank">John.Mathew@divoxmedia.com</a><br>
WEB: <a moz-do-not-send="true"
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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>