]> 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 17:40:37 +0000 (11:40 -0600)
commit9803156223b8b2bddf7365c9c42bab0faf9bcd21
tree1f57c823cdc49a85bd3722ae7c58b56554bf5910
parent57748784c4a9ccbbac2d1506fcfa65e1fc4341de
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 bf9a6d80f8ad2ba438783eba7077e073d1fa409f)
include/asterisk/pbx.h
main/pbx.c