D
D
Dmitry Tallmange2014-10-29 13:31:25
Asterisk
Dmitry Tallmange, 2014-10-29 13:31:25

Asterisk iax2 too many OOO packets?

Two asterisks are connected by iax2 trunk.

asterisk-live*CLI> core show version
Asterisk 12.0.0 built by root @ asterisk on a x86_64 running Linux on 2014-02-16 14:07:50 UTC

sip*CLI> core show version
Asterisk 12.6.0 built by ubuntu @ sip.xxxxx.com on a x86_64 running Linux on 2014-09-26 04:30:05 UTC

I set up jitter on the first asterisk:
jitterbuffer=yes
forcejitterbuffer=yes
maxjitterbuffer=2000
maxjitterinterps=80
resyncthreshold=180
jittertargetextra=80

But with ANY settings, too many packets are marked as Out-Of-Order (the command is executed 3 seconds after the start of the conversation), as a result, the voice is almost inaudible:
asterisk-live*CLI> iax2 show netstats
                           -------- LOCAL ---------------------  -------- REMOTE --------------------
Channel               RTT  Jit  Del  Lost   %  Drop  OOO  Kpkts  Jit  Del  Lost   %  Drop  OOO  Kpkts FirstMsg    LastMsg
IAX2/mypeer-15376     1000  498  604     3   0     0   13      0    0    0     0   0     0    0      0 Rx:NEW      Tx:ACK

According to the specification, this happens when some packet arrives out of the queue. It's great that there is the concept of out-of-order, but what causes it and how to fight it?
QoS is configured on the network, so traffic between these two asterisks has the highest priority.
I googled long enough and hard enough, but I did not find a more or less intelligible answer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Sh, 2014-11-07
@Deq56

and if you try to connect them via sip. And try to disable QoS

D
Dmitry Tallmange, 2014-11-07
@p00h

Deq56 , thanks for the reply, that's exactly what I did in the end.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question