Dan Austin
2006-Jan-06 11:33 UTC
[Asterisk-Users] Alphanumeric pattern match in extensions.conf
I need to match an incoming call based on a prefixed string, and this solution was suggested to me some time back. exten => _conf.,1,Answer exten => _conf.,2,MeetMe(${EXTEN:4}|d) exten => _conf.,3,Hangup However incoming calls never match this pattern, and I cannot find any evidence in the wiki or on google that such a pattern is valid. I'm currently running a SVN trunk, but have tested with 1.0.X and 1.2.X. Is anyone using alphanumeric patterns in their dialplan? Dan
Sergey Okhapkin
2006-Jan-06 11:37 UTC
[Asterisk-Users] Alphanumeric pattern match in extensions.conf
The match doesn't work because "n" in "conf" will never match to the letter "n" (it's a pattern for a digit). try _co[n]f. instead. On Fri, 2006-01-06 at 10:33 -0800, Dan Austin wrote:> I need to match an incoming call based on a prefixed string, and this > solution was suggested to me some time back. > > exten => _conf.,1,Answer > exten => _conf.,2,MeetMe(${EXTEN:4}|d) > exten => _conf.,3,Hangup > > However incoming calls never match this pattern, and I cannot > find any evidence in the wiki or on google that such a pattern > is valid. I'm currently running a SVN trunk, but have tested > with 1.0.X and 1.2.X. > > Is anyone using alphanumeric patterns in their dialplan? > > Dan > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Possibly Parallel Threads
- Caller-ID for alphanumeric SIP uris
- Read in alphanumeric column without decimals
- naming of columns in R dataframe consisting of mixed data (alphanumeric and numeric)
- Match one OR two digit extension not working as expected without using "dangerous" _. pattern (Ast 14)
- Replacing of non-alphanumeric chars in Name can be confusing