[asterisk-bugs] [Asterisk 0013499]: 0007016: Nonce blanked in Elastix system
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Sep 16 22:25:21 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13499
======================================================================
Reported By: hezude
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13499
Category: Channels/chan_sip/Registration
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.4.21.2
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-09-16 18:49 CDT
Last Modified: 2008-09-16 22:25 CDT
======================================================================
Summary: 0007016: Nonce blanked in Elastix system
Description:
asterisk (as client) -------> registers ------------> zte-softswitch
zte-ss ----> 401 (nonce="5e527958cfb8005ef60c415f765785d1") ----> ast
ast -------------> register with blank nonce! ----------> zte-ss
======================================================================
----------------------------------------------------------------------
(0092601) mmaguire (reporter) - 2008-09-16 22:25
http://bugs.digium.com/view.php?id=13499#c92601
----------------------------------------------------------------------
I believe that this is expected behaviour.
The WWW-Authenticate: header in the challenge from your ZTE challenge is
multiple line. In order to parse this correctly, you need to set the
"pedantic=yes" parameter in the [general] section of your sip.conf.
I see you tried to specify "pedantic=yes" in your peer definition, but a
quick inspection of the code shows that this is only valid in the [general]
section. If you don't define "pedantic=yes" in your [general] section, then
the default is taken to be "pedantic=no", and then the multiline
WWW-Authenticate: header will not be properly parsed. I believe this is
most likely why your nonce value in your asterisk response is empty.
Please try to move the "pedantic=yes" parameter to the [general] section
and retest.
Issue History
Date Modified Username Field Change
======================================================================
2008-09-16 22:25 mmaguire Note Added: 0092601
======================================================================
More information about the asterisk-bugs
mailing list