app_queue: Fix Queuelog EXITWITHKEY only logging two of four fields
[asterisk/asterisk.git] / apps / app_queue.c
index e72997f..5e7730b 100644 (file)
@@ -7690,7 +7690,7 @@ stop:
                        }
                } else if (qe.valid_digits) {
                        ast_queue_log(args.queuename, ast_channel_uniqueid(chan), "NONE", "EXITWITHKEY",
-                               "%s|%d", qe.digits, qe.pos);
+                               "%s|%d|%d|%ld", qe.digits, qe.pos, qe.opos, (long) time(NULL) - qe.start);
                }
        }