mod_sofia: fix profile SIP INFO dtmf not working

This commit is contained in:
Moises Silva 2011-02-18 18:57:12 -05:00
parent 60395cea46
commit 4c4ca08dfc
1 changed files with 2 additions and 0 deletions

View File

@ -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;