bridge_native_rtp: Fix hold chain bugs caused by native RTP bridge framehook
authorJonathan Rose <jrose@digium.com>
Fri, 23 Aug 2013 19:05:20 +0000 (19:05 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 23 Aug 2013 19:05:20 +0000 (19:05 +0000)
commitc13d0b7bdc390d39e411cecb517957d975fb1cc2
tree03e0444148161d997450254550792ce79d583357
parent6ebfac8e70b0863fd96ee4fe6ca4b254696fe9c4
bridge_native_rtp: Fix hold chain bugs caused by native RTP bridge framehook

Issuing hold/unhold would lead to odd behavior. Between two chan_sip devices,
a hold could cause an endless chain of updates while with pjsip a similar chain
would begin but then end somewhat randomly. This patch fixes that by no longer
tweaking the RTP glue on both sides of the call for every
HOLD/UNHOLD/UPDATE_RTP_PEER frame.

(issue ASTERISK-22217)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2794/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
bridges/bridge_native_rtp.c