[asterisk-bugs] [JIRA] (ASTERISK-27798) CDR_PROP(party_a) does not work.

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Fri Apr 13 14:13:51 CDT 2018


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

Kevin Harwell commented on ASTERISK-27798:
------------------------------------------

[~jhoppebugs] Sounds good! Please let us know if you have any questions about submitting a patch.

> CDR_PROP(party_a) does not work.
> --------------------------------
>
>                 Key: ASTERISK-27798
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27798
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/General
>    Affects Versions: 13.20.0
>            Reporter: Jeff Hoppe
>            Assignee: Jeff Hoppe
>
> CDR_PROP(party_a) doesn't work.   I traced the code to main/cdr.c source file.  
> The function that determines which CDR is party A has two cdr snapshots as parameters.  The code is written where if the party_a flag was set on the second cdr snapshot (right), it will be ignored.
> Function showing in reference notes below.
>  This line (which will always be false):
>         } else if (!ast_test_flag(right, AST_CDR_FLAG_PARTY_A) && ast_test_flag(right, AST_CDR_FLAG_PARTY_A)) {
> .
> should be 
> .
>         } else if (!ast_test_flag(left, AST_CDR_FLAG_PARTY_A) && ast_test_flag(right, AST_CDR_FLAG_PARTY_A)) {
> if I am not mistaken.



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



More information about the asterisk-bugs mailing list