[asterisk-commits] igorg: trunk r370413 - /trunk/channels/chan_unistim.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 24 03:53:02 CDT 2012


Author: igorg
Date: Tue Jul 24 03:53:01 2012
New Revision: 370413

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370413
Log:

Remove code, that operate with cdr in attempt_transfer(). That was removed somewhere between 1.2 and 1.4 and acidentaly put back in chan_unistim.

(closes issue ASTERISK-19628)
Reported by: Igor Olhovskiy


Modified:
    trunk/channels/chan_unistim.c

Modified: trunk/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_unistim.c?view=diff&rev=370413&r1=370412&r2=370413
==============================================================================
--- trunk/channels/chan_unistim.c (original)
+++ trunk/channels/chan_unistim.c Tue Jul 24 03:53:01 2012
@@ -2350,20 +2350,6 @@
 		if (peerd) {
 			unistim_quiet_chan(peerd);
 		}
-
-		if (ast_channel_cdr(peera) && ast_channel_cdr(peerb)) {
-			ast_channel_cdr_set(peerb, ast_cdr_append(ast_channel_cdr(peerb), ast_channel_cdr(peera)));
-		} else if (ast_channel_cdr(peera)) {
-			ast_channel_cdr_set(peerb, ast_channel_cdr(peera));
-		}
-		ast_channel_cdr_set(peera, NULL);
-
-		if (ast_channel_cdr(peerb) && ast_channel_cdr(peerc)) {
-			ast_channel_cdr_set(peerb, ast_cdr_append(ast_channel_cdr(peerb), ast_channel_cdr(peerc)));
-		} else if (ast_channel_cdr(peerc)) {
-			ast_channel_cdr_set(peerb, ast_channel_cdr(peerc));
-		}
-		ast_channel_cdr_set(peerc, NULL);
 
 		ast_log(LOG_NOTICE, "UNISTIM transfer: trying to masquerade %s into %s\n", ast_channel_name(peerc), ast_channel_name(peerb));
 		if (ast_channel_masquerade(peerb, peerc)) {




More information about the asterisk-commits mailing list