Index: apps/app_queue.c =================================================================== --- apps/app_queue.c (revision 195362) +++ apps/app_queue.c (working copy) @@ -5217,8 +5217,8 @@ 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: