[asterisk-commits] murf: branch group/CDRfix5 r121369 - /team/group/CDRfix5/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 9 17:58:37 CDT 2008
Author: murf
Date: Mon Jun 9 17:58:37 2008
New Revision: 121369
URL: http://svn.digium.com/view/asterisk?view=rev&rev=121369
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/group/CDRfix5/channels/chan_sip.c
Modified: team/group/CDRfix5/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/CDRfix5/channels/chan_sip.c?view=diff&rev=121369&r1=121368&r2=121369
==============================================================================
--- team/group/CDRfix5/channels/chan_sip.c (original)
+++ team/group/CDRfix5/channels/chan_sip.c Mon Jun 9 17:58:37 2008
@@ -16851,7 +16851,7 @@
ast_quiet_chan(peerc);
if (peerd)
ast_quiet_chan(peerd);
-
+#ifdef DONT_TOUCH_CDRS_NOW
/* Fix CDRs so they're attached to the remaining channel */
if (peera->cdr && peerb->cdr)
peerb->cdr = ast_cdr_append(peerb->cdr, peera->cdr);
@@ -16864,7 +16864,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