[OpenSIPStack] OSSPhone help
Brought to you by:
joegenbaclor
From: Tamas C. <cso...@gm...> - 2008-05-15 06:48:48
|
Hy, I'm new here, and i have a little problem. I want to use the OSSPhone in our university by testing the SIP message via PC->Huawei IMS. The client can not login to the IMS. I think, when the IMS send back the authorization message there is a nonce"anything" line, but when the client send back, in this message isn't... Can anybodyhelp me, how can i fix it in the source code? Thanx for the help. Best regards Tamas Csomor ----------------11:37:29.780---------------- SEND: enc=0 534 Bytes to 10.0.1.1:5060:UDP (REGISTER sip:mik.bme.hu SIP/2.0) Interface Address= REGISTER sip:mik.bme.hu SIP/2.0 From: test04 <sip:te...@mi... <sip%3At...@mi...> >;tag=9ce0bacc8efb18109a15901176cd0c70 To: sip:te...@mi... <sip%3At...@mi...> Via: SIP/2.0/UDP 152.66.87.157:5061 ;iid=5406;branch=z9hG4bK9ce0bacc8efb18109a16901176cd0c70;uas-addr=10.0.1.1 ;rport CSeq: 1 REGISTER Call-ID: 9ce0bacc-8efb-1810-9a5e-901176cd0c70 Contact: "test04" <sip:test04@152.66.87.157:5061;transport=udp> User-Agent: OpenSIPStack-1.1.7-7 Expires: 3600 Max-Forwards: 10 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Length: 0 ----------------11:37:29.994---------------- SEND: enc=0 534 Bytes to 10.0.1.1:5060:UDP (REGISTER sip:mik.bme.hu SIP/2.0) Interface Address= REGISTER sip:mik.bme.hu SIP/2.0 From: test04 <sip:te...@mi... <sip%3At...@mi...> >;tag=9ce0bacc8efb18109a15901176cd0c70 To: sip:te...@mi... <sip%3At...@mi...> Via: SIP/2.0/UDP 152.66.87.157:5061 ;iid=5406;branch=z9hG4bK9ce0bacc8efb18109a16901176cd0c70;uas-addr=10.0.1.1 ;rport CSeq: 1 REGISTER Call-ID: 9ce0bacc-8efb-1810-9a5e-901176cd0c70 Contact: "test04" <sip:test04@152.66.87.157:5061;transport=udp> User-Agent: OpenSIPStack-1.1.7-7 Expires: 3600 Max-Forwards: 10 Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Length: 0 ----------------11:37:30.090---------------- RCV: enc=0 446 Bytes from RCVADDR: 10.0.1.1:RCVPORT: 5060:UDP (SIP/2.0 401 Unauthorized) SIP/2.0 401 Unauthorized From: test04 <sip:te...@mi... <sip%3At...@mi...> >;tag=9ce0bacc8efb18109a15901176cd0c70 To: <sip:te...@mi... <sip%3At...@mi...>>;tag=37a9a0a6 Via: SIP/2.0/UDP 152.66.87.157:5061 ;iid=5406;branch=z9hG4bK9ce0bacc8efb18109a16901176cd0c70;uas-addr=10.0.1.1 ;rport=5061 CSeq: 1 REGISTER Call-ID: 9ce0bacc-8efb-1810-9a5e-901176cd0c70 WWW-Authenticate: Digest realm="mik.bme.hu", nonce="Yig2Ky1Zz+1NNWE00IIEWw=", algorithm=MD5 //here is the nonce, that the client not send back Content-Length: 0 ----------------11:37:30.100---------------- SEND: enc=0 698 Bytes to 10.0.1.1:5060:UDP (REGISTER sip:mik.bme.hu SIP/2.0) Interface Address= REGISTER sip:mik.bme.hu SIP/2.0 From: test04 <sip:te...@mi... <sip%3At...@mi...> >;tag=c960bbcc8efb18109a16901176cd0c70 To: sip:te...@mi... <sip%3At...@mi...> Via: SIP/2.0/UDP 152.66.87.157:5061 ;iid=5406;branch=z9hG4bKc960bbcc8efb18109a17901176cd0c70;uas-addr=10.0.1.1 ;rport CSeq: 2 REGISTER Call-ID: 9ce0bacc-8efb-1810-9a5e-901176cd0c70 Contact: "test04" <sip:test04@152.66.87.157:5061;transport=udp> User-Agent: OpenSIPStack-1.1.7-7 Expires: 3600 Max-Forwards: 10 Authorization: Digest username="te...@mi...", realm="mik.bme.hu", nonce="", uri="sip:mik.bme.hu", response="87d50c014f0cfc437d5baf83a4e77478", algorithm=MD5 //here nonce is empty Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS Content-Length: 0 ----------------11:37:30.236---------------- RCV: enc=0 427 Bytes from RCVADDR: 10.0.1.1:RCVPORT: 5060:UDP (SIP/2.0 403 Forbidden) SIP/2.0 403 Forbidden From: test04 <sip:te...@mi... <sip%3At...@mi...> >;tag=c960bbcc8efb18109a16901176cd0c70 To: <sip:te...@mi... <sip%3At...@mi...>>;tag=7f107ba9 Via: SIP/2.0/UDP 152.66.87.157:5061 ;iid=5406;branch=z9hG4bKc960bbcc8efb18109a17901176cd0c70;uas-addr=10.0.1.1 ;rport=5061 CSeq: 2 REGISTER Call-ID: 9ce0bacc-8efb-1810-9a5e-901176cd0c70 Warning: 399 0173402704.S.207.11.24.mik.bme.hu.00106 "Authentication failure" Content-Length: 0 |