[svn-commits] murf: branch murf/CDRfix4 r121368 - /team/murf/CDRfix4/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 9 17:53:20 CDT 2008


Author: murf
Date: Mon Jun  9 17:53:19 2008
New Revision: 121368

URL: http://svn.digium.com/view/asterisk?view=rev&rev=121368
Log:
I have #ifdef'd out the code to rearrange CDR's to mimic what I did in the Zap driver. I also plan to see if any of the other changes I made in chan_zap will translate to chan_sip. Since 3-ways are mostly handled at the phone instead of inside Asterisk, it may be that this will suffice.

Modified:
    team/murf/CDRfix4/channels/chan_sip.c

Modified: team/murf/CDRfix4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/murf/CDRfix4/channels/chan_sip.c?view=diff&rev=121368&r1=121367&r2=121368
==============================================================================
--- team/murf/CDRfix4/channels/chan_sip.c (original)
+++ team/murf/CDRfix4/channels/chan_sip.c Mon Jun  9 17:53:19 2008
@@ -13387,6 +13387,7 @@
 		if (peerd)
 			ast_quiet_chan(peerd);
 
+#ifdef DONT_FIX_CDRS
 		/* Fix CDRs so they're attached to the remaining channel */
 		if (peera->cdr && peerb->cdr)
 			peerb->cdr = ast_cdr_append(peerb->cdr, peera->cdr);
@@ -13399,6 +13400,7 @@
 		else if (peerc->cdr)
 			peerb->cdr = peerc->cdr;
 		peerc->cdr = NULL;
+#endif
 	
 		if (option_debug > 3)
 			ast_log(LOG_DEBUG, "SIP transfer: trying to masquerade %s into %s\n", peerc->name, peerb->name);




More information about the svn-commits mailing list