]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3586 --resolve
authorJeff Lenk <jeff@jefflenk.com>
Wed, 23 Nov 2011 19:25:24 +0000 (13:25 -0600)
committerJeff Lenk <jeff@jefflenk.com>
Wed, 23 Nov 2011 19:25:24 +0000 (13:25 -0600)
conf/sip_profiles/internal.xml
src/mod/endpoints/mod_sofia/sofia_reg.c

index 1ccc54e445c6c20f1fee36ebaada7f03aae0fcab..7f688b247292813b04d0a82be0fe50c8886cc84e 100644 (file)
@@ -73,7 +73,7 @@
     <param name="watchdog-step-timeout" value="30000"/>
     <param name="watchdog-event-timeout" value="30000"/>
 
-    <param name="log-auth-failures" value="true"/>
+    <param name="log-auth-failures" value="false"/>
     <param name="forward-unsolicited-mwi-notify" value="false"/>
 
     <param name="context" value="public"/>
index 9aa31ae1ba14df27736dd9cb7f2baf95d31696a8..dfd4677ebe428da7ddf086f2ff0b09b527e851b5 100644 (file)
@@ -1436,7 +1436,7 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand
                }
                /* Log line added to support Fail2Ban */
                if (sofia_test_pflag(profile, PFLAG_LOG_AUTH_FAIL)) {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "SIP auth challenge (%s) on sofia profile '%s' "
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "SIP auth challenge (%s) on sofia profile '%s' "
                                                          "for [%s@%s] from ip %s\n", (regtype == REG_INVITE) ? "INVITE" : "REGISTER", 
                                                          profile->name, to_user, to_host, network_ip);
                }