From 67e9790bfb4550e81ff86e1ffc1e793b82ab97e3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 21 Oct 2008 17:16:39 +0000 Subject: [PATCH] make room for t38 packets git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10092 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 54ff9f7688..96f9c5c2b0 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -980,7 +980,7 @@ SWITCH_DECLARE(void) switch_rtp_break(switch_rtp_t *rtp_session) switch_set_flag(rtp_session, SWITCH_RTP_FLAG_BREAK); if (rtp_session->sock_input) { - char o[8] = "PING..."; + char o[4] = "DOH"; switch_size_t len = sizeof(o); switch_socket_sendto(rtp_session->sock_input, rtp_session->local_addr, 0, (void *) o, &len); @@ -1275,7 +1275,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ return_cng_frame(); } - if (bytes && bytes <= 12) { + if (bytes && bytes < 8) { continue; }