mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
FS-7432 regression from 251c4ab439 don't count recovering channels
This commit is contained in:
@@ -6610,7 +6610,7 @@ static const char *get_media_profile_name(switch_core_session_t *session, int se
|
||||
|
||||
static char *get_setup(switch_core_session_t *session, switch_sdp_type_t sdp_type)
|
||||
{
|
||||
if (sdp_type == SDP_TYPE_RESPONSE) {
|
||||
if (sdp_type == SDP_TYPE_RESPONSE && !switch_channel_test_flag(session->channel, CF_RECOVERING)) {
|
||||
return "active";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user