[asterisk-commits] mnicholson: branch 1.8 r289268 - /branches/1.8/main/channel.c

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


Author: mnicholson
Date: Wed Sep 29 12:08:20 2010
New Revision: 289268

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=289268
Log:
Update the CDR record when ast_channel_set_caller_event() is called

(related to issue #17569)
Reported by: tbelder

Modified:
    branches/1.8/main/channel.c

Modified: branches/1.8/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/channel.c?view=diff&rev=289268&r1=289267&r2=289268
==============================================================================
--- branches/1.8/main/channel.c (original)
+++ branches/1.8/main/channel.c Wed Sep 29 12:08:20 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