[svn-commits] mjordan: branch certified-11.2 r381403 - in /certified/branches/11.2: ./ res/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 14 09:10:50 CST 2013


Author: mjordan
Date: Thu Feb 14 09:10:46 2013
New Revision: 381403

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=381403
Log:
Reset RTP timestamp; sequence number on SSRC change

In r370252 for ASTERISK-18404, Asterisk's handling of RTP was modified to
better account for out of order RTP packets. This was accomplished by using the
RTP timestamp and sequence number to check for out of order packets. However,
when a SSRC change occurs, the timestamp and sequence number will no longer
have any relation to the previously received packets. The variables tracking
the timestamp and sequence number therefore have to be reset.

(closes issue ASTERISK-20906)
Reported by: Eelco Brolman
patches:
  dtmf_on_hold.patch uploaded by Eelco Brolman (license #6442)
........

Merged revisions 378967 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 378984 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    certified/branches/11.2/   (props changed)
    certified/branches/11.2/res/res_rtp_asterisk.c

Propchange: certified/branches/11.2/
------------------------------------------------------------------------------
--- branch-11-merged (original)
+++ branch-11-merged Thu Feb 14 09:10:46 2013
@@ -1,1 +1,1 @@
-/branches/11:378038,378287,378321,378409-378411,378582,378687,378690,380465,381306
+/branches/11:378038,378287,378321,378409-378411,378582,378687,378690,378984,380465,381306

Modified: certified/branches/11.2/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/certified/branches/11.2/res/res_rtp_asterisk.c?view=diff&rev=381403&r1=381402&r2=381403
==============================================================================
--- certified/branches/11.2/res/res_rtp_asterisk.c (original)
+++ certified/branches/11.2/res/res_rtp_asterisk.c Thu Feb 14 09:10:46 2013
@@ -3584,6 +3584,9 @@
 
 		f = ast_frisolate(&srcupdate);
 		AST_LIST_INSERT_TAIL(&frames, f, frame_list);
+
+		rtp->last_seqno = 0;
+		rtp->last_end_timestamp = 0;
 	}
 
 	rtp->rxssrc = ssrc;




More information about the svn-commits mailing list