Just to be on the safe side, don't update timestamps against anything but voice packets.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent 7075b58ee1
commit 785ac43c84

@ -4574,7 +4574,7 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
fr.oseqno = fh->oseqno;
fr.iseqno = fh->iseqno;
fr.ts = ntohl(fh->ts);
if (ntohs(fh->dcallno) & IAX_FLAG_RETRANS)
if ((ntohs(fh->dcallno) & IAX_FLAG_RETRANS) || (f.frametype != AST_FRAME_VOICE))
updatehistory = 0;
if ((iaxs[fr.callno]->iseqno != fr.oseqno) &&
(iaxs[fr.callno]->iseqno ||

Loading…
Cancel
Save