diff options
author | David Vossel <dvossel@digium.com> | 2009-05-21 19:11:49 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2009-05-21 19:11:49 +0000 |
commit | 88bda581ec7c524050bca769c6705ee5c66357ad (patch) | |
tree | dce9675bf4c292aad00ef9dcda5e59ed9f7ed851 /apps/app_talkdetect.c | |
parent | 1e3ac401f4deca0d3da3a6151ff1c5b0a02cf0e8 (diff) |
Merged revisions 195991 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r195991 | dvossel | 2009-05-21 14:04:56 -0500 (Thu, 21 May 2009) | 14 lines
Sign problem calculating timestamp for iax frame leads to no audio on the receiving peer.
There are rare cases in which a frame's delivery timestamp is slightly less than the iax2_pvt's offset. This causes the pvt's timestamp to be a small negative number, but since the timestamp value is unsigned it looks like a huge positive number. This patch checks for this negative case and sets the ms to zero. A similar check is already done right below this one in the 'else' statement.
(closes issue #15032)
Reported by: guillecabeza
Patches:
chan_iax2.c.patch_timestamp uploaded by guillecabeza (license 380)
Tested by: guillecabeza
(closes issue #14216)
Reported by: Andrey Sofronov
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@195995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_talkdetect.c')
0 files changed, 0 insertions, 0 deletions