]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
regression parsing rtp-timeout-sec from the profile
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 7 May 2013 13:50:02 +0000 (08:50 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 7 May 2013 13:50:02 +0000 (08:50 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 0b5bed4c9ebcdc745b5224b86ed571f1e0b67932..0d4fe65fe90781fa3d2956de1ddba4c631f1445a 100644 (file)
@@ -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);