mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
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/branches/1.8@289268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user