summaryrefslogtreecommitdiff
path: root/funcs/func_cdr.c
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-02-09 22:06:41 +0000
committerTerry Wilson <twilson@digium.com>2012-02-09 22:06:41 +0000
commit8100a1703d8605bed46e90d32009833695514c2d (patch)
treedbb3e129b0e1c8998690cc0d33a30b3ee97ce227 /funcs/func_cdr.c
parent6225c6cadc33840603f0790ec335c8b053ff079d (diff)
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/ ........ Merged revisions 354749 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 354750 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_cdr.c')
-rw-r--r--funcs/func_cdr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/funcs/func_cdr.c b/funcs/func_cdr.c
index dc7109659..25e10a2fa 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.</para>
<note><para>For setting CDR values, the <literal>l</literal> flag does not apply to
setting the <literal>accountcode</literal>, <literal>userfield</literal>, or
- <literal>amaflags</literal>.</para></note>
+ <literal>amaflags</literal>.</para><para>CDRs can only be modified before the bridge
+ between two channels is torn down. For example, CDRs may not be modified after the
+ <literal>Dial</literal> application has returned.</para></note>
<para>Raw values for <literal>disposition</literal>:</para>
<enumlist>
<enum name="0">