[asterisk-commits] jrose: branch 10 r350502 - in /branches/10: ./ main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 12 10:04:32 CST 2012


Author: jrose
Date: Thu Jan 12 10:04:28 2012
New Revision: 350502

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=350502
Log:
Adds peer to CEL report on CEL_BRIDGE_START and CEL_BRIDGE_END

(closes issue ASTERISK-17940)
Reporter: Nic Colledge
Patches:
	features_18.patch uploaded by Nic Colledge (license 6245)
........

Merged revisions 350501 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/main/features.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/features.c?view=diff&rev=350502&r1=350501&r2=350502
==============================================================================
--- branches/10/main/features.c (original)
+++ branches/10/main/features.c Thu Jan 12 10:04:28 2012
@@ -4017,7 +4017,7 @@
 		 * present. */
 		ast_clear_flag(bridge_cdr, AST_CDR_FLAG_DIALED);
 	}
-	ast_cel_report_event(chan, AST_CEL_BRIDGE_START, NULL, NULL, NULL);
+	ast_cel_report_event(chan, AST_CEL_BRIDGE_START, NULL, NULL, peer);
 
 	/* If we are bridging a call, stop worrying about forwarding loops. We presume that if
 	 * a call is being bridged, that the humans in charge know what they're doing. If they
@@ -4258,7 +4258,7 @@
 		if (f)
 			ast_frfree(f);
 	}
-	ast_cel_report_event(chan, AST_CEL_BRIDGE_END, NULL, NULL, NULL);
+	ast_cel_report_event(chan, AST_CEL_BRIDGE_END, NULL, NULL, peer);
 
 before_you_go:
 	/* Just in case something weird happened and we didn't clean up the silence generator... */




More information about the asterisk-commits mailing list