[asterisk-commits] wdoekes: branch 1.8 r357575 - /branches/1.8/apps/app_dial.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 29 13:41:37 CST 2012
Author: wdoekes
Date: Wed Feb 29 13:41:32 2012
New Revision: 357575
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=357575
Log:
Fix copying of CDR(accountcode) to local channels.
In r203638, during the addition of the Channel Event Logging, in mid-2009, this
got broken in trunk and ended up in asterisk 1.8 and higher. This fixes so the
CDR(accountcode) from the calling channel is available to dialed channels again
as well as showing up properly in the CDR's.
(closes issue ASTERISK-19384)
Patches: accountcode.patch (License #6033) by jamicque
Review: https://reviewboard.asterisk.org/r/1775/
Reviewed by: Richard Mudgett
Modified:
branches/1.8/apps/app_dial.c
Modified: branches/1.8/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_dial.c?view=diff&rev=357575&r1=357574&r2=357575
==============================================================================
--- branches/1.8/apps/app_dial.c (original)
+++ branches/1.8/apps/app_dial.c Wed Feb 29 13:41:32 2012
@@ -2307,7 +2307,7 @@
tc->dialed.transit_network_select = chan->dialed.transit_network_select;
if (!ast_strlen_zero(chan->accountcode)) {
- ast_string_field_set(tc, peeraccount, chan->accountcode);
+ ast_string_field_set(tc, accountcode, chan->accountcode);
}
if (ast_strlen_zero(tc->musicclass))
ast_string_field_set(tc, musicclass, chan->musicclass);
More information about the asterisk-commits
mailing list