[Asterisk-cvs] asterisk/channels chan_iax2.c,1.50,1.51

markster at lists.digium.com markster at lists.digium.com
Sat Oct 4 00:31:49 CDT 2003


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv28296/channels

Modified Files:
	chan_iax2.c 
Log Message:
Don't assume we acked when handling transfer


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- chan_iax2.c	1 Oct 2003 22:59:06 -0000	1.50
+++ chan_iax2.c	4 Oct 2003 05:33:00 -0000	1.51
@@ -2244,7 +2244,8 @@
 		} else
 			fh->iseqno = fr->iseqno;
 		/* Keep track of the last thing we've acknowledged */
-		pvt->aseqno = fr->iseqno;
+		if (!transfer)
+			pvt->aseqno = fr->iseqno;
 		fh->type = fr->af.frametype & 0xFF;
 		if (fr->af.frametype == AST_FRAME_VIDEO)
 			fh->csub = compress_subclass(fr->af.subclass & ~0x1) | ((fr->af.subclass & 0x1) << 6);




More information about the svn-commits mailing list