]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 10 Jan 2011 19:20:38 +0000 (13:20 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 10 Jan 2011 19:20:38 +0000 (13:20 -0600)
src/switch_rtp.c

index 04d5940167c17592dbe99b7c6de1f9f5bf68f89b..038e1d981b8ad1b46fd7357acd95865c775c2681 100644 (file)
@@ -2968,7 +2968,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
                }
 
 
-               if (rtp_session->dtmf_data.in_digit_ts) {
+               if (bytes && rtp_session->dtmf_data.in_digit_ts) {
                        if (!switch_rtp_ready(rtp_session)) {
                                goto end;
                        }