diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index f39ef3c53e..e774267b85 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -695,6 +695,7 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f if (--sanity && switch_channel_ready(channel)) { switch_yield(10000); } else { + switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_RECOVERY_ON_TIMER_EXPIRE); return SWITCH_STATUS_GENERR; } }