From d7621a413512619632e992c593ece722472b5f79 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 12 Nov 2008 11:55:47 +0000 Subject: [PATCH] Tue Oct 2 10:51:22 EDT 2007 Mikhail Zabaluev * 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 --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/nua/outbound.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 47769799f6..852d4417fb 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Mon Oct 6 17:52:55 EDT 2008 +Wed Nov 12 11:22:49 EST 2008 diff --git a/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c b/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c index 3f4d8e294b..f9f571278e 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c +++ b/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c @@ -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;