]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix for MODENDP-34
authorMichael Jerris <mike@jerris.com>
Mon, 29 Oct 2007 05:03:28 +0000 (05:03 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 29 Oct 2007 05:03:28 +0000 (05:03 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6079 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index c70b4cc8a68bffa34720d4867ceaf567499cfe8a..0204d3214339b5e7d42c18f053b0161ecde94537 100644 (file)
@@ -891,8 +891,7 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, sip_authorization_t co
        }
                
        if (!(xparams = switch_xml_child(user, "params"))) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "can't find params for user [%s@%s]\n", username, realm);
-               ret = AUTH_FORBIDDEN;
+               ret = AUTH_OK;
                goto end;
        }