From: Anthony Minessale Date: Fri, 2 Oct 2015 00:43:51 +0000 (-0500) Subject: FS-8275 #resolve [RFC2833 DTMF broken in recent master] X-Git-Tag: v1.6.3~1^2~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c71b0cbd86b5292163715cb88fd9f27feaef97fc;p=thirdparty%2Ffreeswitch.git FS-8275 #resolve [RFC2833 DTMF broken in recent master] --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index edcd43a9b2..1775b80625 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -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);