<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><p class="MsoNormal" style="margin-bottom:0.0001pt"><span style="font-family:'Trebuchet MS',sans-serif">Hi Nick, </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span style="font-family:'Trebuchet MS',sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span style="font-family:'Trebuchet MS',sans-serif">Could you please help us to find out
any sample "complete configuration" file so that we can once test it</span><span style="font-family:Arial,sans-serif"></span><span style="font-family:'Trebuchet MS',sans-serif">, as we don't have much idea about that use_next_gw
funcion</span><span style="font-family:Arial,sans-serif"></span><span style="font-family:'Trebuchet MS',sans-serif"> how it works with routing module</span><span style="font-family:Arial,sans-serif"></span><span style="font-family:'Trebuchet MS',sans-serif">? Or may be you have a sample config file we can see. </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span style="font-family:'Trebuchet MS',sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span style="font-family:'Trebuchet MS',sans-serif">As we are trying to implement priority
and prefix based routing in our opensips server. </span></p><p class="MsoNormal" style="margin-bottom:0.0001pt"><span style="font-family:'Trebuchet MS',sans-serif"><br></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt">Any assistance will be appreciated. </p></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="font-family:georgia,serif"><font color="#888888"><div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif"><div><font face="garamond, serif">--<br>Best Regards +<br><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;display:inline">Anup </div>
<br></font><font face="garamond, serif"><br>________________________<br></font><div><font face="garamond, serif">AMPtel PTY LTD, ( RuvixTel )</font></div><div><font face="garamond, serif"><font color="#222222">ABN: <a href="http://abr.business.gov.au/SearchByAbn.aspx?SearchText=77+162+081+905" target="_blank">77 162 081 905</a></font></font></div>
<div><font face="garamond, serif"><font color="#222222">Ph: </font></font><a value="+8801973299588" style="font-family:garamond,serif;color:rgb(17,85,204)">+61 413 777 075 </a><span style="font-family:garamond,serif">(Anup)</span></div>
<div><span style="font-family:garamond,serif">Ph: +61 433 232 177 (Piyali)</span><br></div></div><div><font face="garamond, serif">E-mail: <a href="mailto:info@ruvixtel.net" target="_blank">info@ruvixtel.net</a></font></div>
<div><font face="garamond, serif"><br></font></div><div><font face="garamond, serif"><img src="http://thedaneshproject.com/wp-content/uploads/2010/04/Green_footers_8.gif"></font></div></div></div>
</font>
</span></div></div>
<br><br><div class="gmail_quote">On 18 March 2014 22:20, Nick Cameo <span dir="ltr"><<a href="mailto:symack@gmail.com" target="_blank">symack@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
My name is not Bogdan, and there are others on here that are just as<br>
helpful when<br>
he is swamped with work, as you would imagine a project leader to be<br>
at times. Could<br>
kindly post the snippets related to r_relay in your default route, and<br>
also the related<br>
snippet in your failure route. It should looks something like this:<br>
<br>
route[1] {<br>
if (is_method("INVITE")) {<br>
xlog("L_INFO","Start Call Route: From=$fu, To=$tu,<br>
RU=$ru, CI=$ci at IP=$si\n");<br>
t_on_reply("1");<br>
t_on_branch("1");<br>
t_on_failure("1");<br>
<br>
<br>
}<br>
else if (is_method("BYE|CANCEL")) {<br>
xlog("L_INFO","Unforing RTP Proxy From: $fu To: $tu IP: $si\n");<br>
unforce_rtp_proxy();<br>
}<br>
<br>
if (!t_relay()) {<br>
sl_reply_error();<br>
}<br>
<br>
exit;<br>
}<br>
<br>
<br>
failure_route[1] {<br>
if (t_was_cancelled()) {<br>
exit;<br>
}<br>
<br>
if (use_next_gw()) {<br>
xlog("L_INFO","Next Gateway: From=$fu, To=$tu,<br>
RU=$ru, CI=$ci IP=$si\n");<br>
t_on_failure("1");<br>
route(1);<br>
exit;<br>
}<br>
else {<br>
t_reply("503", "Service not available, no more gws");<br>
exit;<br>
}<br>
<br>
<br>
<br>
<br>
Nick from Toronto.<br>
</blockquote></div><br></div></div>