[asterisk-commits] mnicholson: trunk r289180 - in /trunk: ./ main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 29 10:08:01 CDT 2010
Author: mnicholson
Date: Wed Sep 29 10:07:57 2010
New Revision: 289180
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=289180
Log:
Merged revisions 289179 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
................
r289179 | mnicholson | 2010-09-29 10:04:56 -0500 (Wed, 29 Sep 2010) | 22 lines
Merged revisions 289178 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r289178 | mnicholson | 2010-09-29 10:04:11 -0500 (Wed, 29 Sep 2010) | 15 lines
Merged revisions 289177 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r289177 | mnicholson | 2010-09-29 10:03:27 -0500 (Wed, 29 Sep 2010) | 8 lines
Set the caller id on CDRs when it is set on the parent channel.
(closes issue #17569)
Reported by: tbelder
Patches:
17569.diff uploaded by tbelder (license 618)
Tested by: tbelder
........
................
................
Modified:
trunk/ (props changed)
trunk/main/channel.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: trunk/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/channel.c?view=diff&rev=289180&r1=289179&r2=289180
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Wed Sep 29 10:07:57 2010
@@ -6304,6 +6304,9 @@
ast_free(chan->caller.ani.number.str);
chan->caller.ani.number.str = ast_strdup(cid_ani);
}
+ if (chan->cdr) {
+ ast_cdr_setcid(chan->cdr, chan);
+ }
report_new_callerid(chan);
More information about the asterisk-commits
mailing list