[asterisk-users] Can Asterisk match a literal "*" in extensions.conf

Anthony Francis anthonyf at rockynet.com
Fri Sep 14 11:51:02 CDT 2007


. matches any number of the preceding character, change it to _X.*X.

Anthony Messina wrote:
> I am working on getting freenum.org ISN/ITAD numbers integrated into my 
> exiting dialplan however I am having trouble getting the extension matches to 
> work "as expected."
>
> I would like to be able to do something like:
> exten => _X.*.,1,Macro(isn-outbound...)
>
> Where I would expect that any extension that starts with at least one number, 
> but includes a literal "*" followed by 1 or more numbers would match.
>
> This is not the case, and it matches any extension that starts with a number.
>
> Thank you in advance for your assistance.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
>
> Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 
>
> --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

-- 
Thank you and have a wonderful day,

Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
voip at rockynet.com




More information about the asterisk-users mailing list