[Asterisk-Users] pattern matching in dialplan problems matching _NNN

Peter Bowyer peeebeee at gmail.com
Sat Jan 7 08:37:31 MST 2006


On 07/01/06, Thomas <thmeier at gmail.com> wrote:
> Hi,
>
> I have a problem with pattern matching N what should digit 2 to 9
> in Asterisk 1.2.1.
>
> If I dial 220 I did not get an PlayBack of invalid. Asterisk jumps into the
> context dialout and find there an matching _2. and is using this.
>
> If I change _NNN to _XXX everything works fine. If I dial 220 I hear playtones
> invalid. It seemed to be that pattern matching with N is not working as
> designed.

220 isn't supposed to match _NNN - N is digits 2-9, not 0.

http://www.voip-info.org/wiki/index.php?page=Asterisk+Dialplan+Patterns

Peter

--
Peter Bowyer
Email: peter at bowyer.org
Tel: +44 1296 768003
VoIP: sip:peter at bowyer.org
VoIP: *5048707000 at sipbroker.com
FWD: **275*5048707000
VoipTalk: **473*5048707000



More information about the asterisk-users mailing list