[asterisk-commits] murf: branch murf/CDRfix6 r121370 - /team/murf/CDRfix6/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 9 18:00:43 CDT 2008
Author: murf
Date: Mon Jun 9 18:00:43 2008
New Revision: 121370
URL: http://svn.digium.com/view/asterisk?view=rev&rev=121370
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/CDRfix6/channels/chan_sip.c
Modified: team/murf/CDRfix6/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/murf/CDRfix6/channels/chan_sip.c?view=diff&rev=121370&r1=121369&r2=121370
==============================================================================
--- team/murf/CDRfix6/channels/chan_sip.c (original)
+++ team/murf/CDRfix6/channels/chan_sip.c Mon Jun 9 18:00:43 2008
@@ -16953,7 +16953,7 @@
ast_quiet_chan(peerc);
if (peerd)
ast_quiet_chan(peerd);
-
+#ifdef DONT_MOVE_THE_CDRS_AROUND
/* Fix CDRs so they're attached to the remaining channel */
if (peera->cdr && peerb->cdr)
peerb->cdr = ast_cdr_append(peerb->cdr, peera->cdr);
@@ -16966,7 +16966,7 @@
else if (peerc->cdr)
peerb->cdr = peerc->cdr;
peerc->cdr = NULL;
-
+#endif
ast_debug(4, "SIP transfer: trying to masquerade %s into %s\n", peerc->name, peerb->name);
if (ast_channel_masquerade(peerb, peerc)) {
ast_log(LOG_WARNING, "Failed to masquerade %s into %s\n", peerb->name, peerc->name);
More information about the asterisk-commits
mailing list