]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7472
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 28 Apr 2015 21:12:24 +0000 (16:12 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 28 Apr 2015 21:12:37 +0000 (16:12 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index ece392334cc03e60092d6da000fd3c8a80ac9e77..c1f72728790e0d230ba81072d6796ece426a7aea 100644 (file)
@@ -167,6 +167,9 @@ void sofia_glue_attach_private(switch_core_session_t *session, sofia_profile_t *
        tech_pvt->mparams.rtp_timeout_sec = profile->rtp_timeout_sec;
        tech_pvt->mparams.rtp_hold_timeout_sec = profile->rtp_hold_timeout_sec;
        
+       if (profile->rtp_digit_delay) {
+               tech_pvt->mparams.dtmf_delay = profile->rtp_digit_delay;
+       }
 
        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);