|Summary:||ASTERISK-05716: [patch] SIP provider sip.qsc.de responds with multiple-line header in "WWW-Authenticate"|
|Reporter:||Volker Haensel (vhaensel)||Labels:|
|Date Opened:||2005-11-26 08:24:22.000-0600||Date Closed:||2011-06-07 14:03:14|
|Environment:||Attachments:||( 0) chan_sip.patch|
( 1) packet.eth
|Description:||German SIP provider sip.qsc.de responds to REGISTER request with "401 Unauthorized" response, that has multiple items in header "WWW-Authenticate" , splitted by ",CRLF". |
chan_sip.c:parse_request does not split these lines correctly, a CRLF after "," should be ignored
****** ADDITIONAL INFORMATION ******
tcpdump of response packet attached
modification of parse_request() fixes this
|Comments:||By: Russell Bryant (russell) 2005-11-26 11:23:51.000-0600|
Please attatch your changes as a patch in 'cvs diff -u' format.
By: Volker Haensel (vhaensel) 2005-11-26 15:08:30.000-0600
patch file added as requested
By: Tilghman Lesher (tilghman) 2005-11-27 09:20:31.000-0600
We need a disclaimer before we can take a further look at your patch.
By: Volker Haensel (vhaensel) 2005-11-27 09:41:54.000-0600
Disclaimer on files
Hereby I disclaim all copyright interest in the changes and enhancements made by me to the program "asterisk" (the "Program").
I affirm that it has no other intellectual property interest that would undermine this release, or the use of the Program, and will do nothing to undermine it in the future.
By: Olle Johansson (oej) 2005-11-28 10:59:41.000-0600
Turn on pedantic in sip.conf and check if it works *without* your patch. In pedantic mode, we do support multiline headers.
By: Volker Haensel (vhaensel) 2005-11-28 13:19:46.000-0600
oej, you are right - this works fine, too
I suggest to close this issue - It does not seems to be bug.
By: Olle Johansson (oej) 2005-11-28 15:20:37.000-0600
Already fixed within the constraints of pedantic mode.