On Apr 15, 2005, at 6:37 AM, Andrew Kohlsmith wrote:

On April 14, 2005 03:07 pm, Brian West wrote:
I disagree; This bounty's created some VERY GOOD discussion, and I
would love
to see some real-life useful examples of using _. to capture special
extensions.

[contexta] include => catchall

exten => _NXXNXX,1,Dial(blah)

exten => h,1,Hangup

[catchall]
exten => _.,1,Playback(yousuck)

exten => i,1,Playback(yousuck)

Hardly "NEXT!!!", as the 'i' extension is *designed* for this.


i, doesn't let you catch the true ${EXTEN} that they tried to dial now does it. ${EXTEN} would = i which is NOT WHAT YOU WANT.


NEXT!!!

/b

_______________________________________________
Asterisk-Dev mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to