[Serusers] multiple contact entries automatically....

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jun 29 23:16:57 CEST 2005


Some more debug info:

Klaus Darilion wrote:

> Use ngrep and verify the REGISTER messages. If the NAT port changes can 
> have mainly 2 reasons:
>  - The NAT bindind expired and a new binding is created: Try to increase 
> the NAT-ping or the expires value.
>  - The SIP client changes its local SIP port: Throw them away and buy 
> other phones :-(
> 

Take a look at the Contact in the REGISTER messages. There you should 
see the local (privat) IP:port. Verify the port if it changes over time. 
If yes, then its a bad client.

klaus



> regards,
> klaus
> 
> Iqbal wrote:
> 
>> client = grandstream 102
>> router = safecom
>> stun = no, all far end done at ser
>>
>> am gonna try to upgrade the firmware and see if that helps
>>
>> Iqbal
>>
>> On 6/29/2005, "Klaus Darilion" <klaus.mailinglists at pernau.at> wrote:
>>
>>
>>> You have sent the 200 ok - not the REGISTER message. I still think that
>>> there will be only 1 Contact in each REGISTER.
>>>
>>> Probably the client or/and the NAT is broken:
>>>
>>> Which client do you use?
>>> Which NAT do you use?
>>> Do you use STUN?
>>>
>>> klaus
>>>
>>> Iqbal wrote:
>>>
>>>> yup, thats what made me jump,
>>>>
>>>> well hers ngrep of when i get a 200OK
>>>>
>>>> SIP/2.0 200 OK.
>>>> Via: SIP/2.0/UDP
>>>> 111.222.333.444:51687;branch=z9hG4bK35d8fac5c0e457cb;rport=50395.
>>>> From: <sip:040686 at sip.domain.com>;tag=107864afa36620af.
>>>> To: 
>>>> <sip:040686 at sip.domain.com>;tag=bde2d0f39a3c31098b0c0a337d26256c.e50e.
>>>> Call-ID: 55e8c488a0336b09 at 10.0.0.14.
>>>> CSeq: 101 REGISTER.
>>>> Contact:
>>>> <sip:040686 at 111.222.333.444:51687>;expires=3600;received="sip:111.222.333.444:50395", 
>>>>
>>>> <sip:040686 at 111.222.333.444:48934>;expires=2998;received="sip:111.222.333.444:50395", 
>>>>
>>>> <sip:040686 at 111.222.333.444:34201>;expires=2680;received="sip:111.222.333.444:50395", 
>>>>
>>>> <sip:040686 at 111.222.333.444:63368>;expires=2352;received="sip:111.222.333.444:55174", 
>>>>
>>>> <sip:040686 at 111.222.333.444:47768>;expires=2164;received="sip:111.222.333.444:37787", 
>>>>
>>>> <sip:040686 at 111.222.333.444:33650>;expires=1360;received="sip:111.222.333.444:40862", 
>>>>
>>>> <sip:040686 at 111.222.333.444:46754>;expires=121;received="sip:111.222.333.444:33159", 
>>>>
>>>> <sip:040686 at 111.222.333.444:33159>;expires=26;received="sip:111.222.333.444:62574". 
>>>>
>>>>
>>>> Content-Length: 0.
>>>> Warning: 392 123.456.76.87:5060 "Noisy feedback tells:  pid=32086
>>>> req_src_ip=111.222.333.444 req_src_port=50395 in_uri=sip:sip.domain.com
>>>> out_uri=sip:sip.domain.com via_cnt==1".
>>>>
>>>> which is what cause me to use serctl to look at location, and I got
>>>> multiple entries.
>>>>
>>>> Havent a clue why this is/was
>>>>
>>>> iqbal
>>>>
>>>> Klaus Darilion wrote:
>>>>
>>>>
>>>>> Are you sure that they really get created at once? Is there more than
>>>>> 1 Contact in the REGISTER message?
>>>>>
>>>>> Please post an ngrep dump.
>>>>>
>>>>> klaus
>>>>>
>>>>> Iqbal wrote:
>>>>>
>>>>>
>>>>>> the expire times do vary, the thing is they get all created on
>>>>>> register at the same time, so I have 4 contacts for a new registers.
>>>>>>
>>>>>> Iqbal
>>>>>>
>>>>>> Klaus Darilion wrote:
>>>>>>
>>>>>>
>>>>>>> MAybe the NAT binding disappears and a new port will bu used by the
>>>>>>> NAT device. If you use nathelper, then you will save teh port of the
>>>>>>> new binding.
>>>>>>>
>>>>>>> Do the contacts vary in their expire time?
>>>>>>> Yes: NAT problem
>>>>>>> No: ? client problem?
>>>>>>>
>>>>>>> klaus
>>>>>>>
>>>>>>> Iqbal wrote:
>>>>>>>
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> I have a really strange problem, when I am registering a IP phone,
>>>>>>>> which is connected to a simple 4 port router, it i submitting
>>>>>>>> multiple contacts into the db.
>>>>>>>>
>>>>>>>> Even in the sip messages I can see multiple entries, the IP:port
>>>>>>>> pairs only differ in the port numbers. Anyone else had this 
>>>>>>>> problem,
>>>>>>>>
>>>>>>>> Iqbal
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Serusers mailing list
>>>>>>>> serusers at lists.iptel.org
>>>>>>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> .
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> .
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 




More information about the sr-users mailing list