]> 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:56:00 +0000 (16:56 +0000)
commit65082ae112ea46a76f29c8735709e053c80d1c66
tree333476e1908289260a72048a04f11a4e8a7c7ca0
parentb1454309578121d1103729068c18fe7c2220d7c6
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 c8f2698ec6d317cf3a97ee7053ebc4d99f313e9c)
apps/app_stack.c