From: Anthony Minessale Date: Tue, 7 May 2013 13:50:02 +0000 (-0500) Subject: regression parsing rtp-timeout-sec from the profile X-Git-Tag: v1.5.1~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01a748869d71fb3cfbe1564c638e37aea9b7a3bd;p=thirdparty%2Ffreeswitch.git regression parsing rtp-timeout-sec from the profile --- 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);