[Devel] [ openser-Bugs-1448453 ] UAC parse error

SourceForge.net noreply at sourceforge.net
Mon Mar 13 13:54:29 CET 2006


Bugs item #1448453, was opened at 2006-03-12 22:03
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1448453&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: modules
Group: ver devel
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Bogdan (bogdan_iancu)
Summary: UAC parse error

Initial Comment:
When trying to authenticate to voipbuster.com with UAC
I get the following error message:

/usr/sbin/openser[15766]:
ERROR:uac:parse_authenticate_body: parse error in
<Digest
realm="sipdiscount.com",nonce="227614094",algorithm=MD5>
around 59

The SIP packet which is sent by voipbuster looks like
the following:

SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP
XX.XX.XX.XX;branch=z9hG4bK2ff2.dce3f3c6.0..Via:
SIP/2.0/UDP YY.YY.YY.YY
  5;branch=z9hG4bK2ff2.e76518e4.0..Via: SIP/2.0/UDP
192.168.0.144:5060;branch=z9hG4bK1582054784;received=ZZ.ZZ.ZZ.ZZ;rp
  ort=5060..From:
<sip:example at voipbuster.com>;tag=1833533329..To:
<sip:001234567 at foo.example>..Contact: sip:0
  01234567 at 194.120.0.202:5060..Call-ID:
1354156290 at 192.168.0.144..CSeq: 21 INVITE..User-Agent:
(Very nice Sip Regis
  trar Server)..Allow:
ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS..WWW-Authenticate:
Digest realm="sipdiscount.com",nonce="22
  7614094",algorithm=MD5..Content-Length: 0


----------------------------------------------------------------------

>Comment By: Bogdan (bogdan_iancu)
Date: 2006-03-13 14:54

Message:
Logged In: YES 
user_id=1275325

look like the problem is the algorithm value which is not
quoted. The parser expects a quoted value even if the
RFC2617 does not enforce it.

  algorithm     = "algorithm" "=" ( "MD5" | "MD5-sess" |
                  token )

I will take care and fix it.
thanks for report

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1448453&group_id=139143



More information about the Devel mailing list