Here's my first reply to your initial post: http://lists.opensips.org/pipermail/users/2010-April/012300.html
I doubt that you are experiencing the same issue with x-lite. One thing that you can try is to let opensips to reuse the noce in the authentication process: http://www.opensips.org/html/docs/modules/devel/auth.html#id228317 Maybe this will make your SIP UA happy. Regards, Ovidiu Sas On Tue, Apr 27, 2010 at 3:54 PM, Andy Thomas <[email protected]> wrote: > I never got your first email. > It wasn’t in the digest either! > > I have tried several sip client softphones, including x-lite > All of them give the same problem! > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Ovidiu Sas > Sent: 27 April 2010 8:14 PM > To: OpenSIPS users mailling list; Andy Thomas > Subject: Re: [OpenSIPS-Users] OpenSIPS-Users] takes ages to register > > As I pointed out in a previous e-mail, the issue is with your client: > it should send out the second REGISTER with an Authorization header. > Please read the answers that you get before re-posting the same thing > again and again. > > Regards, > Ovidiu Sas > > On Tue, Apr 27, 2010 at 2:47 PM, Andy Thomas <[email protected]> wrote: >> >> Here's a -W trace, I always get 2 unauthorised then 1 authorised OK. >> There is a 30-second time span from start to end. >> >> >> # >> U 79.121.180.192:38670 -> 92.63.137.209:5060 >> REGISTER sip:voipexpress.co.uk SIP/2.0. >> Via: SIP/2.0/UDP 79.121.180.192:38670;rport;branch=z9hG4bK03148. >> Max-Forwards: 20. >> To: <sip:[email protected]>. >> From: <sip:[email protected]>;tag=8625. >> Call-ID: [email protected]. >> CSeq: 2 REGISTER. >> Contact: <sip:[email protected]:38670>;expires=3600;q=0.90. >> User-Agent: NCH Software Express Talk 4.02. >> Content-Length: 0. >> . >> >> # >> U 92.63.137.209:5060 -> 79.121.180.192:38670 >> SIP/2.0 401 Unauthorized. >> Via: SIP/2.0/UDP 79.121.180.192:38670;rport=38670;branch=z9hG4bK03148. >> To: > <sip:[email protected]>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.7533. >> From: <sip:[email protected]>;tag=8625. >> Call-ID: [email protected]. >> CSeq: 2 REGISTER. >> WWW-Authenticate: Digest realm="voipexpress.co.uk", > nonce="4bd5ed340000000e265ef8398de58d485e50f061b83fcbc0". >> Server: OpenSIPS (1.6.2-notls (i386/linux)). >> Content-Length: 0. >> . >> >> # >> U 79.121.180.192:38670 -> 92.63.137.209:5060 >> REGISTER sip:voipexpress.co.uk SIP/2.0. >> Via: SIP/2.0/UDP 79.121.180.192:38670;rport;branch=z9hG4bK13148. >> Max-Forwards: 20. >> To: <sip:[email protected]>. >> From: <sip:[email protected]>;tag=8625. >> Call-ID: [email protected]. >> CSeq: 3 REGISTER. >> Contact: <sip:[email protected]:38670>;expires=3600;q=0.90. >> User-Agent: NCH Software Express Talk 4.02. >> Content-Length: 0. >> . >> >> # >> U 92.63.137.209:5060 -> 79.121.180.192:38670 >> SIP/2.0 401 Unauthorized. >> Via: SIP/2.0/UDP 79.121.180.192:38670;rport=38670;branch=z9hG4bK13148. >> To: > <sip:[email protected]>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.3183. >> From: <sip:[email protected]>;tag=8625. >> Call-ID: [email protected]. >> CSeq: 3 REGISTER. >> WWW-Authenticate: Digest realm="voipexpress.co.uk", > nonce="4bd5ed400000000f2ca92e41b130e201700f7e8517ac933c". >> Server: OpenSIPS (1.6.2-notls (i386/linux)). >> Content-Length: 0. >> . >> >> # >> U 79.121.180.192:38670 -> 92.63.137.209:5060 >> REGISTER sip:voipexpress.co.uk SIP/2.0. >> Via: SIP/2.0/UDP 79.121.180.192:38670;rport;branch=z9hG4bK23148. >> Max-Forwards: 20. >> To: <sip:[email protected]>. >> From: <sip:[email protected]>;tag=8625. >> Call-ID: [email protected]. >> CSeq: 4 REGISTER. >> Contact: <sip:[email protected]:38670>;expires=3600;q=0.90. >> Authorization: Digest > username="testuser1",realm="voipexpress.co.uk",nonce="4bd5ed340000000e265ef8 > 398de58d485e50f061b83fcbc0",uri="sip:voipexpress.co.uk",response="4cb47c6109 > bce14b54359f285d763017",opaque="",algorithm=MD5. >> User-Agent: NCH Software Express Talk 4.02. >> Content-Length: 0. >> . >> >> # >> U 92.63.137.209:5060 -> 79.121.180.192:38670 >> SIP/2.0 200 OK. >> Via: SIP/2.0/UDP 79.121.180.192:38670;rport=38670;branch=z9hG4bK23148. >> To: > <sip:[email protected]>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.fd52. >> From: <sip:[email protected]>;tag=8625. >> Call-ID: [email protected]. >> CSeq: 4 REGISTER. >> Contact: <sip:[email protected]:38670>;q=0.9;expires=3600. >> Server: OpenSIPS (1.6.2-notls (i386/linux)). >> Content-Length: 0. >> . >> >> >> >> >> >> >> -----Original Message----- >> From: Iñaki Baz Castillo [mailto:[email protected]] >> Sent: 25 April 2010 7:16 PM >> To: OpenSIPS users mailling list >> Subject: Re: [OpenSIPS-Users] takes ages to register >> >> 2010/4/24 Andy Thomas <[email protected]>: >>> Hi >>> >>> Im running 1.6.2 no TLS >>> >>> Config file is the chapter 5 demo file from Flavio’s book. >>> >>> >>> >>> It takes ages for my softphone to register with the system. >>> >>> The register requests get rejected 3 times, before finally accepting > them. >>> >>> Does anyone know why this would happen?? >> >> >> Please, do a correct captures. Use "-W byline" option with ngrep command. >> >> -- >> Iñaki Baz Castillo >> <[email protected]> >> >> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
