[asterisk-bugs] [Asterisk 0018317]: Terrible jitter on SIP->"Fax for Asterisk", SIP->"Playtones", SIP->"MOH"

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 17 00:54:26 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18317 
====================================================================== 
Reported By:                icanit
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18317
Category:                   Core/RTP
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-11-17 00:54 CST
Last Modified:              2010-11-17 00:54 CST
====================================================================== 
Summary:                    Terrible jitter on SIP->"Fax for Asterisk",
SIP->"Playtones", SIP->"MOH"
Description: 
Greetings!

I have terrible jitter on calling from SIP(tried from LAN hardware
sipphone, from LAN software sipphone and from outside my SIP provider) on
listening
MOH( via queue), Playtones and trying listen Fax for Asterisk(on handshake
sound)

in logs always i see this:
[Nov 17 09:25:22] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 3520, ms is 460
[Nov 17 09:25:23] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 1032, ms is 149
[Nov 17 09:25:23] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 1520, ms is 210
[Nov 17 09:25:23] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 1200, ms is 170
[Nov 17 09:25:23] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 952, ms is 139
[Nov 17 09:25:23] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 1032, ms is 149
[Nov 17 09:25:24] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 872, ms is 129
[Nov 17 09:25:24] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 1048, ms is 151
[Nov 17 09:25:24] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 1192, ms is 169
[Nov 17 09:25:24] DEBUG[9054]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 1840, ms is 250

But if i set Background(/var/lib/asterisk/moh/macroform-robot_dity) it
plays perfect where queue moh have jitter:
[Nov 17 09:45:14] DEBUG[18073]: res_musiconhold.c:338 ast_moh_files_next:
SIP/7100-0000000c Opened file 0
'/var/lib/asterisk/moh/macroform-robot_dity'
[Nov 17 09:45:14] DEBUG[18073]: res_rtp_asterisk.c:1061 ast_rtp_raw_write:
Difference is 1352, ms is 189
....
..
.

I using Asterisk Mysql realtime. My sip.conf:

allowoverlap	=	no
udpbindaddr	=	0.0.0.0
tcpenable	=	yes
tcpbindaddr	=	0.0.0.0
rtcachefriends	=	yes
srvlookup	=	yes
#usejb	=	yes
#jbsize	=	600
#forcejb	=	yes
#jblog	=	yes


Also i can say, what Fax handshake over iaxmodem works without jitter.

Same problem var on 1.6.2.14 before update to 1.8.0(also on 1.6.2.*)
But on virtual mashine on my notebook everything is alright on same
config's.

In additional information i  write server configuration.

A searching a lot of forums and this issue tracker, but all the same
issues was on old asterisk versions and already fixed.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-17 00:54 icanit         New Issue                                    
2010-11-17 00:54 icanit         Asterisk Version          => 1.8.0           
2010-11-17 00:54 icanit         Regression                => No              
2010-11-17 00:54 icanit         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list