<div dir="ltr">Mark,<div><br></div><div>You have cropped the image you inserted above and removed a very important part of the line you highlighted. I think is says ",Mark" after the time value - You can even see the un-cropped comma in your picture.</div><div><br></div><div>RTP timestamps can be reset mid-stream if needed - It is part of the spec, and most commonly happens when initially (eg Asterisk) generated audio is replaced with audio from an external source once the call is bridged. The early timestamp comes from Asterisk, and the subsequent timestamp is retained from the new source of the RTP.</div><div><br></div><div>No packets should be dropped though in my experience some jitter buffers can handle it poorly.</div><div><br></div><div>Hope that helps,</div><div>Steve</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 29 Aug 2017 at 19:39 Mark Wiater <<a href="mailto:mark.wiater@greybeam.com">mark.wiater@greybeam.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi folks.<br>
    <br>
    I have a couple of questions regarding RTP. <br>
    <br>
    The background of my inquiry is that I have packet captures of SIP
    and RTP traffic on an Asterisk and Broadworks SIP trunk and the RTP
    many times has a time stamp that rewinds by 480 using g.711u. The
    Sequence number continues to increment appropriately, but the
    timestamp just rewinds.<br>
    <br>
    <img src="cid:part1.903DEF47.90538A8D@greybeam.com" alt=""><br>
    <br>
    It doesn't happen on every call, but it's frequent enough to make me
    want to understand it better.<br>
    <br>
    My questions are:<br>
    <br>
    Is there ever a circumstance where it would be normal or logical to
    see the RTP timestamp go backwards during the RTP stream? 
    Consistently by 480, 3 voice frames?<br>
    <br>
    Will Asterisk just drop the packets that compromise the rewind?<br>
    <br>
    Thanks<br>
    <br>
    Mark<br>
    <pre class="m_2189209570572287891moz-signature" cols="72">
</pre>
  </div>

--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>