mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-26 00:41:05 +00:00
Merge "app_queue: Fix returning to dialplan when a queue is empty"
This commit is contained in:
@@ -8301,6 +8301,9 @@ stop:
|
||||
} else if (qcontinue) {
|
||||
reason = QUEUE_CONTINUE;
|
||||
res = 0;
|
||||
} else if (reason == QUEUE_LEAVEEMPTY) {
|
||||
/* Return back to dialplan, don't hang up */
|
||||
res = 0;
|
||||
}
|
||||
} else if (qe.valid_digits) {
|
||||
ast_queue_log(args.queuename, ast_channel_uniqueid(chan), "NONE", "EXITWITHKEY",
|
||||
|
||||
Reference in New Issue
Block a user