From: Terry Wilson Date: Thu, 9 Feb 2012 22:01:35 +0000 (+0000) Subject: Note that CDRs are immutable once a bridge is torn down X-Git-Tag: 1.8.11.0-rc1~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dd831722a37a05b02c8e176e90ffe98ab99e37c;p=thirdparty%2Fasterisk.git Note that CDRs are immutable once a bridge is torn down CDRs cannot be modified after a bridge is torn down, (e.g. after Dial() returns) even though the CDR() function may be called. Since modifying the CDR code to change this behavior could very easily break all kinds of things, this patch just documents this limitation. (closes issues ASTERISK-16923) Review: https://reviewboard.asterisk.org/r/1720/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@354749 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/funcs/func_cdr.c b/funcs/func_cdr.c index dc71096598..25e10a2fa4 100644 --- a/funcs/func_cdr.c +++ b/funcs/func_cdr.c @@ -140,7 +140,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") with this function, and this variable will be stored on the cdr. For setting CDR values, the l flag does not apply to setting the accountcode, userfield, or - amaflags. + amaflags.CDRs can only be modified before the bridge + between two channels is torn down. For example, CDRs may not be modified after the + Dial application has returned. Raw values for disposition: