summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMatthew Nicholson <mnicholson@digium.com>2010-09-29 17:08:56 +0000
committerMatthew Nicholson <mnicholson@digium.com>2010-09-29 17:08:56 +0000
commitfb855036d3bdb8834260ec9a2ff8c0f682846f9d (patch)
treeaf4c33df0658d5e493a7b2f8bc3786421231d1a5 /main
parent3cb0f1ff0a4c1298bdd524393b5063917146c7f8 (diff)
Merged revisions 289268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r289268 | mnicholson | 2010-09-29 12:08:20 -0500 (Wed, 29 Sep 2010) | 5 lines Update the CDR record when ast_channel_set_caller_event() is called (related to issue #17569) Reported by: tbelder ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/channel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c
index 43ba5b2b1..3718386df 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -6346,6 +6346,9 @@ void ast_channel_set_caller_event(struct ast_channel *chan, const struct ast_par
/* The caller id name or number changed. */
report_new_callerid(chan);
}
+ if (chan->cdr) {
+ ast_cdr_setcid(chan->cdr, chan);
+ }
ast_channel_unlock(chan);
}