[Spce-user] Multiple ATA registrations
Dave Massey
dave at optionsdsl.ca
Mon Jan 7 21:10:35 EST 2013
On 2013-01-07, at 4:28 PM, Jon Bonilla (Manwe) <jbonilla at sipwise.com> wrote:
> El Mon, 7 Jan 2013 12:26:55 -0500
> Dave Massey <dave at optionsdsl.ca> escribió:
>
>> Just to update this:.
>>
>> Its sorta "solved".
>>
>> I still get a few multiple entries that are just stale ones (expiry times
>> long past) and no entries that are valid but kamailio is still working OK.
>> Unable to remove them via trash can icon. If I do it at the database with
>> mysql kamailio -e "delete from location" then of course they are gone, but a
>> current entry never shows back up unless kamailio is restarted.
>>
>>
>>
>
> I would do it via ngcp-kamctl:
>
> ngcp-kamctl proxy ul rm myuser at mydomain
>
>
> That will remove the registration from kamailio cache and also from the db.
> Next time the device registers it will only show once in the database. The only
> problem is that this device won't receive calls until the registration is sent.
>
I tried to use the above command to delete the cache and db, and it only deleted the cache.
I might go back to the 2.6 way it was before, and run a script that can delete all the entries that are older than 60 seconds (my ata re registration time). Might be a problem for some mobile SIP clients as 60 seconds is an unreasonable reregistration time.
It will leave kamailio cache alone and just fix it up cosmetically I think.
More information about the Spce-user
mailing list