make room for t38 packets

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10092 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-10-21 17:16:39 +00:00
parent d721a1cf38
commit 67e9790bfb
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}