[svn-commits] dlee: branch dlee/ari-event-remodel2 r392344 - in /team/dlee/ari-event-remode...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 20 12:43:39 CDT 2013


Author: dlee
Date: Thu Jun 20 12:43:37 2013
New Revision: 392344

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392344
Log:
minor bugs

Modified:
    team/dlee/ari-event-remodel2/main/stasis_endpoints.c
    team/dlee/ari-event-remodel2/res/res_stasis.c

Modified: team/dlee/ari-event-remodel2/main/stasis_endpoints.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-event-remodel2/main/stasis_endpoints.c?view=diff&rev=392344&r1=392343&r2=392344
==============================================================================
--- team/dlee/ari-event-remodel2/main/stasis_endpoints.c (original)
+++ team/dlee/ari-event-remodel2/main/stasis_endpoints.c Thu Jun 20 12:43:37 2013
@@ -126,7 +126,7 @@
 		}
 	}
 
-	channel_array = ast_json_object_get(json, "channels");
+	channel_array = ast_json_object_get(json, "channel_ids");
 	ast_assert(channel_array != NULL);
 	for (i = 0; i < snapshot->num_channels; ++i) {
 		int res = ast_json_array_append(channel_array,

Modified: team/dlee/ari-event-remodel2/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-event-remodel2/res/res_stasis.c?view=diff&rev=392344&r1=392343&r2=392344
==============================================================================
--- team/dlee/ari-event-remodel2/res/res_stasis.c (original)
+++ team/dlee/ari-event-remodel2/res/res_stasis.c Thu Jun 20 12:43:37 2013
@@ -497,7 +497,7 @@
 		return -1;
 	}
 
-	msg = ast_json_pack("{s: s, s: o, s: o}",
+	msg = ast_json_pack("{s: s, s: o}",
 		"type", "StasisEnd",
 		"channel", ast_channel_snapshot_to_json(snapshot));
 	if (!msg) {




More information about the svn-commits mailing list