]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 10 Sep 2025 19:55:23 +0000 (19:55 +0000)
commit0b314fb44a7660473419471b9da7420dfd16ad70
tree7b1f81e795c9951f2d23b2bdce31550c4b10a6bf
parent6813e0c6aa860687884484acb9d4e4845325a120
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 7c8e58b63eb620ef354fe3da353926114ded2555)
main/pbx.c