[asterisk-bugs] [JIRA] (ASTERISK-23069) Custom CDR variable not recorded when set in macro called from app_queue
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Tue Jan 21 21:21:03 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214288#comment-214288 ]
Rusty Newton edited comment on ASTERISK-23069 at 1/21/14 9:19 PM:
------------------------------------------------------------------
I wasn't able to reproduce this in 12, with the normal format like
{noformat}
[mappings]
;Master.csv => ${CSV_QUOTE(${CDR(clid)})},${CSV_QUOTE(${CDR(src)})},${CSV_QUOTE(${CDR(dst)})},${CSV_QUOTE(${CDR(dcontext)})},${CSV_QUOTE(${CDR(channel)})},${CSV_QUOTE(${CDR(dstchannel)})},${CSV_QUOTE(${CDR(lastapp)})},${CSV_QUOTE(${CDR(lastdata)})},${CSV_QUOTE(${CDR(start)})},${CSV_QUOTE(${CDR(answer)})},${CSV_QUOTE(${CDR(end)})},${CSV_QUOTE(${CDR(duration)})},${CSV_QUOTE(${CDR(billsec)})},${CSV_QUOTE(${CDR(disposition)})},${CSV_QUOTE(${CDR(amaflags)})},${CSV_QUOTE(${CDR(accountcode)})},${CSV_QUOTE(${CDR(uniqueid)})},${CSV_QUOTE(${CDR(userfield)})},${CDR(sequence)},${CSV_QUOTE(${CDR(acustomfield1)})},${CSV_QUOTE(${CDR(acustomfield2)})}
{noformat}
and output printing to cdr-custom/Master.csv. Do you get the same behavior with the csv format?
I'll try it in 1.8 when I get a chance as well.
was (Author: rnewton):
I wasn't able to reproduce this in 12, with the normal format like
{noformat}
[mappings]
;Master.csv => ${CSV_QUOTE(${CDR(clid)})},${CSV_QUOTE(${CDR(src)})},${CSV_QUOTE(${CDR(dst)})},${CSV_QUOTE(${CDR(dcontext)})},${CSV_QUOTE(${CDR(channel)})},${CSV_QUOTE(${CDR(dstchannel)})},${CSV_QUOTE(${CDR(lastapp)})},${CSV_QUOTE(${CDR(lastdata)})},${CSV_QUOTE(${CDR(start)})},${CSV_QUOTE(${CDR(answer)})},${CSV_QUOTE(${CDR(end)})},${CSV_QUOTE(${CDR(duration)})},${CSV_QUOTE(${CDR(billsec)})},${CSV_QUOTE(${CDR(disposition)})},${CSV_QUOTE(${CDR(amaflags)})},${CSV_QUOTE(${CDR(accountcode)})},${CSV_QUOTE(${CDR(uniqueid)})},${CSV_QUOTE(${CDR(userfield)})},${CDR(sequence)},${CSV_QUOTE(${CDR(acustomfield1)})},${CSV_QUOTE(${CDR(acustomfield2)})}
{noformat}
and output printing to cdr-custom/Master.csv. Do you get the same behavior with the csv format?
> Custom CDR variable not recorded when set in macro called from app_queue
> ------------------------------------------------------------------------
>
> Key: ASTERISK-23069
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23069
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: CDR/cdr_custom, CDR/General
> Affects Versions: 1.8.20.0
> Environment: CentOS 6.5
> Reporter: Bryan Anderson
> Assignee: Bryan Anderson
> Severity: Minor
> Attachments: cdr_custom.conf, debug, extensions.conf, full, logger.conf, queues.conf, results.txt
>
>
> When setting CDR variable within a Macro called by a Queue only the predefined Variables can be set. (CDR(userfield)=works, CDR(myvariable)=Notworks)
> extensions.conf = http://pastebin.com/CQmdwJhc
> cdr_custom.conf = http://pastebin.com/DnLCY28L
> queues.conf = http://pastebin.com/8HAbLcmX
> results = http://pastebin.com/gAZ9FiBc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list