[svn-commits] jpeeler: branch 1.4 r192858 - /branches/1.4/res/res_features.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed May 6 17:15:23 CDT 2009
Author: jpeeler
Date: Wed May 6 17:15:19 2009
New Revision: 192858
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=192858
Log:
Make ParkedCall application stop execution of the dialplan after hang up
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
Modified:
branches/1.4/res/res_features.c
Modified: branches/1.4/res/res_features.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/res/res_features.c?view=diff&rev=192858&r1=192857&r2=192858
==============================================================================
--- branches/1.4/res/res_features.c (original)
+++ branches/1.4/res/res_features.c Wed May 6 17:15:19 2009
@@ -2575,7 +2575,7 @@
/* 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, ""))
@@ -2587,7 +2587,7 @@
ast_module_user_remove(u);
- return res;
+ return -1;
}
static int handle_showfeatures(int fd, int argc, char *argv[])
More information about the svn-commits
mailing list