[asterisk-commits] igorg: branch 1.8 r377557 - /branches/1.8/channels/chan_unistim.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Dec 9 23:00:58 CST 2012


Author: igorg
Date: Sun Dec  9 23:00:57 2012
New Revision: 377557

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=377557
Log:
Fix crash on transfer initiated from insreeen menu on Unistim phones. Removed CDR-related code that moved to do_masquarade before.

(closes issue ASTERISK-20417)
Reported by: Rudolf Migalin


Modified:
    branches/1.8/channels/chan_unistim.c

Modified: branches/1.8/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_unistim.c?view=diff&rev=377557&r1=377556&r2=377557
==============================================================================
--- branches/1.8/channels/chan_unistim.c (original)
+++ branches/1.8/channels/chan_unistim.c Sun Dec  9 23:00:57 2012
@@ -1923,20 +1923,6 @@
 		   ast_quiet_chan(peerb);
 		   ast_quiet_chan(peerc);
 		   ast_quiet_chan(peerd); */
-
-		if (peera->cdr && peerb->cdr) {
-			peerb->cdr = ast_cdr_append(peerb->cdr, peera->cdr);
-		} else if (peera->cdr) {
-			peerb->cdr = peera->cdr;
-		}
-		peera->cdr = NULL;
-
-		if (peerb->cdr && peerc->cdr) {
-			peerb->cdr = ast_cdr_append(peerb->cdr, peerc->cdr);
-		} else if (peerc->cdr) {
-			peerb->cdr = peerc->cdr;
-		}
-		peerc->cdr = NULL;
 
 		if (ast_channel_masquerade(peerb, peerc)) {
 			ast_log(LOG_WARNING, "Failed to masquerade %s into %s\n", peerb->name,




More information about the asterisk-commits mailing list