[asterisk-commits] russell: branch 1.4 r75759 - in /branches/1.4: ./ channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 18 16:09:47 CDT 2007


Author: russell
Date: Wed Jul 18 16:09:46 2007
New Revision: 75759

URL: http://svn.digium.com/view/asterisk?view=rev&rev=75759
Log:
Merged revisions 75757 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75757 | russell | 2007-07-18 16:09:13 -0500 (Wed, 18 Jul 2007) | 5 lines

When traversing the queue of frames for possible retransmission after
receiving a VNAK, handle sequence number wraparound so that all frames that 
should be retransmitted actually do get retransmitted.
(issue #10227, reported and patched by mihai)

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/channels/chan_iax2.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=75759&r1=75758&r2=75759
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Wed Jul 18 16:09:46 2007
@@ -5936,7 +5936,7 @@
 	AST_LIST_TRAVERSE(&iaxq.queue, f, list) {
 		/* Send a copy immediately */
 		if ((f->callno == callno) && iaxs[f->callno] &&
-			(f->oseqno >= last)) {
+			((unsigned char ) (f->oseqno - last) < 128)) {
 			send_packet(f);
 		}
 	}




More information about the asterisk-commits mailing list