<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Do the dialogs </tt><tt>get stuc</tt><tt>k</tt><tt> in state 5
and they are never deleted?</tt><tt><br>
</tt><tt>By default, when a negative reply is received and there is
no failure route armed to handle it, the transaction/dialog is
destroyed and the reply is sent back to the client.</tt><tt><br>
</tt><tt><br>
</tt><tt>Can you please be a bit more specific about what is
happening with your call, and what would you like to happend?</tt><tt><br>
</tt><tt><br>
</tt><tt>Best regards,</tt><br>
<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/29/2015 09:19 AM, John Mathew
wrote:<br>
</div>
<blockquote
cite="mid:CA+SkwpWspue9fYhgT778WkvSbBuCJL2V=NYx6DtvvSV0N5-E-w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Guys,<br>
<br>
</div>
Waiting for your response. Any help will be appreciated. <br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 27, 2015 at 8:36 PM, John
Mathew <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:john.mathew@divoxmedia.com" target="_blank">john.mathew@divoxmedia.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">
<div>Hi,<br>
</div>
<div><br>
</div>
Normally how do we handle the situation, when we do not
receive any response from destination for any request?<br>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 27, 2015 at 2:10
PM, John Mathew <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:john.mathew@divoxmedia.com"
target="_blank">john.mathew@divoxmedia.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">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.
<div>
<div><span></span><br>
<br>
On Friday, 27 March 2015, Răzvan Crainea
<<a moz-do-not-send="true"
href="mailto:razvan@opensips.org"
target="_blank">razvan@opensips.org</a>>
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'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 cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" 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
"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>
<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">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></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
</div>
</div>
<span><font color="#888888"><br>
<br>
-- <br>
Sent from iPhone 6<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<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 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>
</blockquote>
</div>
<br>
<br clear="all">
<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>
<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>