[asterisk-commits] tilghman: branch 1.6.0 r114623 - in /branches/1.6.0: ./ channels/chan_local.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 24 14:55:56 CDT 2008


Author: tilghman
Date: Thu Apr 24 14:55:55 2008
New Revision: 114623

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114623
Log:
Merged revisions 114622 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r114622 | tilghman | 2008-04-24 14:54:57 -0500 (Thu, 24 Apr 2008) | 12 lines

Merged revisions 114621 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114621 | tilghman | 2008-04-24 14:53:36 -0500 (Thu, 24 Apr 2008) | 4 lines

Ensure that when we set the accountcode, it actually shows up in the CDR.
(Fix for AMI Originate)
(Closes issue #12007)

........

................

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/channels/chan_local.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_local.c?view=diff&rev=114623&r1=114622&r2=114623
==============================================================================
--- branches/1.6.0/channels/chan_local.c (original)
+++ branches/1.6.0/channels/chan_local.c Thu Apr 24 14:55:55 2008
@@ -477,6 +477,7 @@
 	p->chan->cid.cid_pres = p->owner->cid.cid_pres;
 	ast_string_field_set(p->chan, language, p->owner->language);
 	ast_string_field_set(p->chan, accountcode, p->owner->accountcode);
+	ast_cdr_update(p->chan);
 	p->chan->cdrflags = p->owner->cdrflags;
 
 	/* copy the channel variables from the incoming channel to the outgoing channel */




More information about the asterisk-commits mailing list