Displaying 1 result from an estimated 1 matches for "pstninterface2".
Did you mean:
pstninterface1
2010 Jul 23
2
application call to Gosub affects flow of control, and needs to be re-written using AEL
...e}));
Gosub(pstnRouting,${clid},1);
end_dial_time = ${EPOCH};
verb = COMPLETECALLER;
&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(...