[asterisk-bugs] [Asterisk 0019399]: RTP Timestamp jump on marker packet

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 2 12:07:28 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19399 
====================================================================== 
Reported By:                iman
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19399
Category:                   Core/RTP
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.4.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-06-01 20:30 CDT
Last Modified:              2011-06-02 12:07 CDT
====================================================================== 
Summary:                    RTP Timestamp jump on marker packet
Description: 
I have been trying to track down some choppiness that I experience when my
server is connected to a SIP Trunk.  I set up a inbound call and directed
that to MilliWatt app to get continious tone.  When I call in, I hear the
tone with drop out every few seconds.  

I dig deeper and capture packet right in the server where the asterisk is
ran.  Please note that the packets captured do not leave physical network.

In that capture,  I found that on every RTP marker packet, the timestamp
jump more than I expected.  My understanding is that on every RTP packet
for G711u contain 20ms worth of audio.  The packet time stamp should
increase by rate of 160.  Please see the attached untitled.png.  You can
see that on that marker packet the timestamp jump. I use wireshark to open
the captured packet files (my.cap.gz).

I also use wireshark to analyze the packet.  See untitled2.png.  Note that
the decoded RTP packet has gap in it.  Note that in the Stream Analysis
screen that the skew value is very huge and the rate is 9201 HZ. ( I
thought that it should be like 8000HZ).  If you play the audio,  the sound
of the tone is close to what you hear by calling in to the sip trunk.

I have setup 2 DID SIP Trunk from two different company.  I can not make
that number public since it is a paid per minuite plan.  However,  I can
share that number with the developer working on this issue.  You can hear
that the tone drop out is similiar from the one that wireshark play out.

I also am attaching the asterisk log file during the call.  

Thanks
Iman

====================================================================== 

---------------------------------------------------------------------- 
 (0135643) iman (reporter) - 2011-06-02 12:07
 https://issues.asterisk.org/view.php?id=19399#c135643 
---------------------------------------------------------------------- 
I just would like to point out that the source does not change based on the
packet captured.  It is not like the call is transfered or in some
conference.  It is just a plain simple call.

I am not in anyway an expert in RTP.  I believe that the mark in this case
used as indication as talkspurt.  It is shown also in the capture the next
few packets comes in really fast (small delay).  On each talkspurt in
relation to the the last, would a time stamp really still relevant? 

I tested this from 2 different SIP trunk provider (flowroute and
vitelity).  I am in no way be able to test all sip trunk.  Using wireshark,
 I can playback the sound that I capture.  That tone and the drops sound
really close.

I can share my DID to small number of tester.  They are paid by minuites
plan.  I can not publish it here for random people to test.  If you are
interested,  you can download the packet capture file and play it under
wireshark.  Then send me an information where I can PM you the DID.  You
can verify that the tone drop out is really close. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-02 12:07 iman           Note Added: 0135643                          
======================================================================




More information about the asterisk-bugs mailing list