]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge / res_pjsip_sdp_rtp: Fix issues with media not being reinvited during direct...
authorJoshua Colp <jcolp@digium.com>
Tue, 27 Jan 2015 17:35:36 +0000 (17:35 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 27 Jan 2015 17:35:36 +0000 (17:35 +0000)
commit46f6d0bdfb5e41fea1088f52b34ff4a07b41b585
tree477aa82cf9ddb37274f1c991ad29d64d05435a28
parent757e99a668d783972b5ec9a106fbcc7c1dc6488a
bridge / res_pjsip_sdp_rtp: Fix issues with media not being reinvited during direct media.

This change fixes two issues:

1. During a swap operation bridging added the new channel before having the swap channel
leave. This was not handled in bridge_native_rtp and could result in a channel not getting
reinvited back to Asterisk. After this change the swap channel will leave first and the
new channel will then join.

2. If a re-invite was received after a session had been established any upstream elements
(such as bridge_native_rtp) were not notified that they may want to re-evaluate things.
After this change an UPDATE_RTP_PEER control frame is queued when this situation occurs
and upstream can react.

AST-1524 #close

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

Merged revisions 431157 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/certified/branches/13.1@431159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/bridge_channel.c
res/res_pjsip_sdp_rtp.c