[asterisk-dev] Attended transfers in queue_log
Tim Ringenbach
tim.ringenbach at gmail.com
Fri Jun 13 11:25:38 CDT 2008
I would vote for merging into 1.4 too. Currently we're using this more
hackish patch with 1.4:
--- app_queue.c
+++ app_queue.c
@@ -3070,7 +3070,7 @@
bridge = ast_bridge_call(qe->chan,peer, &bridge_config);
- if (strcasecmp(oldcontext, qe->chan->context) ||
strcasecmp(oldexten, qe->chan->exten)) {
+ if (strcasecmp(oldcontext, qe->chan->context) ||
strcasecmp(oldexten, qe->chan->exten) || (strncmp("Transfered/",
qe->chan->name, strlen("Transfered/")) == 0)) {
ast_queue_log(queuename, qe->chan->uniqueid, member->membername,
"TRANSFER", "%s|%s|%ld|%ld",
qe->chan->exten, qe->chan->context, (long) (callstart - qe->start),
(long) (time(NULL) - callstart));
More information about the asterisk-dev
mailing list