From: Anthony Minessale Date: Sat, 19 Feb 2011 01:03:07 +0000 (-0600) Subject: FS-3078 see wrapper function that should do the same thing this is called at the... X-Git-Tag: v1.2-rc1~187^2~1^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a23b335b507568c0dc4a1005675a7fcbdf21ad9d;p=thirdparty%2Ffreeswitch.git FS-3078 see wrapper function that should do the same thing this is called at the time when the sdp is created so if it still doesn't work it would suggest that you have this variable set passing in from the other leg in which case you need to set it explicitly because the mode of the inbound leg prevails over the profile default --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index b2185a2f15..34ff243ff0 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; } + sofia_glue_check_dtmf_type(tech_pvt); + if (!sofia_test_pflag(tech_pvt->profile, PFLAG_SUPPRESS_CNG)) { if (tech_pvt->bcng_pt) { tech_pvt->cng_pt = tech_pvt->bcng_pt;