search for: start_dial_time

Displaying 1 result from an estimated 1 matches for "start_dial_time".

2010 Jul 23
2
application call to Gosub affects flow of control, and needs to be re-written using AEL
...// prepare callerid, secret, ... /// ... &qmoutqdial(${EXTEN:1},DAHDI/g1/${EXTEN:1},queue-out,Agent/${AgentNum}); } } context outboundQueue2 { .... } // outbound call logging for queuemetrics: macro qmoutqdial( 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; &am...