Displaying 1 result from an estimated 1 matches for "pstninterface1".
Did you mean:
pstninterface2
2010 Jul 23
2
application call to Gosub affects flow of control, and needs to be re-written using AEL
...TECALLER;
&queuelog_hangup_event(${queue},${UNIQUEID},${agent},${start_dial_time});
return;
}
// central call routing rules
context pstnRouting {
_06XXXXXXXX => { Gosub(pstnInterface2,${EXTEN},1); Return; }
....
// left over
_X. => { Gosub(pstnInterface1,${EXTEN},1); Return; }
}
context pstnInterface1 {
_X. => {
// setup the interface callerid/secret status
ChanIsAvail(DAHDI/g1);
if( ! ${ISNULL(${AVAILORIGCHAN})} ) {
Dial(DAHDI/g1/${ext},,${dialopts});...