diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-08-20 22:13:26 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-08-20 22:13:26 +0000 |
commit | 1b08c27c1a1434b4e107d1405a68aa048c34b93e (patch) | |
tree | c91d07fd0bb5551a44dac1488df5e2b95941831b /apps/app_queue.c | |
parent | b8e571fb440fd152089f3748d613c6b89cd7bb54 (diff) |
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
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index cc1fc1893..beece4dff 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: |