]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't assume we acked when handling transfer
authorMark Spencer <markster@digium.com>
Sat, 4 Oct 2003 05:33:00 +0000 (05:33 +0000)
committerMark Spencer <markster@digium.com>
Sat, 4 Oct 2003 05:33:00 +0000 (05:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1604 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index fa635242a8deab335e35235210458295311ea53c..7ff48528daf7dea5311e809af225ffbc620985db 100755 (executable)
@@ -2244,7 +2244,8 @@ static int iax2_send(struct chan_iax2_pvt *pvt, struct ast_frame *f, unsigned in
                } 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);