hello, 

You can match the "+" sign using: \+
then you can replace the + for 00, check this example: 
http://wiki.freeswitch.org/wiki/Dialplan_XML#Example_4:_Adding_a_prefix

make sure you spend some time understanding regexes, it will help you a lot!

-milena

On Tue, Sep 21, 2010 at 9:01 AM, bsd <bsd@todoo.biz> wrote:
Hello folks,

I am actually using a regexp such as ^(\d{7,15})$ to route call to one of my gateway.
My SIP clients have all their number registered with number such as +33123456789

Is there a way to treat the "+" and transform It in "00" at the level of FreeSwitch (I can do that at the client level, but you'll understand that It is easier to do on the server side).


Thanks.


ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org