forked from Mirrors/freeswitch
return stale on invalid auth header
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7248 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
92b2011b37
commit
d3e10179f9
@ -823,6 +823,7 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, sip_authorization_t co
|
||||
|
||||
if (cnt != 8) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Authorization header!\n");
|
||||
ret = AUTH_STALE;
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user