On 8/3/07, John Todd <[EMAIL PROTECTED]> wrote:
..snip..
> ; this is a normal context
> ;
> [blah]
> exten => _X.,1,NoOp(The dialstring is ${EXTEN})
>
>
>
> ; this is an extended regexp context, as noted by
> ; the "*_" prefix in the context name, and this
> ; context will run a lot slower than [blah] does
> ;
> [*_blah-plusplus]
> exten => ^*NANCY*,1,NoOp(The dialstring contains the string "NANCY")
>
>
>
> JT
>
JT,
I like this except... Why not just use regex- as a prefix (like macro-)?
[regex-blah-plusplus]
exten => ^*NANCY*,1,NoOp(The dialstring contains the string "NANCY")
Seems less confusing and easier to search for (speaking of grep).
--
Kristian Kielhofner
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev