[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
Wed Feb 19 20:32:03 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215456#comment-215456 ] 

Rusty Newton commented on ASTERISK-23069:
-----------------------------------------

Sorry to add to the confusion. I had tested with 12 forgetting that CDR is different in many ways in 12.

A few items to clarify:

1. The documentation for the app_queue Macro parameter is incorrect. It is executed by the *called* channel, in this case the queue member. We will fix this.

2. In 1.8 and 11, you can't set the custom fields on Party B's channel. Which is what we are doing here when we try to set a custom field in the Macro called by app_queue. Trying to change that behavior would likely result in other bugs in CDR as there are known issues with the internal architecture, hence the changes in 12.

3. You can set the "userfield" field on both the Party A and Party B channels. The values will be delimited by a semi-colon "like;this"

4. There is an open bug with 3: ASTERISK-20046 where the first value will be duplicated resulting in output "likelike;this"


We'll track the documentation fix (1) in this issue and close it out once the documentation is patched.

                
> 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: Rusty Newton
>            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