<div dir="ltr">Dear Sir,<br><br>What i need is the following:<br><br>The customer will a number, if his number begins with 00 or 011 or 111 or +, the system will use carrierroute table and forward the call to the GW registered on the database...Else, the call will be considered as Local call and...<br>
<br>Please lt me know how this could be done because i tried a lot of ways and all these ways failed with me<br><br>Regards<br><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 11:39 AM, Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">El Jueves, 29 de Enero de 2009, michel freiha escribió:<br>
<div class="Ih2E3d">> Dear Sir,<br>
><br>
> Let's forget the alphanumeric extension name...I troed to dial an extension<br>
> where the username is 123456 and I got the same issue...The system ente in<br>
> a loop<br>
<br>
</div>123456 doesn't match your if stament:<br>
<div class="Ih2E3d"><br>
if($rU =~ "^111" || $rU =~ "^011.*" || $rU =~ "^00.*" || $rU =~ "^[+].*" )<br>
<br>
<br>
</div>--<br>
<font color="#888888">Iñaki Baz Castillo<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>