[OpenSIPS-Users] Local call

michel freiha michofr at gmail.com
Thu Jan 29 10:45:56 CET 2009


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 <ibc at aliax.net> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090129/59c00bd2/attachment.htm 


More information about the Users mailing list