]> 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:22 +0000 (14:45 +0000)
commit1d7ae8d2274ba92f2f1b2854e474407d8322f899
treed15d6623ab825b489325ec976bb56a61a7155e8e
parent2f02095da8fd35eedfa5e9713863924238c65baa
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