From 4db3a8e956a7eae17bb91e248f47e385647a9dbd Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandresavard@alexandresavard-desktop.(none)> Date: Wed, 2 Dec 2009 10:58:48 -0500 Subject: [PATCH] [#2517] Fix DTMF over RTP issue, don't play the EVENT RTP packet --- sflphone-common/src/audio/audiortp/AudioRtpSession.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sflphone-common/src/audio/audiortp/AudioRtpSession.h b/sflphone-common/src/audio/audiortp/AudioRtpSession.h index 6cd4cf773c..afe37aa21d 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpSession.h +++ b/sflphone-common/src/audio/audiortp/AudioRtpSession.h @@ -466,7 +466,12 @@ namespace sfl { unsigned int size = adu->getSize(); // size in char - processDataDecode (spkrData, size, countTime); + // _debug("RTP size: %i\n", size); + + // Size of DTMF over RTP + if(size > 4) { + processDataDecode (spkrData, size, countTime); + } } template <typename D> -- GitLab