From: Anthony Minessale Date: Tue, 23 Aug 2011 15:51:10 +0000 (-0500) Subject: switch to INFO instead of nothing when no 2833 was found in sdp X-Git-Tag: v1.2-rc1~51^2~240^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8abc3ba6074c6f010125cd83310fd7cb12b28ece;p=thirdparty%2Ffreeswitch.git switch to INFO instead of nothing when no 2833 was found in sdp --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index c225b4e6a3..8b4c5e2b41 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -4839,9 +4839,9 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, const char *r_s } } } else { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Disable 2833 dtmf\n"); - switch_channel_set_variable(tech_pvt->channel, "dtmf_type", "none"); - tech_pvt->dtmf_type = DTMF_NONE; + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "No 2833 in SDP. Disable 2833 dtmf and switch to INFO\n"); + switch_channel_set_variable(tech_pvt->channel, "dtmf_type", "info"); + tech_pvt->dtmf_type = DTMF_INFO; te = tech_pvt->recv_te = 0; }