Alexey Khabulyak
4b766d24d0
app_dial.c: Moved channel lock to prevent deadlock
...
It's reproducible with pbx_lua, not regular dialplan.
deadlock description:
1. asterisk locks a channel
2. calls function onedigit_goto
3. calls ast_goto_if_exists funciton
4. checks ast_exists_extension -> pbx_extension_helper
5. pbx_extension_helper calls pbx_find_extension
6. Then asterisk starts autoservice in a new thread
7. autoservice run tries to lock the channel again
Because our channel is locked already, autoservice can't lock.
Autoservice can't lock -> autoservice stop is waiting forever.
onedigit_goto waits for autoservice stop.
Resolves: https://github.com/asterisk/asterisk/issues/1335
2025-08-11 14:37:12 +00:00
..
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-07-30 14:21:39 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-08-11 14:37:12 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-23 17:59:38 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2023-08-22 13:29:51 +00:00
2025-04-28 19:13:51 +00:00
2025-01-23 17:59:38 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-07-17 15:07:39 +00:00
2025-04-28 16:20:35 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2021-08-11 08:14:51 -05:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-06-11 16:23:43 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-06-17 14:23:18 +00:00
2025-01-23 17:59:38 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2022-04-26 17:40:39 -05:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-06-12 12:18:49 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-03-18 15:11:50 +00:00
2025-06-02 16:35:27 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2019-06-28 07:32:03 -06:00
2019-06-28 07:32:03 -06:00
2019-06-28 07:32:03 -06:00
2019-06-28 07:32:03 -06:00
2025-04-28 16:20:35 +00:00
2012-06-15 15:33:41 +00:00
2025-01-23 17:59:38 +00:00
2025-01-29 14:17:54 +00:00
2025-04-28 16:20:35 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2025-01-29 14:17:54 +00:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2025-05-05 13:44:15 +00:00