From 01a748869d71fb3cfbe1564c638e37aea9b7a3bd Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 7 May 2013 08:50:02 -0500 Subject: [PATCH] regression parsing rtp-timeout-sec from the profile --- src/mod/endpoints/mod_sofia/sofia_glue.c | 3 +++ 1 file changed, 3 insertions(+) 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);