allow {dtmf_type=none} to work in oubound dial strings

This commit is contained in:
Anthony Minessale
2010-10-26 15:43:14 -05:00
parent 08d2ea9d96
commit e10bc0a965
3 changed files with 22 additions and 12 deletions
+3
View File
@@ -80,6 +80,9 @@ static switch_status_t sofia_on_init(switch_core_session_t *session)
tech_pvt->read_frame.buflen = SWITCH_RTP_MAX_BUF_LEN;
switch_mutex_lock(tech_pvt->sofia_mutex);
sofia_glue_check_dtmf_type(tech_pvt);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s SOFIA INIT\n", switch_channel_get_name(channel));
if (switch_channel_test_flag(channel, CF_PROXY_MODE) || switch_channel_test_flag(channel, CF_PROXY_MEDIA)) {
sofia_glue_tech_absorb_sdp(tech_pvt);