[OpenSIPS-Devel] Duplicate entry in "location" table

Iñaki Baz Castillo ibc at aliax.net
Thu Dec 4 14:45:42 CET 2008


2008/12/4 Bogdan-Andrei Iancu <bogdan at voice-system.ro>:

>> Hi, I've got two exact rows (*al* the fields) in "location" table,
>> this shouldn't occur since a REGISTER from the same user with same
>> "Contact" should replace/update the existing entry.
>>
>
> that is correct, so:
> 1) are you sure *all* are the same?

Completely, *all* the fields are exactly the same (also expiration time and so).


> 2) is the DB shared by multiple opensips ?

No.



>> "received" should be included in the match since the same AoR can be
>> registered by two devices with same private IP but in different LAN's
>> (so different "received" value).
>>
> well, in this case callid must also be included  - different registration
> sessions :)

Right :)


> at a point I asked myself the same question and the conclusion was that you
> end up with a key over almost all fields :)

But the question would be: why OpenSIPS registrar allow/create it?


Thanks a lot.



-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the Devel mailing list