[asterisk-bugs] [JIRA] (ASTERISK-19165) Empty CDR userfield and wrong UniqueID values stored in Master.csv when using Originate from AMI

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Jan 2 08:45:46 CST 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team closed ASTERISK-19165.
------------------------------------

    Resolution: Suspended

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

> Empty CDR userfield and wrong UniqueID values stored in Master.csv when using Originate from AMI
> ------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-19165
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19165
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/General
>    Affects Versions: 1.8.8.1
>            Reporter: Alex
>            Assignee: Joshua Colp
>
> When originating calls using AMI, CDR userfield isn't set for the second leg. Also invalid call UniqueId is stored in the CDR.
> The problem can be reproduced in the following way:
> 1. connect two SIP softphones to Asterisk (let's say phone1 and phone2),
> 2. add this dialplan:
> [test-firstleg]
> exten => _X.,1,Set(CDR(userfield)=test)
> exten => _X.,n,Dial(SIP/phone1)
> [test-secondleg]
> exten => _X.,1,Verbose(My uniqueid is ${UNIQUEID})
> exten => _X.,n,Set(CDR(userfield)=test)
> exten => _X.,n,Dial(SIP/phone2)
> 3. execute this action via AMI:
> action: originate
> channel: Local/123 at test-firstleg
> context: test-secondleg
> exten: 123
> priority: 1
> The CDR record in Master.csv for the second leg will not contain userfield value "test" (userfield will be empty). UniqueId value stored in CDR record will be different than the one printed out by "Verbose(My uniqueid is ${UNIQUEID})" in dialplan.
> Could you please advice how to avoid these two issues?



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list