From: Moises Silva Date: Fri, 18 Feb 2011 23:57:12 +0000 (-0500) Subject: mod_sofia: fix profile SIP INFO dtmf not working X-Git-Tag: v1.2-rc1~187^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c4ca08dfce89917afbc9ef10ddf8c97b8769818;p=thirdparty%2Ffreeswitch.git mod_sofia: fix profile SIP INFO dtmf not working --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index a0b7fca2ff..66a06e3a42 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -826,6 +826,8 @@ void sofia_glue_attach_private(switch_core_session_t *session, sofia_profile_t * tech_pvt->recv_te = tech_pvt->te = profile->te; } + tech_pvt->dtmf_type = profile->dtmf_type; + if (!sofia_test_pflag(tech_pvt->profile, PFLAG_SUPPRESS_CNG)) { if (tech_pvt->bcng_pt) { tech_pvt->cng_pt = tech_pvt->bcng_pt;