]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Revert "app_stack: Print proper exit location for PBXless channels."
authorMatthew Fredrickson <matt@fredricknet.net>
Thu, 10 Aug 2023 16:51:12 +0000 (11:51 -0500)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 6 Sep 2023 16:46:46 +0000 (16:46 +0000)
commite15c994186570a5f2d2456ca0cfb5ecc29da7853
treee6754b375f22b09ca448bf6b4f0f29477b56ceec
parent5b6d391f4b277baa401abb87f7537bdec8e9a22a
Revert "app_stack: Print proper exit location for PBXless channels."

This reverts commit 617dad4cba1513dddce87b8e95a61415fb587cf1.

apps/app_stack.c: Revert buggy gosub patch

This seems to break the case when a predial macro calls a gosub.
When the gosub calls return, the Return function outputs:

app_stack.c:423 return_exec: Return without Gosub: stack is empty

This returns -1 to the calling macro, which returns to app_dial
and causes the call to hangup instead of proceeding with the macro
that invoked the gosub.

Resolves: #253
(cherry picked from commit 3f80f9ce0be17cb1467f2b7100fa45dc84822347)
apps/app_stack.c