mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Don't assume we acked when handling transfer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2244,6 +2244,7 @@ static int iax2_send(struct chan_iax2_pvt *pvt, struct ast_frame *f, unsigned in
|
|||||||
} else
|
} else
|
||||||
fh->iseqno = fr->iseqno;
|
fh->iseqno = fr->iseqno;
|
||||||
/* Keep track of the last thing we've acknowledged */
|
/* Keep track of the last thing we've acknowledged */
|
||||||
|
if (!transfer)
|
||||||
pvt->aseqno = fr->iseqno;
|
pvt->aseqno = fr->iseqno;
|
||||||
fh->type = fr->af.frametype & 0xFF;
|
fh->type = fr->af.frametype & 0xFF;
|
||||||
if (fr->af.frametype == AST_FRAME_VIDEO)
|
if (fr->af.frametype == AST_FRAME_VIDEO)
|
||||||
|
Reference in New Issue
Block a user