Thread: [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 |
From: Ilian J. C. P. <ip...@so...> - 2008-05-15 07:01:56
|
Hi, Please use the version from CVS head. CVS instructions are in: http://opensipstack.org/cvs.html Tamas Csomor wrote: > 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 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Tamas C. <cso...@gm...> - 2008-05-15 07:16:45
|
Hi, could you write me, how it will work in my case? Regards, Tamas Csomor On Thu, May 15, 2008 at 9:01 AM, Ilian Jeri C. Pinzon < ip...@so...> wrote: > Hi, > > Please use the version from CVS head. CVS instructions are in: > > http://opensipstack.org/cvs.html > > Tamas Csomor wrote: > > 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.huSIP/2.0) > > Interface Address= > > REGISTER sip:mik.bme.hu SIP/2.0 > > From: test04 <sip:te...@mi... <sip%3At...@mi...> < > sip%3At...@mi... <sip%253...@mi...>> > > > >> ;tag=9ce0bacc8efb18109a15901176cd0c70 > >> > > To: sip:te...@mi... <sip%3At...@mi...> < > sip%3At...@mi... <sip%253...@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.huSIP/2.0) > > Interface Address= > > REGISTER sip:mik.bme.hu SIP/2.0 > > From: test04 <sip:te...@mi... <sip%3At...@mi...> < > sip%3At...@mi... <sip%253...@mi...>> > > > >> ;tag=9ce0bacc8efb18109a15901176cd0c70 > >> > > To: sip:te...@mi... <sip%3At...@mi...> < > sip%3At...@mi... <sip%253...@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...> < > sip%3At...@mi... <sip%253...@mi...>> > > > >> ;tag=9ce0bacc8efb18109a15901176cd0c70 > >> > > To: <sip:te...@mi... <sip%3At...@mi...> < > sip%3At...@mi... <sip%253...@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.huSIP/2.0) > > Interface Address= > > REGISTER sip:mik.bme.hu SIP/2.0 > > From: test04 <sip:te...@mi... <sip%3At...@mi...> < > sip%3At...@mi... <sip%253...@mi...>> > > > >> ;tag=c960bbcc8efb18109a16901176cd0c70 > >> > > To: sip:te...@mi... <sip%3At...@mi...> < > sip%3At...@mi... <sip%253...@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...> < > sip%3At...@mi... <sip%253...@mi...>> > > > >> ;tag=c960bbcc8efb18109a16901176cd0c70 > >> > > To: <sip:te...@mi... <sip%3At...@mi...> < > sip%3At...@mi... <sip%253...@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 > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > opensipstack-devel mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |
From: Ilian J. C. P. <ip...@so...> - 2008-05-15 09:23:46
|
I cannot reproduce the issue you reported using the source code version in CVS head. The are many modifications committed to the CVS version. The issue you're reporting may be fixed already. Please test again using the said version. Tamas Csomor wrote: > Hi, > > could you write me, how it will work in my case? > > Regards, > Tamas Csomor > > On Thu, May 15, 2008 at 9:01 AM, Ilian Jeri C. Pinzon < > ip...@so...> wrote: > > >> Hi, >> >> Please use the version from CVS head. CVS instructions are in: >> >> http://opensipstack.org/cvs.html >> >> Tamas Csomor wrote: >> >>> 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.huSIP/2.0) >>> Interface Address= >>> REGISTER sip:mik.bme.hu SIP/2.0 >>> From: test04 <sip:te...@mi... <sip%3At...@mi...> < >>> >> sip%3At...@mi... <sip%253...@mi...>> >> >>>> ;tag=9ce0bacc8efb18109a15901176cd0c70 >>>> >>>> >>> To: sip:te...@mi... <sip%3At...@mi...> < >>> >> sip%3At...@mi... <sip%253...@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.huSIP/2.0) >>> Interface Address= >>> REGISTER sip:mik.bme.hu SIP/2.0 >>> From: test04 <sip:te...@mi... <sip%3At...@mi...> < >>> >> sip%3At...@mi... <sip%253...@mi...>> >> >>>> ;tag=9ce0bacc8efb18109a15901176cd0c70 >>>> >>>> >>> To: sip:te...@mi... <sip%3At...@mi...> < >>> >> sip%3At...@mi... <sip%253...@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...> < >>> >> sip%3At...@mi... <sip%253...@mi...>> >> >>>> ;tag=9ce0bacc8efb18109a15901176cd0c70 >>>> >>>> >>> To: <sip:te...@mi... <sip%3At...@mi...> < >>> >> sip%3At...@mi... <sip%253...@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.huSIP/2.0) >>> Interface Address= >>> REGISTER sip:mik.bme.hu SIP/2.0 >>> From: test04 <sip:te...@mi... <sip%3At...@mi...> < >>> >> sip%3At...@mi... <sip%253...@mi...>> >> >>>> ;tag=c960bbcc8efb18109a16901176cd0c70 >>>> >>>> >>> To: sip:te...@mi... <sip%3At...@mi...> < >>> >> sip%3At...@mi... <sip%253...@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...> < >>> >> sip%3At...@mi... <sip%253...@mi...>> >> >>>> ;tag=c960bbcc8efb18109a16901176cd0c70 >>>> >>>> >>> To: <sip:te...@mi... <sip%3At...@mi...> < >>> >> sip%3At...@mi... <sip%253...@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 >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Joegen E. B. <joe...@gm...> - 2008-05-15 07:14:15
|
Wow, I think you found a bug in the parser. I will guess it's the "=" character inside the nonce. We will confirm this and advise the list when a patch is ready in CVS. Joegen Tamas Csomor wrote: > 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 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |