<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Failure route does not help you if your routing does not start
at all - if do_routing() returns negative. Again, in request
route, test the return code for do_routing() - it will return a
negative code if no destination is available for routing.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit May 2017 Amsterdam
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
<div class="moz-cite-prefix">On 03/20/2017 02:28 PM, Denis wrote:<br>
</div>
<blockquote cite="mid:6200251490012896@web18g.yandex.ru" type="cite">
<div>Hello, Bogdan!</div>
<div> </div>
<div>Yes, i know about that.</div>
<div>In failure_route i have
<pre style="background-color:#ffffff;color:#000000;font-family:"Courier New";font-size:9,0pt;">if (($DLG_status == 1) && t_check_status("408"))</pre>
</div>
<div>action. And it works if i have multiple direction (using
alternative mode) for the prefix.</div>
<div>But when i use only one direction for the prefix i have the
problem described below.</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div>-- </div>
<div>С уважением, Денис.</div>
<div>Best regards, Denis</div>
<div> </div>
<div> </div>
<div> </div>
<div>20.03.2017, 15:24, "Bogdan-Andrei Iancu"
<a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a>:</div>
<blockquote type="cite">
<div bgcolor="#FFFFFF">Hi Denis,<br>
<br>
I suspect a scripting error on your side. If all the
destinations are disabled, the do_routing() returns a negative
code into the script - you need to handle this case and send
back whatever negative reply you want. The Drouting modules
does not do any SIP signalling for you.<br>
<br>
Best regards,
<pre>Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a>
OpenSIPS Summit May 2017 Amsterdam
<a moz-do-not-send="true" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
<div>On 03/17/2017 07:50 AM, Denis via Users wrote:</div>
<blockquote cite="mid:1304261489729842@web58g.yandex.ru"
type="cite">
<div>Hello!</div>
<div> </div>
<div>According to drouting module documentation i am trying
to introduce a probing feature to control destination SIP
UA access.</div>
<div>Almost everything works correct, besides one thing.</div>
<div>If i have only one destination, which became
inaccessible, Opensips "freezes" a call, i.e. it sends 100
trying (script logging) and after does not sent any code
(i expected, that Opensips will sent 408 code in such
situation after fr_timeout triggering).</div>
<div>Inaccessible destination has "probing" status and i see
OPTIONS sent by Opensis to destination.</div>
<div> </div>
<div>Server:: OpenSIPS (2.2.3 (x86_64/linux))</div>
<div> </div>
<div>Thank you for any help.</div>
<div> </div>
<div>-- </div>
<div>С уважением, Денис.</div>
<div>Best regards, Denis</div>
<div> </div>
<div> </div>
<div> </div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</blockquote>
</blockquote>
<br>
</body>
</html>