Index: apps/app_queue.c =================================================================== --- apps/app_queue.c (revision 195364) +++ apps/app_queue.c (working copy) @@ -4008,8 +4008,8 @@ if (!join_queue(args.queuename, &qe, &reason)) { int makeannouncement = 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); check_turns: if (ringing) { ast_indicate(chan, AST_CONTROL_RINGING);