BUG: Extended stats wrong ( jitter min,avg,dev) pjsip 2.9

SF
Skale Franz
Wed, Jan 22, 2020 1:45 PM

Hi,

in short, by comparing the average, minimum, and deviation you can see that the extended stats are wrong !

Since i want to use the XR stats on linux the overhead is negligible.

The BUG is quite obvious though.

Call time: 00h:00m:14s, 1st res in 1 ms, conn in 24ms
#0 audio PCMA @8kHz, sendrecv, peer=xxxxxxxxxxxxxx
SRTP status: Not active Crypto-suite:
RX pt=8, last update:00h:00m:03.846s ago
total 719pkt 115.0KB (143.8KB +IP hdr) @avg=63.6Kbps/79.6Kbps
pkt loss=0 (0.0%), discrd=0 (0.0%), dup=0 (0.0%), reord=0 (0.0%)
(msec)    min    avg    max    last    dev
loss period:  0.000  0.000  0.000  0.000  0.000
jitter    :  0.000  0.058  0.625  0.000  0.110
TX pt=8, ptime=20, last update:never
total 714pkt 114.2KB (142.8KB +IP hdr) @avg=63.2Kbps/79.0Kbps
pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%)
(msec)    min    avg    max    last    dev
loss period:  0.000  0.000  0.000  0.000  0.000
jitter    :  0.000  0.000  0.000  0.000  0.000
RTT msec      :  0.000  0.000  0.000  0.000  0.000

Extended reports:
 Statistics Summary
   RX last update: never
      begin seq=12276, end seq=12970
      pkt loss=0, dup=0
            (msec)    min     avg     max     dev
      jitter     :   0.000   0.000   0.625   0.000
      toh        : (report not available)

Rgds.

Franz

Hi, in short, by comparing the average, minimum, and deviation you can see that the extended stats are wrong ! Since i want to use the XR stats on linux the overhead is negligible. The BUG is quite obvious though. Call time: 00h:00m:14s, 1st res in 1 ms, conn in 24ms #0 audio PCMA @8kHz, sendrecv, peer=xxxxxxxxxxxxxx SRTP status: Not active Crypto-suite: RX pt=8, last update:00h:00m:03.846s ago total 719pkt 115.0KB (143.8KB +IP hdr) @avg=63.6Kbps/79.6Kbps pkt loss=0 (0.0%), discrd=0 (0.0%), dup=0 (0.0%), reord=0 (0.0%) (msec) min avg max last dev loss period: 0.000 0.000 0.000 0.000 0.000 jitter : 0.000 0.058 0.625 0.000 0.110 TX pt=8, ptime=20, last update:never total 714pkt 114.2KB (142.8KB +IP hdr) @avg=63.2Kbps/79.0Kbps pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%) (msec) min avg max last dev loss period: 0.000 0.000 0.000 0.000 0.000 jitter : 0.000 0.000 0.000 0.000 0.000 RTT msec : 0.000 0.000 0.000 0.000 0.000 Extended reports: Statistics Summary RX last update: never begin seq=12276, end seq=12970 pkt loss=0, dup=0 (msec) min avg max dev jitter : 0.000 0.000 0.625 0.000 toh : (report not available) Rgds. Franz