[asterisk-users] How to manipulate a plus in a phone number
    Tim Panton 
    tim at mexuar.com
       
    Tue Sep  5 04:23:24 MST 2006
    
    
  
On 5 Sep 2006, at 12:04, Doug Lytle wrote:
> Tim Panton wrote:
>> exten => 1,n,set(INNAT=${REGEX("^\+","${ATELNO}")})
>>
>
> Just a grab in the dark, have you tried using single quotes instead  
> of the double?
Sadly not, with :
exten => 1,n,set(INNAT=${REGEX('^\+','${ATELNO}')})
I get :
Sep  5 12:24:01 WARNING[23074]: func_strings.c:105  
builtin_function_regex: Malformed input REGEX(^+|+441234567890):  
Invalid preceding regular expression
>
> Doug
>
> -- 
> Ben Franklin quote:
>
> "Those who would give up Essential Liberty to purchase a little  
> Temporary Safety, deserve neither Liberty nor Safety."
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
Tim Panton
www.mexuar.com
    
    
More information about the asterisk-users
mailing list