[asterisk-commits] tilghman: branch 1.4 r114621 - /branches/1.4/channels/chan_local.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 24 14:53:36 CDT 2008
Author: tilghman
Date: Thu Apr 24 14:53:36 2008
New Revision: 114621
URL: http://svn.digium.com/view/asterisk?view=rev&rev=114621
Log:
Ensure that when we set the accountcode, it actually shows up in the CDR.
(Fix for AMI Originate)
(Closes issue #12007)
Modified:
branches/1.4/channels/chan_local.c
Modified: branches/1.4/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_local.c?view=diff&rev=114621&r1=114620&r2=114621
==============================================================================
--- branches/1.4/channels/chan_local.c (original)
+++ branches/1.4/channels/chan_local.c Thu Apr 24 14:53:36 2008
@@ -471,6 +471,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