From 12f56e293d7b66aa788259535d12d7a5f47071e8 Mon Sep 17 00:00:00 2001 From: surendrasignalwire <56929670+surendrasignalwire@users.noreply.github.com> Date: Tue, 5 Nov 2019 01:22:38 +0530 Subject: [PATCH] [Core] Fix one way audio after executing the uuid_recv_dtmf with dtmf string ending with w or W. --- src/switch_rtp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 8a90dca43e..6179d68448 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -5382,7 +5382,8 @@ static void set_dtmf_delay(switch_rtp_t *rtp_session, uint32_t ms, uint32_t max_ upsamp = ms * (rtp_session->samples_per_second / 1000); max_upsamp = max_ms * (rtp_session->samples_per_second / 1000); - + + rtp_session->sending_dtmf = 0; rtp_session->queue_delay = upsamp; if (rtp_session->flags[SWITCH_RTP_FLAG_USE_TIMER]) {