[Asterisk-Users] Alphanumeric pattern match in extensions.conf

2006-01-06 Thread Dan Austin
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


Re: [Asterisk-Users] Alphanumeric pattern match in extensions.conf

2006-01-06 Thread Sergey Okhapkin
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
 

___
--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