[asterisk-users] Matching "+" characters in dial plan

Paul Hales pdhales at optusnet.com.au
Wed Feb 6 18:49:18 CST 2008


I made up some dialplan rules to strip the '+' and replace with the
00...

Something like:

exten => _+XX.,1,Dial(zap/g1/00${EXTEN:1})

PaulH


On Thu, 2008-02-07 at 00:18 +0000, Ed W wrote:
> Can someone please explain how to match a + character in a dial plan (so 
> that I can swap it for the "00" country escape code).
> 
> In Europe at least the + is a common shortcut for the international 
> prefix (which is "00" in my country).  However, my trunk chokes on the + 
> character and all my speed-dials are setup with a + at the start of 
> them... Trying to fix the phone rather than the addressbook...
> 
> Thanks
> 
> Ed W
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list