diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-11 18:15:00 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-11 18:15:00 +0000 |
commit | 08b10cc3ff11f6e78ec3f0d3461fdfa075bfe747 (patch) | |
tree | d76b8590ad06d068327fc1bf18a2a7a73dae4452 /channel.c | |
parent | 2a40efea53c265bfa5d1f4599a0424544f69653c (diff) |
now that CDR is a loadable module, don't depend on it elsewhere (issue #6460)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9581 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r-- | channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |