diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-24 19:54:57 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-24 19:54:57 +0000 |
commit | 08d93b89946aa5788a27c38382be1594f95c7e47 (patch) | |
tree | 3945d2c1669acabf011ab201f1c114612d6c5ff0 /channels/chan_local.c | |
parent | 0d0ec49ca57199d9fc9ae84f1feb151a00e63b55 (diff) |
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)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114622 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r-- | channels/chan_local.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index d371a0f75..cc6ba8d68 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -505,6 +505,7 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout) 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 */ |