From a23b335b507568c0dc4a1005675a7fcbdf21ad9d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 18 Feb 2011 19:03:07 -0600 Subject: [PATCH] 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 --- src/mod/endpoints/mod_sofia/sofia_glue.c | 2 ++ 1 file changed, 2 insertions(+) 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;