[asterisk-commits] dlee: branch dlee/ari-async-bridge r395898 - /team/dlee/ari-async-bridge/res/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 31 11:22:12 CDT 2013
Author: dlee
Date: Wed Jul 31 11:22:10 2013
New Revision: 395898
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395898
Log:
Continue from async bridge
Modified:
team/dlee/ari-async-bridge/res/stasis/control.c
Modified: team/dlee/ari-async-bridge/res/stasis/control.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-async-bridge/res/stasis/control.c?view=diff&rev=395898&r1=395897&r2=395898
==============================================================================
--- team/dlee/ari-async-bridge/res/stasis/control.c (original)
+++ team/dlee/ari-async-bridge/res/stasis/control.c Wed Jul 31 11:22:10 2013
@@ -224,6 +224,12 @@
{
RAII_VAR(struct stasis_app_control_continue_data *, continue_data, data, ast_free);
+ ast_assert(control->channel != NULL);
+
+ if (control->bridge) {
+ ast_bridge_depart(control->channel);
+ }
+
/* Called from stasis_app_exec thread; no lock needed */
ast_explicit_goto(control->channel, continue_data->context, continue_data->extension, continue_data->priority);
More information about the asterisk-commits
mailing list