[asterisk-bugs] [JIRA] (ASTERISK-26710) Function "CHANNEL(rtcp, all_rtt)" "CHANNEL(rtcp, all_loss)" "CHANNEL(rtcp, all_jitter)" always return 0

Aaron An (JIRA) noreply at issues.asterisk.org
Mon Jan 9 21:55:10 CST 2017


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

Aaron An updated ASTERISK-26710:
--------------------------------

    Description: 
Function "CHANNEL(rtcp,all_rtt)" "CHANNEL(rtcp,all_loss)" "CHANNEL(rtcp,all_jitter)" always return 0 due to the wrong define of macro "AST_RTP_SATA_SET" and "AST_RTP_STAT_STRCPY".

if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == current_stat)) { \

should be:
if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == stat)) { \


  was:
Function "CHANNEL(rtcp,all_rtt)" "CHANNEL(rtcp,all_loss)" "CHANNEL(rtcp,all_jitter)" always return 0 due to the define of macro "AST_RTP_SATA_SET" and "AST_RTP_STAT_STRCPY".

if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == current_stat)) { \

should be:
if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == stat)) { \



> Function "CHANNEL(rtcp,all_rtt)" "CHANNEL(rtcp,all_loss)" "CHANNEL(rtcp,all_jitter)" always return 0
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26710
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26710
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 13.8.0
>         Environment: CentOS6.5-X64
>            Reporter: Aaron An
>            Severity: Critical
>
> Function "CHANNEL(rtcp,all_rtt)" "CHANNEL(rtcp,all_loss)" "CHANNEL(rtcp,all_jitter)" always return 0 due to the wrong define of macro "AST_RTP_SATA_SET" and "AST_RTP_STAT_STRCPY".
> if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == current_stat)) { \
> should be:
> if (stat == current_stat || stat == AST_RTP_INSTANCE_STAT_ALL || (combined >= 0 && combined == stat)) { \



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



More information about the asterisk-bugs mailing list