[asterisk-bugs] [Asterisk 0011695]: Set(CDR(accountcode)=value) does not work after ForkCDR
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Oct 30 11:21:38 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11695
======================================================================
Reported By: jpyle
Assigned To: murf
======================================================================
Project: Asterisk
Issue ID: 11695
Category: Functions/func_cdr
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.4.17
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 01-06-2008 12:09 CST
Last Modified: 01-09-2008 19:40 CST
======================================================================
Summary: Set(CDR(accountcode)=value) does not work after
ForkCDR
Description:
I attempt to set the accountcode after forking the CDR. In previous
versions, this changed only the accountcode value for the CDR line after
the fork, which was exactly what I needed. Now, nothing seems to be set.
I added the "v" option to ForkCDR from my previous working configuration
in 1.2.14, but it didn't help.
Running 1.2.17, CentOS 5.1 on i686.
======================================================================
----------------------------------------------------------------------
voipgate - 01-09-08 19:40
----------------------------------------------------------------------
Just use the "well" documented parameter "l"
${CDR(accountcode|l)} or ${CDR(accountcode,l)} depending on which version
of asterisk you are.
I guess 'l' stands for 'last'.
This option is not documented and the function should not work like this.
It should by default give the last value and only with a parameter you
should be abel to get the first value.
Issue History
Date Modified Username Field Change
======================================================================
01-09-08 19:40 voipgate Note Added: 0076609
======================================================================
More information about the asterisk-bugs
mailing list