[asterisk-users] catch-all extension in context

2012-10-12 Thread Vieri
Hi, Suppose I have the following in my AEL dialplan: context incoming-1 { _. = { Set(GROUP()=1); goto incoming|${EXTEN}|1; } }; context incoming-2 { _. = { Set(GROUP()=2); goto incoming|${EXTEN}|1; } }; context incoming { fax = { Do stuff for incoming fax...

[Asterisk-Users] Catch all extension

2006-01-14 Thread kleis-asterisk-dev
Hi all, What do you think about having a single extension in the dialplan that matches everything and then delegates the next action to an external application through AGI? I mean something like this: exten = _.,1,AGI,catchall.agi,${EXTEN} Then, catchall.agi could EXEC dialplan macros in

Re: [Asterisk-Users] Catch all extension

2006-01-14 Thread Rehan AllahWala
exten = _X.,1,AGI,catchall.agi,${EXTEN} should do it for u Hi all, What do you think about having a single extension in the dialplan that matches everything and then delegates the next action to an external application through AGI? I mean something like this: exten =

[Asterisk-Users] Catch all extension

2006-01-14 Thread Alex
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,

Re: [Asterisk-Users] Catch all extension

2006-01-14 Thread Matt Riddell (IT)
Alex wrote: 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

Re: [Asterisk-Users] Catch all extension

2006-01-14 Thread Matt Riddell (IT)
Alex wrote: 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