[OpenSIPS-Users] OpenSIPS-Users] takes ages to register

Ovidiu Sas osas at voipembedded.com
Wed Apr 28 21:22:26 CEST 2010


Please keep the mailing list in copy.  Private e-mails will go unanswered.
Can you post a trace of an X-lite trying to register?

Regards,
Ovidiu Sas

On Wed, Apr 28, 2010 at 2:42 PM, Andy Thomas <andy at andythomas.co.uk> wrote:
> I AM experiencing the exact same issue with Xlite
> And also if I try and register an Asterisk SIP trunk to the opensips server
> too!
> These are in different locations with different internet connections, so the
> opensips server is the only common thing.
>
> Regards
> Andy
>
>
> -----Original Message-----
> From: sip.nslu at gmail.com [mailto:sip.nslu at gmail.com] On Behalf Of Ovidiu Sas
> Sent: 27 April 2010 11:24 PM
> To: Andy Thomas
> Cc: users at lists.opensips.org users
> Subject: Re: [OpenSIPS-Users] OpenSIPS-Users] takes ages to register
>
> 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 <andy at andythomas.co.uk> 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: sip.nslu at gmail.com [mailto:sip.nslu at gmail.com] 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 <andy at andythomas.co.uk>
> 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:testuser1 at voipexpress.co.uk>.
>>> From: <sip:testuser1 at voipexpress.co.uk>;tag=8625.
>>> Call-ID: 1272311050-3148-ANDY-HOME at 192.168.10.13.
>>> CSeq: 2 REGISTER.
>>> Contact: <sip:testuser1 at 79.121.180.192: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:testuser1 at voipexpress.co.uk>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.7533.
>>> From: <sip:testuser1 at voipexpress.co.uk>;tag=8625.
>>> Call-ID: 1272311050-3148-ANDY-HOME at 192.168.10.13.
>>> 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:testuser1 at voipexpress.co.uk>.
>>> From: <sip:testuser1 at voipexpress.co.uk>;tag=8625.
>>> Call-ID: 1272311050-3148-ANDY-HOME at 192.168.10.13.
>>> CSeq: 3 REGISTER.
>>> Contact: <sip:testuser1 at 79.121.180.192: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:testuser1 at voipexpress.co.uk>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.3183.
>>> From: <sip:testuser1 at voipexpress.co.uk>;tag=8625.
>>> Call-ID: 1272311050-3148-ANDY-HOME at 192.168.10.13.
>>> 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:testuser1 at voipexpress.co.uk>.
>>> From: <sip:testuser1 at voipexpress.co.uk>;tag=8625.
>>> Call-ID: 1272311050-3148-ANDY-HOME at 192.168.10.13.
>>> CSeq: 4 REGISTER.
>>> Contact: <sip:testuser1 at 79.121.180.192: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:testuser1 at voipexpress.co.uk>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.fd52.
>>> From: <sip:testuser1 at voipexpress.co.uk>;tag=8625.
>>> Call-ID: 1272311050-3148-ANDY-HOME at 192.168.10.13.
>>> CSeq: 4 REGISTER.
>>> Contact: <sip:testuser1 at 79.121.180.192: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:ibc at aliax.net]
>>> 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 <andy at andythomas.co.uk>:
>>>> 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
>>> <ibc at aliax.net>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>
>



More information about the Users mailing list