-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
txjitavg and txjitmax have unreasonable values #2
Comments
works for me, you want to try to understand what's wrong maybe you have ports that are not open, or natted? maybe remote send you wrong RTCP? try it from an host directly on the internet... btw, I always use duration=40, maybe 10 sec is too short to accumulate enough RTCP pkts for stats |
Ok, will make some trace and see what will show up. What about the "Also call disconnection shows Reason=603 (Decline) although it was disconnected from the sipnagios with BYE."? |
no idea :) you may want to check it out what happened also, get a complete pcap and check it out in wireshark I use sipnagios in production, with default values, from an host directly on Internet (eg: no NAT) |
One more thing - MOS calculation can not be correct rx=4.50 tx=4.50 with txjitavg=97272.6ms txjitmax=481182.0ms It would also be good to be able to select audio codec using app parameter. Now PCMU is set by default. I had to change it in source code to PCMA to comply with European coding. |
I repeated the tests with default 40 seconds duration and still getting both issues: root@status:/usr/src/sipnagios/pjproject-2.11# sipnagios --rtp-port=4000 --local-port=8090 --ip-addr=1.2.3.4 --local-user=+123445677 --local-siprealm=sip.test.com --local-password=cAcyAgaC46AKuRk sip:[email protected]:5060 --log-level=9 --app-log-level=9 |
¯_(ツ)_/¯ you may want to try to find out where those tx jit comes from, eg sprinkling printfs around |
(btw, you can raise the threshold for txjitavg CRIT and WARN, so sipnagios would still works for you even if remote is sending you wrong or no rtcp) |
I got it, nevertheless there is something wrong with tx MOS calculation, as it can never be 4.5 with txjitavg=24318.3ms |
no idea where those values comes from |
BTW what are you using as the B-side for the sipnagios? |
Hi,
after running the sipnagios I get the unreasonable values for txjitavg=97272.6ms txjitmax=481182.0ms more then actual call duration of 10 seconds
Also call disconnection shows Reason=603 (Decline) although it was disconnected from the sipnagios with BYE.
root@status:/usr/src/sipnagios/123/sipnagios# sipnagios --rtp-port=4000 --local-port=8090 --ip-addr=192.168.3.43 --local-user=+123456789 --local-siprealm=sip.test.com --local-password=cAcyAgaC46AKuRk sip:[email protected]:5060 --log-level=9 --app-log-level=9 -d 10
19:16:48.278 sipnagios.c !SIP UDP listening on 192.168.3.43:8090
19:16:48.279 sipnagios.c Making 1 calls to sip:[email protected]:5060..
19:16:50.346 sipnagios.c !....Call #0 connected in 2067 ms
19:17:00.359 sipnagios.c ....Call #0 disconnected. Reason=603 (Decline)
19:17:00.359 sipnagios.c ....Call #0 monitoring:
CRIT txjitavg=97272.6 MOS[rx=4.50 tx=4.50] Call To: sip:[email protected];tag=f22105bc TIME[pddms=47ms ttams=2067ms durationms=10014ms] RX[rxmos=4.50 rxpkts=501 rxbytes=80160B rxloss=0 rxlosspct=0.0% rxdup=0 rxduppct=0.0% rxreorder=0 rxreorderpct=0.0% rxjitmin=0.0ms rxjitavg=0.0ms rxjitmax=1.0ms] TX[txmos=4.50 txpkts=495 txbytes=79200B txloss=0 txlosspct=0.0% txdup=0 txduppct=0.0% txreorder=0 txreorderpct=0.0% txjitmin=0.0ms txjitavg=97272.6ms txjitmax=481182.0ms] RTT[rttmin=13.1ms rttmean=13.5ms rttmax=13.8ms] |durationms=10014ms pddms=47ms ttams=2067ms rxmos=4.50 rxpkts=501 rxbytes=80160B rxloss=0 rxlosspct=0.0% rxdup=0 rxduppct=0.0% rxreorder=0 rxreorderpct=0.0% rxjitmin=0.0ms rxjitavg=0.0ms rxjitmax=1.0ms txmos=4.50 txpkts=495 txbytes=79200B txloss=0 txlosspct=0.0% txdup=0 txduppct=0.0% txreorder=0 txreorderpct=0.0% txjitmin=0.0ms txjitavg=97272.6ms txjitmax=481182.0ms rttmin=13.1ms rttmean=13.5ms rttmax=13.8ms
The text was updated successfully, but these errors were encountered: