]> 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)
committerTinet-mucw <mucw@ti-net.com.cn>
Tue, 22 Jul 2025 18:58:40 +0000 (18:58 +0000)
commit4442e2dce1d0a663888b9a12a3a6f083fd0d4492
treeb436007af36a62d84d699f95ccb27bb7a44ef31b
parent3403da9c019ca7d71c2549d3c533b6ce5975ac43
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
main/pbx.c