]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 10 Sep 2025 19:52:59 +0000 (19:52 +0000)
commit57340d50bfe92ec453604f7752bf225e3e6d2c94
tree35bd4fa5863b7c64a0d746701b8559d67960691d
parentcb434eb1be9190a4681f9df642f1d7d4cf8c8a3a
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