<div dir="ltr"><div><div><div><div><div>Hi Razvan,<br><br></div>Thanks for your reply.<br><br></div>Apologize for asking in another thread.<br></div><div>It doesnot solve by putting t_on_failure("missed_call");<br></div>I will continue on the initial thread with the outcome.<br><br></div>Regards,<br></div>Ravi Patel<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 29, 2017 at 1:08 PM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<tt>Hi, Ravi!<br>
<br>
I think Bogdan already responded you in this thread related to
your problem[1]. This doesn't seem a bug it's just that you need
to arm failure route inside failure_route for sequential
failovers. Simply add t_on_failure("missed_call") before
t_relay().<br>
<br>
For further discussions, please reply to the initial thread, to
avoid poluting the release one.<br>
<br>
[1]
<a class="m_7695535352473445243moz-txt-link-freetext" href="http://lists.opensips.org/pipermail/users/2017-July/037813.html" target="_blank">http://lists.opensips.org/<wbr>pipermail/users/2017-July/<wbr>037813.html</a><br>
<br>
Best regards,<br>
</tt>
<pre class="m_7695535352473445243moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="m_7695535352473445243moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre><div><div class="h5">
<div class="m_7695535352473445243moz-cite-prefix">On 08/29/2017 09:26 AM, Ravi Patel
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi Team,<br>
</div>
I would like to add this issue to be taken care.<br>
<div><br>
I am facing issue with the Call Forwarding.<br>
I tried with the basic default config file of OpenSIPS.<br>
<br>
What I want to achieve is multi level forwarding.<br>
For EX: 1111 --> 2222(forward on NOANSWER) -->
3333(Forward on NOANSWER) --> 4444<br>
<br>
Please find the below failure_route<br>
failure_route[missed_call] {<br>
if (t_was_cancelled()) {<br>
exit;<br>
}<br>
<br>
if($rU == "2222") <br>
{<br>
$ru = <a class="m_7695535352473445243moz-txt-link-rfc2396E" href="mailto:sip:3333@XXX.XXX.XXX.XXX" target="_blank">"sip:3333@XXX.XXX.XXX.XXX"</a>; # It will
dial 3333 when 2222 fails<br>
}<br>
else<br>
{<br>
$ru = <a class="m_7695535352473445243moz-txt-link-rfc2396E" href="mailto:sip:4444@XXX.XXX.XXX.XXX" target="_blank">"sip:4444@XXX.XXX.XXX.XXX"</a>; # It will
dial 4444 when 3333 fails<br>
}<br>
t_relay();<br>
}<br>
<br>
<br>
So, Here 1111 --calls--> 2222 --Forward on no answer -->
3333 --Forward on no answer --> 4444.<br>
default timeout is 30 secs.<br>
<br>
1111 to 2222: NOANSWER at 30 sec forwarded to 3333<br>
to 3333: NOANSWER at 30 sec forwarded to 4444<br>
to 4444: immidiately CANCEL the request, does not wait for
timeout.<br>
<br>
At SIP client I found a quick miss call only,Here Timeout
fails.<br>
<br>
Is this the default behaviour of OpenSIPS??<br>
or Do I need to modify something in config to achieve 2nd
level forwarding?<br>
I have tested it with OpenSIPS 2.2.3 and 2.3.0<br>
<br>
Please Guide.<br>
<br>
<br>
Thanks,<br>
Ravi Patel</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Aug 28, 2017 at 8:10 PM, Liviu
Chircu <span dir="ltr"><<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
An OpenSIPS 2.3 minor release bump has been scheduled for
Thursday, Aug 31st. If you happen to have any GitHub
OpenSIPS issues or mailing list bug threads that have not
been answered yet, please let us know as soon as possible so
they make it onto the fix checklist.<br>
<br>
Best regards,<span class="m_7695535352473445243HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Liviu Chircu<br>
OpenSIPS Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.<wbr>com</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
<fieldset class="m_7695535352473445243mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
Users mailing list
<a class="m_7695535352473445243moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_7695535352473445243moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>