finish solaris porting for srtp. This should work now, but still needs some more work

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2957 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-10-02 20:49:26 +00:00
parent c4b5df5315
commit 965f8b50d5
15 changed files with 32301 additions and 1099 deletions

View File

@@ -36,6 +36,8 @@
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
#undef PACKAGE_BUGREPORT
#undef VERSION
#undef PACKAGE
#include <datatypes.h>
#include <srtp.h>
@@ -217,7 +219,7 @@ static switch_status_t ice_out(switch_rtp_t *rtp_session)
elapsed = (unsigned int)((switch_time_now() - rtp_session->last_stun) / 1000);
if (elapsed > 30000) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No stun for a long time (PUNT!)\n");
switch_log_printf(SWITCH_CHANNEL_LOG, 3, "No stun for a long time (PUNT!)\n");
return SWITCH_STATUS_FALSE;
}
}