FS-6927 #comment allow sub millisecond resolution for option ping times

This commit is contained in:
Brian West
2014-10-29 16:01:28 -05:00
parent 3c1ad1f014
commit 3b9f0c32e6
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ void sofia_reg_check_gateway(sofia_profile_t *profile, time_t now)
nua_handle_bind(nh, pvt);
gateway_ptr->pinging = 1;
gateway_ptr->ping_sent = switch_micro_time_now();
gateway_ptr->ping_sent = switch_time_now();
nua_options(nh,
TAG_IF(gateway_ptr->register_sticky_proxy, NUTAG_PROXY(gateway_ptr->register_sticky_proxy)),
TAG_IF(user_via, SIPTAG_VIA_STR(user_via)),