From d205755ae082f9dcf854d836b31d5cd0e5f87e86 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 4 Nov 2010 14:38:43 -0500 Subject: [PATCH] typo --- src/mod/endpoints/mod_sofia/sofia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index c29c35185f..7cb4c5b528 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2093,10 +2093,10 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag) gateway->reg_timeout_seconds = atoi(timeout_seconds); - if (gateway->retry_seconds < 5) { + if (gateway->reg_timeout_seconds < 5) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid timeout-seconds of %d on gateway %s, using the value of 60 instead.\n", gateway->reg_timeout_seconds, name); - gateway->reg_timeout_seconds = 30; + gateway->reg_timeout_seconds = 60; }