From 1b08c27c1a1434b4e107d1405a68aa048c34b93e Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 20 Aug 2009 22:13:26 +0000 Subject: [PATCH] Add original position, when logging a caller entering a queue. (closes issue #15146) Reported by: arabe Patches: asterisk-trunk.patch uploaded by arabe (license 786) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213414 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index cc1fc18937..beece4dff4 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -5388,8 +5388,8 @@ static int queue_exec(struct ast_channel *chan, const char *data) set_queue_result(chan, reason); return 0; } - ast_queue_log(args.queuename, chan->uniqueid, "NONE", "ENTERQUEUE", "%s|%s", S_OR(args.url, ""), - S_OR(chan->cid.cid_num, "")); + ast_queue_log(args.queuename, chan->uniqueid, "NONE", "ENTERQUEUE", "%s|%s|%d", S_OR(args.url, ""), + S_OR(chan->cid.cid_num, ""), qe.opos); copy_rules(&qe, args.rule); qe.pr = AST_LIST_FIRST(&qe.qe_rules); check_turns: