[OpenSIPS-Users] Register requests

Darshak Modi darshak.modi at elitecore.com
Thu Dec 17 10:50:21 CET 2009


I changed some config in route and now its working..

I don't remember what I did :(


Thanks for your support.


-Darshak

-----Original Message-----
From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Thursday, December 17, 2009 3:04 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Register requests

Let's fix the registration before.

Try making a network capture of the SIP traffic - check also the 
loopback interface to see what is happening with your REGISTER. Normally 
the received REGISTER should be replied with 200 or auth challenge.

Based on your sayings, I guess the REGISTER is looping on the lo 
interface (opensips is sending the REGISTER out (to itself based on DNS) 
because it is not recognizing the REGISTER as targeting a local domain.

Does the REGISTER has an IP in the RURI ? if not (and has a domain 
name), is the domain name added as local domain? To add a domain as 
local, you can use <alias="my_domain"> global param or , if using 
domains module, simply add it into the domain table.

Regards,
Bogdan

Darshak Modi wrote:
> For Register request, it gives the below logs.
>
> But when I try to call it gives me Too many hopes. Where I have two PC + 1
> opensip server in same lan.
>
>
> Thanks
> Darshak
>
> -----Original Message-----
> From: users-bounces at lists.opensips.org
> [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
> Sent: Monday, December 14, 2009 3:43 PM
> To: OpenSIPS users mailling list
> Subject: Re: [OpenSIPS-Users] Register requests
>
> for REGISTER requests ?
>
> Darshak Modi wrote:
>   
>> It gives error TOO MANY HOPES 483.
>>
>> Is the below log correct?
>>
>>
>> -----Original Message-----
>> From: users-bounces at lists.opensips.org
>> [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei
Iancu
>> Sent: Monday, December 14, 2009 3:36 PM
>> To: OpenSIPS users mailling list
>> Subject: Re: [OpenSIPS-Users] Register requests
>>
>> and what is your question ? :)
>>
>> Regards,
>> Bogdan
>>
>> Darshak Modi wrote:
>>   
>>     
>>> Hi,
>>> In log I can see lots[ hundreds ] of register requests coming.
>>>
>>>
>>> Dec 14 05:33:14 localhost /sbin/opensips[5900]: In Register 
>>> Dec 14 05:33:14 localhost /sbin/opensips[5900]: ACC: transaction
>>>       
> answered:
>   
>>>     
>>>       
>
timestamp=1260786794;method=REGISTER;from_tag=9d09464f;to_tag=;call_id=6f7a5
>   
>>   
>>     
>>> 4415d1f0c31 at bWl0dWwzMjQxLmVsaXRlY29yZS5jb20.;code=200;reason=OK 
>>> Dec 14 05:33:14 localhost /sbin/opensips[5899]: In Register 
>>> Dec 14 05:33:14 localhost /sbin/opensips[5899]: ACC: transaction
>>>       
> answered:
>   
>>>     
>>>       
>
timestamp=1260786794;method=REGISTER;from_tag=9d09464f;to_tag=;call_id=6f7a5
>   
>>   
>>     
>>> 4415d1f0c31 at bWl0dWwzMjQxLmVsaXRlY29yZS5jb20.;code=200;reason=OK 
>>> Dec 14 05:33:14 localhost /sbin/opensips[5900]: In Register 
>>> Dec 14 05:33:14 localhost /sbin/opensips[5900]: ACC: transaction
>>>       
> answered:
>   
>>>     
>>>       
>
timestamp=1260786794;method=REGISTER;from_tag=9d09464f;to_tag=;call_id=6f7a5
>   
>>   
>>     
>>> 4415d1f0c31 at bWl0dWwzMjQxLmVsaXRlY29yZS5jb20.;code=200;reason=OK 
>>> Dec 14 05:33:14 localhost /sbin/opensips[5902]: In Register 
>>> Dec 14 05:33:14 localhost /sbin/opensips[5902]: ACC: transaction
>>>       
> answered:
>   
>>>     
>>>       
>
timestamp=1260786794;method=REGISTER;from_tag=9d09464f;to_tag=;call_id=6f7a5
>   
>>   
>>     
>>> 4415d1f0c31 at bWl0dWwzMjQxLmVsaXRlY29yZS5jb20.;code=200;reason=OK 
>>> Dec 14 05:33:14 localhost /sbin/opensips[5900]: In Register 
>>> Dec 14 05:33:14 localhost /sbin/opensips[5900]: ACC: transaction
>>>       
> answered:
>   
>>>     
>>>       
>
timestamp=1260786794;method=REGISTER;from_tag=9d09464f;to_tag=;call_id=6f7a5
>   
>>   
>>     
>>> 4415d1f0c31 at bWl0dWwzMjQxLmVsaXRlY29yZS5jb20.;code=200;reason=OK
>>>
>>> The Register block is as here..
>>>
>>>
>>>         if (is_method("REGISTER"))
>>>         {
>>>                 xlog("In Register\n");
>>>                 if (!save("location"))
>>>                         sl_reply_error();
>>>                 exit;
>>>         }
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>   
>>>     
>>>       
>>   
>>     
>
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list