[asterisk-bugs] [JIRA] (ASTERISK-26703) PJSIP Opus jitter rating incorrect over AMI RTCP events

Sean Bright (JIRA) noreply at issues.asterisk.org
Sat Oct 30 12:21:49 CDT 2021


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

Sean Bright commented on ASTERISK-26703:
----------------------------------------

I am pretty sure this is just math. {{Report0IAJitter}} is timestamp units which is a function of sample rate and because Opus has a sample rate of 48khz, you're going to have an IAJitter that is 6x higher than it would be for something like ulaw that has a sample rate of 8khz.

> PJSIP Opus jitter rating incorrect over AMI RTCP events
> -------------------------------------------------------
>
>                 Key: ASTERISK-26703
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26703
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/codec_opus, Core/ManagerInterface
>    Affects Versions: 13.13.1
>         Environment: Centos x64
>            Reporter: Luke Escude
>
> In the following console readout, x101 is a device using Opus. You can see that asterisk is correctly measuring jitter (the audio quality was flawless, so jitter is close to 0).
> {noformat}
> testbed3*CLI> pjsip show channelstats
>           100-00000001       00:20:20 ulaw    61001       2    0   0.000  61000       0    0   0.005 999.999
>           101-00000003       00:01:20 ulaw      932       0    0   0.000   3890       0    0   0.003 999.999
> testbed3*CLI> pjsip show channelstats
>           100-00000001       00:20:20 ulaw    61034       2    0   0.000  61033       0    0   0.006 999.999
>           101-00000003       00:01:20 ulaw      965       0    0   0.000   3923       0    0   0.003 999.999
> testbed3*CLI> pjsip show channelstats
>           100-00000001       00:20:21 ulaw    61075       2    0   0.000  61074       0    0   0.007 999.999
>           101-00000003       00:01:21 ulaw     1007       1    0   0.000   3965       0    0   0.006 999.999
> testbed3*CLI> pjsip show channelstats
>           100-00000001       00:20:22 ulaw    61105       2    0   0.000  61104       0    0   0.004 999.999
>           101-00000003       00:01:22 ulaw     1036       1    0   0.000   3994       0    0   0.004 999.999
> testbed3*CLI> pjsip show channelstats
>           100-00000001       00:20:22 ulaw    61138       2    0   0.000  61137       0    0   0.005 999.999
>           101-00000003       00:01:22 ulaw     1069       1    0   0.000   4027       0    0   0.005 999.999
> {noformat}
> However, the AMI is receiving values that are insanely off:
> {noformat}
> 253.0
> 172.0
> 237.0
> etc.
> {noformat}
> All other codecs are correctly coming across the AMI.



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



More information about the asterisk-bugs mailing list