[asterisk-commits] dlee: branch dlee/ari-event-remodel2 r392401 - /team/dlee/ari-event-remodel2/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jun 21 00:16:43 CDT 2013
Author: dlee
Date: Fri Jun 21 00:16:40 2013
New Revision: 392401
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392401
Log:
Fixed channel_snapshot_json to match the new channel snapshot JSON format
Modified:
team/dlee/ari-event-remodel2/tests/test_stasis_channels.c
Modified: team/dlee/ari-event-remodel2/tests/test_stasis_channels.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-event-remodel2/tests/test_stasis_channels.c?view=diff&rev=392401&r1=392400&r2=392401
==============================================================================
--- team/dlee/ari-event-remodel2/tests/test_stasis_channels.c (original)
+++ team/dlee/ari-event-remodel2/tests/test_stasis_channels.c Fri Jun 21 00:16:40 2013
@@ -256,8 +256,7 @@
ast_test_validate(test, NULL != snapshot);
actual = ast_channel_snapshot_to_json(snapshot);
- expected = ast_json_pack("{ s: s, s: s, s: s, s: s, s: s, s: s, s: s,"
- " s: s, s: s, s: s, s: s,"
+ expected = ast_json_pack("{ s: s, s: s, s: s, s: s,"
" s: { s: s, s: s, s: i },"
" s: { s: s, s: s },"
" s: { s: s, s: s },"
@@ -266,14 +265,7 @@
"name", "TEST/name",
"state", "Down",
"accountcode", "acctcode",
- "peeraccount", "",
- "userfield", "",
- "uniqueid", ast_channel_uniqueid(chan),
- "linkedid", ast_channel_uniqueid(chan),
- "parkinglot", "",
- "hangupsource", "",
- "appl", "",
- "data", "",
+ "id", ast_channel_uniqueid(chan),
"dialplan",
"context", "context",
"exten", "exten",
More information about the asterisk-commits
mailing list