]> 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)
committerMatthew Fredrickson <matt@fredricknet.net>
Wed, 16 Aug 2023 14:45:16 +0000 (14:45 +0000)
commitc8f2698ec6d317cf3a97ee7053ebc4d99f313e9c
treebda92dcbec3ad6e83c470f7cd16b33e513715e15
parentd9494ca392b8c855b3d12afec11e720683f00c06
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
apps/app_stack.c