call recovery_track on recovering channels once the recovery has completed and fix race condition with repeated recovery

This commit is contained in:
Anthony Minessale
2014-07-16 21:40:18 +05:00
parent b6566b8354
commit 91d405a2c1
3 changed files with 6 additions and 1 deletions
-1
View File
@@ -6134,7 +6134,6 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
extract_header_vars(profile, sip, session, nh);
extract_vars(profile, sip, session);
switch_core_recovery_track(session);
switch_channel_clear_flag(tech_pvt->channel, CF_RECOVERING);
}