[Users] I cannot login

Ronald Wiplinger ronald at elmit.com
Thu Oct 20 11:06:44 CEST 2005


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
>> 0000 at vpbx.elmit.com -a rest000 -s sip:800000 at 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 at vpbx.elmit.com:5062>
>> To: <sip:800000 at vpbx.elmit.com:5062>
>> Call-ID: 1856953657 at vpbx.elmit.com
>> CSeq: 2 REGISTER
>> Contact: sip:800000 at 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 at vpbx.elmit.com:5062>
>> To: 
>> <sip:800000 at vpbx.elmit.com:5062>;tag=2560d490c3265ff35995c6bbde62a7c3.9f22 
>>
>> Call-ID: 1856953657 at 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 at vpbx.elmit.com -a rest000 -s sip:800000 at vpbx.elmit.com:5062 
>> -Hvpbx.elmit.com -
>> vv
>> New message with Via-Line:
>> OPTIONS sip:800000 at vpbx.elmit.com:5062 SIP/2.0
>> Via: SIP/2.0/UDP vpbx.elmit.com:3731;rport
>> From: <sip:sipsak at vpbx.elmit.com:3731>
>> To: <sip:800000 at vpbx.elmit.com:5062>
>> Call-ID: 763778098 at vpbx.elmit.com
>> CSeq: 1 OPTIONS
>> Contact: <sip:sipsak at vpbx.elmit.com:3731>
>> Content-Length: 0
>> Max-Forwards: 70
>> User-Agent: sipsak 0.8.9_pre
>> Accept: text/plain
>>
>>
>> ** request **
>> OPTIONS sip:800000 at vpbx.elmit.com:5062 SIP/2.0
>> Via: SIP/2.0/UDP vpbx.elmit.com:3731;rport
>> From: <sip:sipsak at vpbx.elmit.com:3731>
>> To: <sip:800000 at vpbx.elmit.com:5062>
>> Call-ID: 763778098 at vpbx.elmit.com
>> CSeq: 1 OPTIONS
>> Contact: <sip:sipsak at 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 at vpbx.elmit.com:3731>
>> To: 
>> <sip:800000 at vpbx.elmit.com:5062>;tag=2560d490c3265ff35995c6bbde62a7c3.e6e1 
>>
>> Call-ID: 763778098 at 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 at vpbx.elmit.com:5062 
>> out_uri=si
>> p:800000 at 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 at openser.org
>> 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.







More information about the Users mailing list