okki
September 24, 2013, 8:35pm
1
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.
abw1oim
September 25, 2013, 9:21am
2
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.
okki
September 25, 2013, 10:01am
3
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.