[asterisk-users] Issue with (pattern) matching extension
Danny Nicholas
danny at debsinc.com
Thu Apr 29 08:43:23 CDT 2010
Good snippet, Leif. It's easier to read 100 threads on this forum than the
100 pages of the infamous "Asterisk Book" PDF.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Leif Madsen
Sent: Thursday, April 29, 2010 8:39 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Issue with (pattern) matching extension
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.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list