[asterisk-commits] dlee: branch dlee/ASTERISK-22451-ari-subscribe r399016 - /team/dlee/ASTERISK-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 12 18:13:58 CDT 2013


Author: dlee
Date: Thu Sep 12 18:13:56 2013
New Revision: 399016

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399016
Log:
compiles

Modified:
    team/dlee/ASTERISK-22451-ari-subscribe/res/res_stasis.c

Modified: team/dlee/ASTERISK-22451-ari-subscribe/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-22451-ari-subscribe/res/res_stasis.c?view=diff&rev=399016&r1=399015&r2=399016
==============================================================================
--- team/dlee/ASTERISK-22451-ari-subscribe/res/res_stasis.c (original)
+++ team/dlee/ASTERISK-22451-ari-subscribe/res/res_stasis.c Thu Sep 12 18:13:56 2013
@@ -871,7 +871,7 @@
 		} else if (ast_begins_with(event_source_names[i], BRIDGE_SCHEME)) {
 			event_sources[i].event_source_type =
 				EVENT_SOURCE_BRIDGE;
-			event_sources[i].bridge = ast_bridge_get_id(
+			event_sources[i].bridge = stasis_app_bridge_find_by_id(
 				event_source_names[i] + strlen(BRIDGE_SCHEME));
 			if (!event_sources[i].bridge) {
 				res = STASIS_ASR_EVENT_SOURCE_NOT_FOUND;
@@ -888,7 +888,7 @@
 			sub_res = app_subscribe_channel(app, event_sources[i].channel);
 			break;
 		case EVENT_SOURCE_BRIDGE:
-			sub_res = app_subscribe_bridge(app. event_sources[i].bridge)
+			sub_res = app_subscribe_bridge(app, event_sources[i].bridge);
 			break;
 		case EVENT_SOURCE_ENDPOINT:
 			break;




More information about the asterisk-commits mailing list