]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_refer: Fix issue where native bridge may not occur upon completion of a...
authorJoshua Colp <jcolp@digium.com>
Tue, 2 Dec 2014 12:20:08 +0000 (12:20 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 2 Dec 2014 12:20:08 +0000 (12:20 +0000)
commitb86f59f8d18618daa6d18f8a7b4e7272b095356d
treee5510dde4021f3e8b24850382cca0c3902330f6d
parent79a2533f0d79db364a401de76325536acf8ee088
res_pjsip_refer: Fix issue where native bridge may not occur upon completion of a transfer.

There are two methods within res_pjsip_refer for keeping track of the state of a transfer.
The first is a framehook which looks at frames passing by to determine the state. The second
subscribes to know when the channel joins a bridge. In the case when the channel joins the
bridge the framehook is *NOT* removed and this prevents the native RTP bridging technology
from getting used.

This change gets the channel and if it still exists remove the framehook.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@428760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_refer.c