From: Anthony Minessale Date: Wed, 21 Jan 2015 01:21:18 +0000 (-0500) Subject: up the ice failover val to 3 sec X-Git-Tag: v1.4.16~1^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a8efb174bfa580617af8eac1da551c1d6590d1;p=thirdparty%2Ffreeswitch.git up the ice failover val to 3 sec --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index e4850bd135..0761948c5a 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1128,7 +1128,7 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d if (switch_cmp_addr(from_addr, ice->addr)) { ice->last_ok = now; } else { - if (!ice->last_ok || (now - ice->last_ok) > 1000000) { + if (!ice->last_ok || (now - ice->last_ok) > 3000000) { hosts_set++; host = switch_get_addr(buf, sizeof(buf), from_addr); port = switch_sockaddr_get_port(from_addr);