[RESOLVED]Match on plus sign or digit doesn't work

For a certain extension I want to match the first character on either a number or a plus sign (+). So I thought this would work (using AEL):

But it doesn’t, when dialing it gives an invalid tone, and nothing happens. In fact, the only thing I see in the CLI is

== Using SIP RTP CoS mark 5

How do I do this? (Aside from making two extensions, one for the + symbol and one for the digit.)

I’m using Asterisk 11.5.1.


Don't mix Asterisk special pattern-matchcodes (X N Z) with specific chars in one match-position.

Don’t mix Asterisk special pattern-matchcodes (X N Z) with specific chars in one match-position.

Thanks so much. I guess that should work. Someone should add it to the wiki. For example here: wiki.asterisk.org/wiki/display/ … n+Matching
Because I couldn’t find this documented anywhere.

I made a comment there