<div>hello, </div><div><br></div>You can match the "+" sign using: \+<div>then you can replace the + for 00, check this example: </div><div><a href="http://wiki.freeswitch.org/wiki/Dialplan_XML#Example_4:_Adding_a_prefix">http://wiki.freeswitch.org/wiki/Dialplan_XML#Example_4:_Adding_a_prefix</a><br>
<br></div><div>make sure you spend some time understanding regexes, it will help you a lot!</div><div><br></div><div>-milena</div><div><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 9:01 AM, bsd <span dir="ltr"><<a href="mailto:bsd@todoo.biz">bsd@todoo.biz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello folks,<br>
<br>
I am actually using a regexp such as ^(\d{7,15})$ to route call to one of my gateway.<br>
My SIP clients have all their number registered with number such as +33123456789<br>
<br>
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).<br>
<br>
<br>
Thanks.<br>
<br>
<br>
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ<br>
Gregober ---> PGP ID --> 0x1BA3C2FD<br>
bsd @at@ <a href="http://todoo.biz" target="_blank">todoo.biz</a><br>
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>