Ivan Poddubny
2c43ca0ac5
app_queue: Fix returning to dialplan when a queue is empty
...
The fix for ASTERISK-25665 introduced a regression.
The return value of queue_exec used to be 0 in case of leavewhenempty
but it was changed to -1 (returned from wait_our_turn and passed
transparently by queue_exec), thus leading to hangup instead of returning
back to dialplan.
This commit resets the value back to 0 in this case, restoring
original behavior.
ASTERISK-27065 #close
Reported by: Marek Cervenka
Change-Id: Id9c83b75aeda463250155e88c5004be52bbca5ac
2017-06-29 09:51:50 -05:00
..
2017-05-04 19:09:33 -06:00
2017-04-12 16:46:22 -05:00
2017-04-12 16:46:22 -05:00
2017-04-12 16:46:22 -05:00
2015-12-21 16:03:42 -08:00
2017-04-12 16:46:22 -05:00
2014-07-25 10:54:49 +00:00
2017-04-12 16:46:22 -05:00
2014-07-25 16:47:17 +00:00
2015-11-06 16:46:21 -05:00
2013-05-21 18:00:22 +00:00
2017-05-16 14:25:01 +00:00
2017-05-23 14:16:11 +02:00
2013-01-22 15:16:20 +00:00
2017-04-12 16:46:22 -05:00
2013-02-14 03:49:52 +00:00
2017-05-16 14:25:01 +00:00
2015-07-15 10:34:21 -05:00
2013-11-22 16:43:21 +00:00
2017-02-21 13:45:03 -05:00
2017-05-16 14:25:01 +00:00
2017-05-16 14:25:01 +00:00
2016-11-14 17:02:09 -05:00
2011-07-14 20:28:54 +00:00
2017-05-16 14:25:01 +00:00
2016-10-13 18:11:37 -05:00
2014-07-25 16:47:17 +00:00
2012-03-01 22:09:18 +00:00
2016-09-07 06:43:28 -05:00
2017-04-12 16:46:22 -05:00
2014-12-17 09:54:00 +00:00
2014-07-25 16:47:17 +00:00
2014-07-25 16:47:17 +00:00
2014-07-25 16:47:17 +00:00
2014-07-25 16:47:17 +00:00
2016-08-29 10:08:13 -05:00
2017-05-31 13:59:04 +00:00
2014-07-20 22:06:33 +00:00
2017-04-25 16:24:37 -05:00
2017-03-15 17:43:54 -05:00
2014-07-25 16:47:17 +00:00
2016-09-01 13:13:43 +02:00
2014-07-25 16:47:17 +00:00
2017-02-10 18:01:54 -05:00
2014-12-17 09:54:00 +00:00
2015-11-06 16:46:21 -05:00
2015-05-20 18:05:20 -06:00
2012-02-20 23:43:27 +00:00
2012-02-29 16:52:47 +00:00
2017-06-29 09:51:50 -05:00
2012-02-20 23:43:27 +00:00
2012-02-29 16:52:47 +00:00
2017-02-14 09:12:31 -05:00
2014-07-25 16:47:17 +00:00
2013-11-14 20:32:45 +00:00
2012-09-28 18:27:02 +00:00
2012-02-20 23:43:27 +00:00
2014-07-25 16:47:17 +00:00
2016-03-24 13:14:33 -03:00
2014-12-17 09:54:00 +00:00
2012-02-20 23:43:27 +00:00
2014-07-28 18:58:43 +00:00
2014-09-05 22:03:45 +00:00
2016-03-16 11:17:54 -05:00
2012-06-15 16:20:16 +00:00
2016-04-19 15:02:18 -03:00
2014-07-25 16:47:17 +00:00
2014-01-17 17:16:14 +00:00
2014-07-25 16:47:17 +00:00
2016-08-13 20:26:50 -05:00
2014-05-09 22:49:26 +00:00
2017-06-19 18:21:29 -04:00
2012-06-15 15:33:41 +00:00
2014-07-25 16:47:17 +00:00
2014-07-25 16:47:17 +00:00
2011-07-14 20:28:54 +00:00
2012-07-31 20:21:43 +00:00
2017-04-12 16:46:22 -05:00
2017-03-27 10:36:23 -04:00