[asterisk-commits] mnicholson: branch group/newcdr r203097 - /team/group/newcdr/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 24 16:33:40 CDT 2009


Author: mnicholson
Date: Wed Jun 24 16:33:36 2009
New Revision: 203097

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=203097
Log:
Generate cel events for feature generated attended transfers.

Modified:
    team/group/newcdr/main/features.c

Modified: team/group/newcdr/main/features.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/main/features.c?view=diff&rev=203097&r1=203096&r2=203097
==============================================================================
--- team/group/newcdr/main/features.c (original)
+++ team/group/newcdr/main/features.c Wed Jun 24 16:33:36 2009
@@ -1565,6 +1565,9 @@
 			ast_party_connected_line_free(&connected_line);
 			return AST_FEATURE_RETURN_SUCCESS;
 		}
+
+		ast_cel_report_event(transferee, AST_CEL_ATTENDEDTRANSFER, NULL, NULL, newchan);
+
 		if (check_compat(transferee, newchan)) {
 			finishup(transferee);
 			ast_party_connected_line_free(&connected_line);
@@ -1734,6 +1737,8 @@
 		}
 		if (!newchan)
 			return -1;
+
+		ast_cel_report_event(transferee, AST_CEL_ATTENDEDTRANSFER, NULL, NULL, newchan);
 
 		/* newchan is up, we should prepare transferee and bridge them */
 		if (check_compat(transferee, newchan)) {




More information about the asterisk-commits mailing list