just a quick guess - try www_challenge("bwsys.net", "0"); and
www_authorize("bwsys.net", "") (don't know what the second
attribute is
about - but maybe Messenger doesn't like it)
regards,
klaus
Michael Shuler wrote:
Windows Messenger 5.1 attempts to register but SER
decides that its got a
bad packet. Any idea what I'm doing wrong?
if(uri == myself)
{
if(method == "REGISTER")
{
# Make sure they are a valid user on our proxy
if(!www_authorize("bwsys.net",
"sipfriends"))
{
# xlog("L_INFO", "Req Auth For %ct, URI =
%ru");
www_challenge("bwsys.net", "1");
break;
};
# xlog("L_INFO", "Registered Contact %ct, URI =
%ru");
save("location");
break;
};
};
U 12.221.249.222:2235 -> 198.88.216.84:5060
REGISTER sip:198.88.216.84 SIP/2.0..Via: SIP/2.0/UDP
172.25.25.100:13184..Max-Forwards: 70..From: <sip:MikeLaptop@198.88.216.84
;tag=bbad1c9410db4c55bc92b5f1ee653c1f;epid=0bde29f1fa..To:
<sip:MikeLaptop@198.88.216.84>..Call-ID: c2c09c85a7894f259e6be7cdf1
8ddc7c..CSeq: 1 REGISTER..Contact:
<sip:172.25.25.100:13184>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE,
OPTIONS, BYE, CANCEL, N
OTIFY, ACK, REFER, BENOTIFY"..User-Agent: RTC/1.3.5369 (Messenger
5.1.0639)..Event: registration..Allow-Events: presence..Conte
nt-Length: 0....
#
U 198.88.216.84:5060 -> 12.221.249.222:2235
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP
172.25.25.100:13184;rport=2235;received=12.221.249.222..From:
<sip:MikeLaptop@198.88
.216.84>;tag=bbad1c9410db4c55bc92b5f1ee653c1f;epid=0bde29f1fa..To:
<sip:MikeLaptop@198.88.216.84>;tag=469318dd5d1a71e9927f4c3d0
4c855c1.3684..Call-ID: c2c09c85a7894f259e6be7cdf18ddc7c..CSeq: 1
REGISTER..WWW-Authenticate: Digest realm="bwsys.net", nonce="4
1c7137ddee9e9583c50f481de82ff43d682d7d2", qop="auth"..Server: Sip
EXpress
router (0.8.14 (i386/linux))..Content-Length: 0....
############################################################################
###########
U 12.221.249.222:2236 -> 198.88.216.84:5060
REGISTER sip:198.88.216.84 SIP/2.0..Via: SIP/2.0/UDP
172.25.25.100:13184..Max-Forwards: 70..From: <sip:MikeLaptop@198.88.216.84
;tag=6fe4da518cec45079592bab51b24c9a6;epid=0bde29f1fa..To:
<sip:MikeLaptop@198.88.216.84>..Call-ID: 8c2c5a2c23b246c9acae80f1f0
f819f0..CSeq: 1 REGISTER..Contact:
<sip:172.25.25.100:13184>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE,
OPTIONS, BYE, CANCEL, N
OTIFY, ACK, REFER, BENOTIFY"..User-Agent: RTC/1.3.5369 (Messenger
5.1.0639)..Event: registration..Allow-Events: presence..Conte
nt-Length: 0....
#
U 198.88.216.84:5060 -> 12.221.249.222:2236
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP
172.25.25.100:13184;rport=2236;received=12.221.249.222..From:
<sip:MikeLaptop@198.88
.216.84>;tag=6fe4da518cec45079592bab51b24c9a6;epid=0bde29f1fa..To:
<sip:MikeLaptop@198.88.216.84>;tag=469318dd5d1a71e9927f4c3d0
4c855c1.3684..Call-ID: 8c2c5a2c23b246c9acae80f1f0f819f0..CSeq: 1
REGISTER..WWW-Authenticate: Digest realm="bwsys.net", nonce="4
1c713a5f7cb83c6a875ededbbd8c05990dcfcfc", qop="auth"..Server: Sip
EXpress
router (0.8.14 (i386/linux))..Content-Length: 0....
#
U 12.221.249.222:2236 -> 198.88.216.84:5060
REGISTER sip:198.88.216.84 SIP/2.0..Via: SIP/2.0/UDP
172.25.25.100:13184..Max-Forwards: 70..From: <sip:MikeLaptop@198.88.216.84
;tag=6fe4da518cec45079592bab51b24c9a6;epid=0bde29f1fa..To:
<sip:MikeLaptop@198.88.216.84>..Call-ID: 8c2c5a2c23b246c9acae80f1f0
f819f0..CSeq: 2 REGISTER..Contact:
<sip:172.25.25.100:13184>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE,
OPTIONS, BYE, CANCEL, N
OTIFY, ACK, REFER, BENOTIFY"..User-Agent: RTC/1.3.5369 (Messenger
5.1.0639)..Authorization: Digest username="MikeLaptop(a)198.8898.88.
216.84", realm="bwsys.net", qop=auth, algorithm=md5,
uri="sip:198.88.216.84",
nonce="41c713a5f7cb83c6a875ededbbd8c05990dcfcfc",
nc=00000001, cnonce="34434462344244301731442301567622",
response="bffa95785672e35e97197aded919c830"..Event: registration..Allo
w-Events: presence..Content-Length: 0....
#
U 198.88.216.84:5060 -> 12.221.249.222:2236
SIP/2.0 400 Bad Request..Via: SIP/2.0/UDP
172.25.25.100:13184;rport=2236;received=12.221.249.222..From:
<sip:MikeLaptop@198.88.
216.84>;tag=6fe4da518cec45079592bab51b24c9a6;epid=0bde29f1fa..To:
<sip:MikeLaptop@198.88.216.84>;tag=469318dd5d1a71e9927f4c3d04
c855c1.3684..Call-ID: 8c2c5a2c23b246c9acae80f1f0f819f0..CSeq: 2
REGISTER..Server: Sip EXpress router (0.8.14 (i386/linux))..Con
tent-Length: 0....
----------------------------------------
Michael Shuler, C.E.O.
BitWise Communications, Inc. (CLEC) And BitWise Systems, Inc. (ISP)
682 High Point Lane
East Peoria, IL 61611
Office: (217) 585-0357
Cell: (309) 657-6365
Fax: (309) 213-3500
E-Mail: mike(a)bwsys.net
Customer Service: (877) 976-0711
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers