Deterioration of my trunk quality

Hi,

I try to find a solution for this problem :

[Jul 3 09:30:38] WARNING[3756]: chan_iax2.c:7312 socket_process: Received trunked frame before first full voice frame
[Jul 3 09:30:38] WARNING[3757]: chan_iax2.c:7312 socket_process: Received trunked frame before first full voice frame
[Jul 3 09:30:38] WARNING[3751]: chan_iax2.c:7312 socket_process: Received trunked frame before first full voice frame
[Jul 3 09:30:38] WARNING[3759]: chan_iax2.c:7312 socket_process: Received trunked frame before first full voice frame
[Jul 3 09:30:38] WARNING[3752]: chan_iax2.c:7312 socket_process: Received trunked frame before first full voice frame
…etc …

In the same time the user complain of the telephony quality.
I have 14 ms of ping in my trunk. And i use Cisco with QOS on a dedicaced SDSL.

*CLI> iax2 show netstats
-------- LOCAL --------------------- -------- REMOTE --------------------
Channel RTT Jit Del Lost % Drop OOO Kpkts Jit Del Lost % Drop OOO Kpkts
IAX2/blabla-16385 15 -1 0 -1 -1 0 -1 0 0 40 0 0 0 0 0
IAX2/blabla-16387 12 -1 0 -1 -1 0 -1 0 0 40 0 0 0 0 0
2 active IAX channels

Can you help me ?

Best regards,

Hi Could you post teh iax.conf section for this trunk?

Also if you do have trunk=yes you do have a zaptel timing source.

Ian

Hello,

Thanks for your reponse.

server_master:/etc/asterisk# asterisk -r
Asterisk 1.4.24.1, Copyright © 1999 - 2008 Digium, Inc. and others.
server_slave:/etc/asterisk# asterisk -r
Asterisk 1.4.24.1, Copyright © 1999 - 2008 Digium, Inc. and others.

My configuration ( I use a sangoma key for the timing source on my slave.) :

server_master:/var/lib/asterisk/agi-bin/inc# dahdi_test
Opened pseudo dahdi interface, measuring accuracy…
99.998535% 99.995308% 99.996284% 99.997269% 99.998924% 99.996872% 99.998634%
99.993553% 99.998245% 99.995216% 99.998039% 99.997856% 99.992966% 99.999321%
— Results after 14 passes —
Best: 99.999 – Worst: 99.993 – Average: 99.996930, Difference: 99.997334

; iax.conf server_master
;
[general]
bindport=XXXX
bindaddr=222.222.222.222
delayreject=yes
language=fr
allow=alaw
maxjitterbuffer=800
trunktimestamps=yes
tos=ef

[jourdain]
type=friend
host=111.111.111.111
port=XXXX
context=iax-jourdain
trunk=yes
disallow=all
allow=alaw
jitterbuffer=no
forcejitterbuffer=no
transfer=no

server_salve:~# dahdi_test
Opened pseudo dahdi interface, measuring accuracy…
99.989647% 99.985260% 99.989449% 99.989357% 99.989555% 99.989456% 99.989853%
99.989548% 99.986908% 99.989258% 99.989250% 99.989250% 99.990234% 99.989647% ^C
— Results after 14 passes —
Best: 99.990 – Worst: 99.985 – Average: 99.989048, Difference: 99.989048

server_slave*CLI> iax2 show peers
Name/Username Host Mask Port Status
toulouse 222.222.222.222 (S) 255.255.255.255 XXXX (T) OK (18 ms)

;
; iax.conf server_salve
;
[general]
bindport=XXXX
bindaddr=111.111.111.111
language=fr
maxjitterbuffer=250
trunktimestamps=yes
tos=ef

[toulouse]
type=friend
host=222.222.222.222
port=XXXX
context=iax-toulouse
trunk=yes
allow=alaw
jitterbuffer=no
forcejitterbuffer=no
transfer=no