Hi Ronald,
to find why your authentication fails, run openser in debug mode
(debug=7) and look into the logs for hints. If you have doubts, just
post the log.
regards,
bogdan
Ronald Wiplinger wrote:
I tried sipsak:
C:\Documents and Settings\user\My Documents\sipsak>sipsak-0.8.8.exe -U
-C sip:80
0000(a)vpbx.elmit.com -a rest000 -s sip:800000@vpbx.elmit.com:5062
-Hvpbx.elmit.com
warning: redirects are not expected in USRLOC. disableing
request:
REGISTER sip:vpbx.elmit.com:5062 SIP/2.0
Authorization: Digest username="800000",
uri="sip:vpbx.elmit.com:5062", algorith
m=MD5, realm="vpbx.elmit.com",
nonce="435724cfa071bd7b4ef9bd25c01b4c5dc020aca3",
response="62e960c0de81fa17af1e53a78156bb78"
Via: SIP/2.0/UDP vpbx.elmit.com:3652;rport
From: <sip:800000@vpbx.elmit.com:5062>
To: <sip:800000@vpbx.elmit.com:5062>
Call-ID: 1856953657(a)vpbx.elmit.com
CSeq: 2 REGISTER
Contact: sip:800000@vpbx.elmit.com
Expires: 15
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.8.9_pre
response:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP vpbx.elmit.com:3652;rport=3652;received=192.168.250.108
From: <sip:800000@vpbx.elmit.com:5062>
To:
<sip:800000@vpbx.elmit.com:5062>;tag=2560d490c3265ff35995c6bbde62a7c3.9f22
Call-ID: 1856953657(a)vpbx.elmit.com
CSeq: 2 REGISTER
WWW-Authenticate: Digest realm="vpbx.elmit.com",
nonce="435724cfa071bd7b4ef9bd25
c01b4c5dc020aca3"
Server: OpenSer (1.0.0-pre0 (x86_64/linux))
Content-Length: 0
Warning: 392 192.168.250.20:5062 "Noisy feedback tells: pid=22704
req_src_ip=19
2.168.250.108 req_src_port=3652 in_uri=sip:vpbx.elmit.com:5062
out_uri=sip:vpbx.
elmit.com:5062 via_cnt==1"
error: authorization failed
request already contains (Proxy-) Authorization, but received
40[1|7], see above
Another try without -U but with -vv
C:\Documents and Settings\user\My Documents\sipsak>sipsak-0.8.8.exe -C
sip:80000
0(a)vpbx.elmit.com -a rest000 -s sip:800000@vpbx.elmit.com:5062
-Hvpbx.elmit.com -
vv
New message with Via-Line:
OPTIONS sip:800000@vpbx.elmit.com:5062 SIP/2.0
Via: SIP/2.0/UDP vpbx.elmit.com:3731;rport
From: <sip:sipsak@vpbx.elmit.com:3731>
To: <sip:800000@vpbx.elmit.com:5062>
Call-ID: 763778098(a)vpbx.elmit.com
CSeq: 1 OPTIONS
Contact: <sip:sipsak@vpbx.elmit.com:3731>
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.8.9_pre
Accept: text/plain
** request **
OPTIONS sip:800000@vpbx.elmit.com:5062 SIP/2.0
Via: SIP/2.0/UDP vpbx.elmit.com:3731;rport
From: <sip:sipsak@vpbx.elmit.com:3731>
To: <sip:800000@vpbx.elmit.com:5062>
Call-ID: 763778098(a)vpbx.elmit.com
CSeq: 1 OPTIONS
Contact: <sip:sipsak@vpbx.elmit.com:3731>
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.8.9_pre
Accept: text/plain
message received:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP vpbx.elmit.com:3731;rport=3731;received=192.168.250.108
From: <sip:sipsak@vpbx.elmit.com:3731>
To:
<sip:800000@vpbx.elmit.com:5062>;tag=2560d490c3265ff35995c6bbde62a7c3.e6e1
Call-ID: 763778098(a)vpbx.elmit.com
CSeq: 1 OPTIONS
Server: OpenSer (1.0.0-pre0 (x86_64/linux))
Content-Length: 0
Warning: 392 192.168.250.20:5062 "Noisy feedback tells: pid=22702
req_src_ip=19
2.168.250.108 req_src_port=3731 in_uri=sip:800000@vpbx.elmit.com:5062
out_uri=si
p:800000@vpbx.elmit.com:5062 via_cnt==1"
** reply received after 11.000 ms **
SIP/2.0 404 Not Found
final received
C:\Documents and Settings\user\My Documents\sipsak>
Any ideas?
bye
Ronald Wiplinger
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users