]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Core] Fix one way audio after executing the uuid_recv_dtmf with dtmf string ending...
authorsurendrasignalwire <56929670+surendrasignalwire@users.noreply.github.com>
Mon, 4 Nov 2019 19:52:38 +0000 (01:22 +0530)
committerAndrey Volk <andywolk@gmail.com>
Wed, 6 May 2020 22:08:49 +0000 (02:08 +0400)
src/switch_rtp.c

index 8a90dca43ee17965015d3edbcfc8de2ad120039e..6179d684482fc163b3bd883268d0bf46b99acdfc 100644 (file)
@@ -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]) {