]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx.c: when set flag AST_SOFTHANGUP_ASYNCGOTO, ast_explicit_goto should return -1.
authorTinet-mucw <mucw@ti-net.com.cn>
Thu, 19 Jun 2025 02:34:56 +0000 (19:34 -0700)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 20:04:26 +0000 (14:04 -0600)
commit3b9d5a00e43985b316046b04e7a62bd110e0c6e2
tree8525e09c296032d4b3b1eda10e74a7bed5343c78
parent386a84a76ffeb8a84c6dc32ccae4031932d4a334
pbx.c: when set flag AST_SOFTHANGUP_ASYNCGOTO, ast_explicit_goto should return -1.

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 GotoIf this info is changed.
that will causes confusion in dialplan execution.

Resolves: #1273
(cherry picked from commit 88f653c12df8cc7b82cdfb53fb38524a6840e518)
include/asterisk/pbx.h
main/pbx.c