Exit native bridging early for greater timing accuracy with warnings
authorJeff Peeler <jpeeler@digium.com>
Tue, 23 Mar 2010 21:17:23 +0000 (21:17 +0000)
committerJeff Peeler <jpeeler@digium.com>
Tue, 23 Mar 2010 21:17:23 +0000 (21:17 +0000)
commit48edf2c78a336139d9058349add502c5ab3103f9
treedf50ca909117d962aa0fcf5252678ea774d9efda
parent61e7dbddddaca6ba9bf8e195c2ce6a20a56af8b9
Exit native bridging early for greater timing accuracy with warnings

This changes native bridging to break one millisecond early so that the more
accurate timeval calculations done in the generic bridge can be performed using
the bridge config. Currently the time between exiting native bridging slightly
late can sometimes cause a large enough discrepancy for warnings to be missed.
For the record, 1.4 does not attempt to native bridge at all when warnings are
enabled.

(closes issue #15815)
Reported by: adomjan

Review: https://reviewboard.asterisk.org/r/577/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@254050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c