[asterisk-users] Re: How to manipulate a plus in a phone number

Stefan Tichy asterisk at pi4tel.de
Tue Sep 5 05:21:45 MST 2006


On Tue, Sep 05, 2006 at 11:21:43AM +0100, Tim Panton wrote:
> exten => 1,n,set(INNAT=${REGEX("^\+","${ATELNO}")})

exten => 1,n,Set(PLUS=\\+)
exten => 1,n,set(INNAT=${REGEX("^${PLUS}" ${ATELNO})})


If it is an extension, this should work too

exten => _+.,1,Goto(011${EXTEN:1},1)


-- 
Stefan Tichy   <asterisk at pi4tel.de>



More information about the asterisk-users mailing list