[asterisk-commits] mnicholson: trunk r289269 - in /trunk: ./ main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 29 12:09:00 CDT 2010


Author: mnicholson
Date: Wed Sep 29 12:08:56 2010
New Revision: 289269

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=289269
Log:
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
........

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=289269&r1=289268&r2=289269
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Wed Sep 29 12:08:56 2010
@@ -6346,6 +6346,9 @@
 		/* The caller id name or number changed. */
 		report_new_callerid(chan);
 	}
+	if (chan->cdr) {
+		ast_cdr_setcid(chan->cdr, chan);
+	}
 	ast_channel_unlock(chan);
 }
 




More information about the asterisk-commits mailing list