From 9801e7a01850e0937b98f193622e72a74d99e7ce Mon Sep 17 00:00:00 2001 From: tilghman Date: Thu, 24 Apr 2008 19:55:55 +0000 Subject: 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) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114623 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_local.c | 1 + 1 file changed, 1 insertion(+) (limited to 'channels/chan_local.c') diff --git a/channels/chan_local.c b/channels/chan_local.c index ffd25bc33..19824f45a 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -477,6 +477,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 */ -- cgit v1.2.3