FS-8275 #resolve [RFC2833 DTMF broken in recent master]

This commit is contained in:
Anthony Minessale 2015-10-01 19:43:51 -05:00
parent 39029080c2
commit c71b0cbd86
1 changed files with 1 additions and 1 deletions

View File

@ -4434,7 +4434,7 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s
}
if (best_te) {
if (sdp_type == SDP_TYPE_REQUEST) {
if (sdp_type == SDP_TYPE_RESPONSE) {
te = smh->mparams->te = (switch_payload_t) best_te;
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Set 2833 dtmf send payload to %u\n",
switch_channel_get_name(session->channel), best_te);