[svn-commits] kmoore: branch 12 r420414 - /branches/12/main/stasis_bridges.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 7 16:16:14 CDT 2014


Author: kmoore
Date: Thu Aug  7 16:16:11 2014
New Revision: 420414

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=420414
Log:
Stasis: Correct blind transfer message generation

This fixes the json object creation format string and key name for the
BridgeBlindTransfer Stasis event allowing it to be published properly.

Modified:
    branches/12/main/stasis_bridges.c

Modified: branches/12/main/stasis_bridges.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/stasis_bridges.c?view=diff&rev=420414&r1=420413&r2=420414
==============================================================================
--- branches/12/main/stasis_bridges.c (original)
+++ branches/12/main/stasis_bridges.c Thu Aug  7 16:16:11 2014
@@ -639,10 +639,10 @@
 		}
 	}
 
-	out = ast_json_pack("{s: s, s: o, s: o, s: o, s: s, s: s, s: s, s: o}",
+	out = ast_json_pack("{s: s, s: o, s: o, s: s, s: s, s: s, s: o}",
 		"type", "BridgeBlindTransfer",
 		"timestamp", ast_json_timeval(*tv, NULL),
-		"transferer", json_transferer,
+		"channel", json_transferer,
 		"exten", transfer_msg->exten,
 		"context", transfer_msg->context,
 		"result", result_strs[transfer_msg->result],




More information about the svn-commits mailing list