[asterisk-users] catch-all extension in context

Vieri rentorbuy at yahoo.com
Fri Oct 12 19:02:29 CDT 2012


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...
    }
  _. => {
    Do stuff for incoming voice call...
    }
};

faxdetection is activated.

I'm expecting 'incoming-1' and 'incoming-2' to goto 'incoming' EVEN if Asterisk detects the call as being a fax BEFORE going to 'incoming'.
Is that correct? (ie. _. also matches 'fax')

Thanks,

Vieri




More information about the asterisk-users mailing list