mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
FS-6833 FS-6834 fix double re-invite on media establishment
This commit is contained in:
1 parent
46ab943d06
commit
4abaa11b9d
1 file changed
+2
-2
@@ -1749,8 +1749,8 @@ static void cleanup_proxy_mode_b(switch_core_session_t *session)
|
|||||||
{
|
{
|
||||||
switch_channel_t *channel = switch_core_session_get_channel(session);
|
switch_channel_t *channel = switch_core_session_get_channel(session);
|
||||||
|
|
||||||
|
if (switch_channel_test_flag(channel, CF_PROXY_MODE) &&
|
||||||
if (switch_channel_test_flag(channel, CF_PROXY_MODE)) {
|
!switch_channel_test_flag(channel, CF_MEDIA_TRANS) && !switch_channel_test_flag(channel, CF_3P_MEDIA_REQUESTED)) {
|
||||||
switch_ivr_media(switch_core_session_get_uuid(session), SMF_NONE);
|
switch_ivr_media(switch_core_session_get_uuid(session), SMF_NONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user