[asterisk-commits] russell: trunk r44876 -
/trunk/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Oct 11 06:38:38 MST 2006
Author: russell
Date: Wed Oct 11 08:38:37 2006
New Revision: 44876
URL: http://svn.digium.com/view/asterisk?rev=44876&view=rev
Log:
Revert Luigi's accidental commit of his local changes when debugging some SIP
authentication issues. This was committed in revision 44844, where the commit
message was just "small formatting cleanup", so I am pretty sure he didn't mean
to commit this part.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=44876&r1=44875&r2=44876&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Oct 11 08:38:37 2006
@@ -8710,16 +8710,6 @@
}
if (ast_strlen_zero(of))
return AUTH_SUCCESSFUL;
-
- if (1) {
- const char *hdr = (sipmethod == SIP_REGISTER || sipmethod == SIP_SUBSCRIBE) ?
- "Authorization" : "Proxy-Authorization";
- if ( (hdr = get_header(req, hdr)) && (hdr = strstr(hdr, "username=\"")) ) {
- ast_copy_string(from, hdr + strlen("username=\""), sizeof(from));
- of = from;
- of = strsep(&of, "\"");
- }
- }
if (!authpeer) /* If we are looking for a peer, don't check the user objects (or realtime) */
user = find_user(of, 1);
More information about the asterisk-commits
mailing list