Bogdan-Andrei Iancu wrote:

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.


Hi,

with:

debug=7            # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no        # (cmd line: -E)

/* Uncomment these lines to enter debugging mode */
fork=no
log_stderror=yes
/* */

in openser.cfg  openser does not start at all.
The picture shows:

vpbx2:/usr/local/etc/openser # openserctl start

Starting OpenSER :


Thanks for your help!


bye

Ronald Wiplinger


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







--
Ronald Wiplinger  (CEO of ELMIT)
http://www.elmit.com  http://voip.elmit.com  http://e-paper.elmit.com
Tel. (M) +886.939.775.516  (O) +886.2.2835.7765 (ENUM)   or FWD 511208
- I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org

PS: Spam prevention!
Our system is protected with a spam prevention program.
If you send us an e-mail, our system will send you a confirmation message back. Just reply to this confirmation message please. After receiving this confirmation message, our system will send the hold message (one) and all future messages (after the received confirmation message) to me without asking you again.




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

Reply via email to