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

Tim Panton tim at mexuar.com
Tue Sep 5 06:07:26 MST 2006


On 5 Sep 2006, at 13:21, Stefan Tichy wrote:

> 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})})
>
>

That worked, Thanks!

Tim.

Tim Panton

www.mexuar.com






More information about the asterisk-users mailing list