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 [EMAIL PROTECTED] -a rest000 -s sip:[EMAIL PROTECTED]: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:[EMAIL PROTECTED]:5062>
To: <sip:[EMAIL PROTECTED]:5062>
Call-ID: [EMAIL PROTECTED]
CSeq: 2 REGISTER
Contact: sip:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]:5062>
To: <sip:[EMAIL PROTECTED]:5062>;tag=2560d490c3265ff35995c6bbde62a7c3.9f22
Call-ID: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] -a rest000 -s sip:[EMAIL PROTECTED]:5062 -Hvpbx.elmit.com -
vv
New message with Via-Line:
OPTIONS sip:[EMAIL PROTECTED]:5062 SIP/2.0
Via: SIP/2.0/UDP vpbx.elmit.com:3731;rport
From: <sip:[EMAIL PROTECTED]:3731>
To: <sip:[EMAIL PROTECTED]:5062>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 OPTIONS
Contact: <sip:[EMAIL PROTECTED]:3731>
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.8.9_pre
Accept: text/plain


** request **
OPTIONS sip:[EMAIL PROTECTED]:5062 SIP/2.0
Via: SIP/2.0/UDP vpbx.elmit.com:3731;rport
From: <sip:[EMAIL PROTECTED]:3731>
To: <sip:[EMAIL PROTECTED]:5062>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 OPTIONS
Contact: <sip:[EMAIL PROTECTED]: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:[EMAIL PROTECTED]:3731>
To: <sip:[EMAIL PROTECTED]:5062>;tag=2560d490c3265ff35995c6bbde62a7c3.e6e1
Call-ID: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]:5062 out_uri=si
p:[EMAIL PROTECTED]: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
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to