]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx.c: When the AST_SOFTHANGUP_ASYNCGOTO flag is set, pbx_extension_helper should...
authorTinet-mucw <mucw@ti-net.com.cn>
Tue, 22 Jul 2025 09:36:11 +0000 (02:36 -0700)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 20:04:26 +0000 (14:04 -0600)
commit4da05a2ebb05e7e123f51758fd5e72982bca4281
tree78fa3732ab1e8768235a10f8e34c9200aecf9133
parentb88e04a6f563eb69ef1e43bb593cd366a828859f
pbx.c: When the AST_SOFTHANGUP_ASYNCGOTO flag is set, pbx_extension_helper should return directly.

Under certain circumstances the context/extens/prio are set in the ast_async_goto, for example action Redirect.
In the situation that action Redirect is broken by pbx_extension_helper this info is changed.
This will cause the current dialplan location to be executed twice.
In other words, the Redirect action does not take effect.

Resolves: #1315
(cherry picked from commit 4442e2dce1d0a663888b9a12a3a6f083fd0d4492)
main/pbx.c