Dear Sir, What i need is the following:
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... Please lt me know how this could be done because i tried a lot of ways and all these ways failed with me Regards On Thu, Jan 29, 2009 at 11:39 AM, Iñaki Baz Castillo <[email protected]> wrote: > El Jueves, 29 de Enero de 2009, michel freiha escribió: > > Dear Sir, > > > > Let's forget the alphanumeric extension name...I troed to dial an > extension > > where the username is 123456 and I got the same issue...The system ente > in > > a loop > > 123456 doesn't match your if stament: > > if($rU =~ "^111" || $rU =~ "^011.*" || $rU =~ "^00.*" || $rU =~ "^[+].*" ) > > > -- > Iñaki Baz Castillo > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
