From be4d36e3c6cec6ea6e21b1b7527a440b7190b5c9 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 9 Sep 2011 11:34:34 -0500 Subject: [PATCH] OMFG one annoying bang --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 02c440ca6f..f893e17a45 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -2255,7 +2255,7 @@ static void do_2833(switch_rtp_t *rtp_session, switch_core_session_t *session) switch_frame_flag_t flags = 0; uint32_t samples = rtp_session->samples_per_interval; - if (!rtp_session->sending_dtmf > 1) { + if (rtp_session->sending_dtmf > 1) { rtp_session->sending_dtmf--; return; }