Just changed park_exec to always return non-zero. I really wasn't entirely sure
at first if this was a bug. Decided it was since it would be surprising when
not using ParkedCall in the dialplan to hang up and have dialplan execution
continue.
(closes issue #14555)
Reported by: francesco_r
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@192858
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
/* Simulate the PBX hanging up */
ast_hangup(peer);
ast_module_user_remove(u);
- return res;
+ return -1;
} else {
/*! \todo XXX Play a message XXX */
if (ast_stream_and_wait(chan, "pbx-invalidpark", chan->language, ""))
ast_module_user_remove(u);
- return res;
+ return -1;
}
static int handle_showfeatures(int fd, int argc, char *argv[])