aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-11 19:03:03 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-11 19:03:03 +0000
commitab0d6f99d8f35462645d7e4b3521d9061535663e (patch)
treea92efd77b8211b3d73698bdaba9a5f9cfb5c7428 /channel.c
parent53df4a7ba9cd7fd91ca42f02d90661ec5e5e0d29 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@9606 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index 8f3391424..190c4a310 100644
--- a/channel.c
+++ b/channel.c
@@ -2381,6 +2381,8 @@ struct ast_channel *__ast_request_and_dial(const char *type, int format, void *d
ast_set_callerid(chan, oh->cid_num, oh->cid_name, oh->cid_num);
if (oh->parent_channel)
ast_channel_inherit_variables(oh->parent_channel, chan);
+ if (oh->account)
+ ast_cdr_setaccount(chan, oh->account);
}
ast_set_callerid(chan, cid_num, cid_name, cid_num);