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

Anthony Messina amessina at messinet.com
Fri Sep 14 23:05:19 CDT 2007


On Friday 14 September 2007 04:12:48 pm Atis wrote:
> exten => _XXX*.,1,Goto(default-wildcard|${EXTEN}|1)
> exten => _XXXX*.,1,Goto(default-wildcard|${EXTEN}|1)
> exten => _XXXXX*.,1,Goto(default-wildcard|${EXTEN}|1)

excellent sir!  thank you! actually, since i'm using this for testing 
ISN/ITAD, which currently only has ITAD domains with 3 digits i used:

exten => _XXX*XXX,1,Macro(isn,${EXTEN})
exten => _XXXX*XXX,1,Macro(isn,${EXTEN})
exten => _XXXXX*XXX,1,Macro(isn,${EXTEN})

(i use the macro to set callerid, etc)

would _XXX*XXX be slower to match than _XXX*. since the . "ignores everything 
after it" as posted by another user?

again, thanks.  -a

-- 
Anthony -  http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070914/a37c088e/attachment.pgp 


More information about the asterisk-users mailing list