Displaying 1 result from an estimated 1 matches for "end_dial_tim".
Did you mean:
end_dial_time
2010 Jul 23
2
application call to Gosub affects flow of control, and needs to be re-written using AEL
...( clid, dialstring, queue, agent )
{
start_dial_time = ${EPOCH};
QueueLog(${queue},${UNIQUEID},${agent},CALLOUTBOUND,-|${clid});
Set(dialopts=gWKU(queuelog_connect_event^${queue}^${UNIQUEID}^${agent}^${start_dial_time}));
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; }
....
// le...