diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 0b5bed4c9e..0d4fe65fe9 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -163,6 +163,9 @@ void sofia_glue_attach_private(switch_core_session_t *session, sofia_profile_t * tech_pvt->mparams.rtcp_video_interval_msec = profile->rtcp_video_interval_msec; tech_pvt->mparams.sdp_username = profile->sdp_username; tech_pvt->mparams.cng_pt = tech_pvt->cng_pt; + tech_pvt->mparams.rtp_timeout_sec = profile->rtp_timeout_sec; + tech_pvt->mparams.rtp_hold_timeout_sec = profile->rtp_hold_timeout_sec; + switch_media_handle_create(&tech_pvt->media_handle, session, &tech_pvt->mparams); switch_media_handle_set_media_flags(tech_pvt->media_handle, tech_pvt->profile->media_flags);