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...
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
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
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.
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 => _.,1
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 functi