Fix copying of CDR(accountcode) to local channels.
authorWalter Doekes <walter+asterisk@wjd.nu>
Wed, 29 Feb 2012 19:48:33 +0000 (19:48 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Wed, 29 Feb 2012 19:48:33 +0000 (19:48 +0000)
commit571cef491f18be173da3a0dae0cfda4416155e28
treeb0c999a59249d9b62c661d14ae6344d07676258f
parenta9d607a35764d93790172cab1f630e14fb8e043c
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)
Reported by: jamicque
Patches: accountcode.patch (License #6033) by jamicque
Review: https://reviewboard.asterisk.org/r/1775/
Reviewed by: Richard Mudgett
........

Merged revisions 357575 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 357576 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c