[asterisk-users] Issue with (pattern) matching extension
Leif Madsen
leif.madsen at asteriskdocs.org
Thu Apr 29 08:38:52 CDT 2010
Jim Dickenson wrote:
> I banged my head with a like problem a few days ago.
>
>>> exten => _fn-.,1,NoOp(ISN: ${DIALSTATUS})
>
> n does not mean the letter n in a pattern it has a special meaning!
Right! Be very careful about what you're matching! When it comes to matching
things like 'N', 'X', 'Z', etc... the case does not matter!
exten => _f[n]-.,1,NoOp(...)
That'll fix you up.
Leif.
More information about the asterisk-users
mailing list