]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 1 Jun 2007 21:07:03 +0000 (21:07 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 1 Jun 2007 21:07:03 +0000 (21:07 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5243 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c
src/mod/endpoints/mod_sofia/sofia_reg.c

index 29b4ff2856d1646476b9cfcead5716d29502426a..7bdd5e662781cd8c699742256efe27976a2f7c94 100644 (file)
@@ -600,7 +600,6 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
                        }
                        gateway->freq -= 2;
 
-                       
                        if ((gp = sofia_reg_find_gateway(gateway->name))) {
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Ignoring duplicate gateway '%s'\n", gateway->name);
                                sofia_reg_release_gateway(gp);
@@ -608,7 +607,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Ignoring duplicate uri '%s'\n", gateway->register_from);
                                sofia_reg_release_gateway(gp);
                        } else if ((gp=sofia_reg_find_gateway(gateway->register_contact))) {
-                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Ignoring duplicate contact '%s'\n", gateway->register_from);
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Ignoring duplicate contact '%s'\n", gateway->register_contact);
                                sofia_reg_release_gateway(gp);
                        } else {
                                gateway->next = profile->gateways;
index 7fdd67088f296abaa4d824cd5d8558d4fbc01e96..4901ab448915b2695e4af18d04a2c7f8b7290c2d 100644 (file)
@@ -66,7 +66,7 @@ void sofia_reg_check_gateway(sofia_profile_t *profile, time_t now)
                case REG_STATE_NOREG:
                        break;
                case REG_STATE_REGISTER:
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "registered %s\n", gateway_ptr->name);
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "registered %s\n", gateway_ptr->name);
                        gateway_ptr->expires = now + gateway_ptr->freq;
                        gateway_ptr->state = REG_STATE_REGED;
                        break;