[svn-commits] mmichelson: branch group/ari-greedy-atxfer r419939 - /team/group/ari-greedy-a...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Aug 4 13:53:49 CDT 2014


Author: mmichelson
Date: Mon Aug  4 13:53:42 2014
New Revision: 419939

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=419939
Log:
Re-add stipulation to CEL code that only successful blind transfers are logged.


Modified:
    team/group/ari-greedy-atxfer/main/cel.c

Modified: team/group/ari-greedy-atxfer/main/cel.c
URL: http://svnview.digium.com/svn/asterisk/team/group/ari-greedy-atxfer/main/cel.c?view=diff&rev=419939&r1=419938&r2=419939
==============================================================================
--- team/group/ari-greedy-atxfer/main/cel.c (original)
+++ team/group/ari-greedy-atxfer/main/cel.c Mon Aug  4 13:53:42 2014
@@ -1359,6 +1359,10 @@
 	struct ast_bridge_snapshot *bridge_snapshot = transfer_msg->to_transferee.bridge_snapshot;
 	struct ast_json *extra;
 
+	if (transfer_msg->result != AST_BRIDGE_TRANSFER_SUCCESS) {
+		return;
+	}
+
 	extra = ast_json_pack("{s: s, s: s, s: s}",
 		"extension", transfer_msg->exten,
 		"context", transfer_msg->context,




More information about the svn-commits mailing list