exten => _X.,1,AGI,catchall.agi,${EXTEN}

should do it for u


Hi,

since I also have some "applications" that starts with "*", like

[app-clir]
exten => _*67.,1,SetCallerPres(prohib)
exten => _*67.,2,Goto(${EXTEN:3},1)

I thought I could use "_." instead of "_X.", that would match only numbers.
However, what do you think about this single extension replacing the *whole* 
dialplan?
I mean that

exten => 200,1,Dial(SIP/200)
exten => 300,1,Dial(IAX/300)
exten => _0.,1,Macro(dialout,${EXTEN})

and so on would be replaced by that single extension, and then the script will 
do the rest.

Thanks,

Alex


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

Reply via email to