|
|
@ -2728,8 +2728,8 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
|
|
|
|
qe->chan->exten, qe->chan->context, (long) (callstart - qe->start),
|
|
|
|
qe->chan->exten, qe->chan->context, (long) (callstart - qe->start),
|
|
|
|
(long) (time(NULL) - callstart));
|
|
|
|
(long) (time(NULL) - callstart));
|
|
|
|
} else if (qe->chan->_softhangup) {
|
|
|
|
} else if (qe->chan->_softhangup) {
|
|
|
|
ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "COMPLETECALLER", "%ld|%ld",
|
|
|
|
ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "COMPLETECALLER", "%ld|%ld|%d",
|
|
|
|
(long) (callstart - qe->start), (long) (time(NULL) - callstart));
|
|
|
|
(long) (callstart - qe->start), (long) (time(NULL) - callstart), qe->opos);
|
|
|
|
if (qe->parent->eventwhencalled)
|
|
|
|
if (qe->parent->eventwhencalled)
|
|
|
|
manager_event(EVENT_FLAG_AGENT, "AgentComplete",
|
|
|
|
manager_event(EVENT_FLAG_AGENT, "AgentComplete",
|
|
|
|
"Queue: %s\r\n"
|
|
|
|
"Queue: %s\r\n"
|
|
|
@ -2745,8 +2745,8 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
|
|
|
|
(long)(callstart - qe->start), (long)(time(NULL) - callstart),
|
|
|
|
(long)(callstart - qe->start), (long)(time(NULL) - callstart),
|
|
|
|
qe->parent->eventwhencalled == QUEUE_EVENT_VARIABLES ? vars2manager(qe->chan, vars, sizeof(vars)) : "");
|
|
|
|
qe->parent->eventwhencalled == QUEUE_EVENT_VARIABLES ? vars2manager(qe->chan, vars, sizeof(vars)) : "");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "COMPLETEAGENT", "%ld|%ld",
|
|
|
|
ast_queue_log(queuename, qe->chan->uniqueid, member->membername, "COMPLETEAGENT", "%ld|%ld|%d",
|
|
|
|
(long) (callstart - qe->start), (long) (time(NULL) - callstart));
|
|
|
|
(long) (callstart - qe->start), (long) (time(NULL) - callstart), qe->opos);
|
|
|
|
if (qe->parent->eventwhencalled)
|
|
|
|
if (qe->parent->eventwhencalled)
|
|
|
|
manager_event(EVENT_FLAG_AGENT, "AgentComplete",
|
|
|
|
manager_event(EVENT_FLAG_AGENT, "AgentComplete",
|
|
|
|
"Queue: %s\r\n"
|
|
|
|
"Queue: %s\r\n"
|
|
|
|