[Freeswitch-svn] [commit] r10092 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Tue Oct 21 13:16:39 EDT 2008
Author: anthm
Date: Tue Oct 21 13:16:39 2008
New Revision: 10092
Modified:
freeswitch/trunk/src/switch_rtp.c
Log:
make room for t38 packets
Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c (original)
+++ freeswitch/trunk/src/switch_rtp.c Tue Oct 21 13:16:39 2008
@@ -980,7 +980,7 @@
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 @@
return_cng_frame();
}
- if (bytes && bytes <= 12) {
+ if (bytes && bytes < 8) {
continue;
}
More information about the Freeswitch-svn
mailing list