Tue Oct 2 10:51:22 EDT 2007 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>

* outbound.c: Do keepalives even when no NAT was detected



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10348 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-12 11:55:47 +00:00
parent 16bcb7e1e6
commit d7621a4135
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Mon Oct 6 17:52:55 EDT 2008
Wed Nov 12 11:22:49 EST 2008

View File

@ -677,7 +677,7 @@ void outbound_start_keepalive(outbound_t *ob,
interval = ob->ob_prefs.interval;
need_to_validate = ob->ob_prefs.validate && !ob->ob_validated;
if (!ob->ob_nat_detected || !register_transaction ||
if (!register_transaction ||
!(need_to_validate || interval != 0)) {
outbound_stop_keepalive(ob);
return;