[Spce-user] Multiple ATA registrations

Andreas Granig agranig at sipwise.com
Thu Nov 15 14:29:40 EST 2012


Hi,

On 11/15/2012 04:00 PM, Skyler wrote:
>  Well, you could safely delete all existing entries from the
> kamailio.location table for that user manually. Then refresh the web
> page to see it clean. This won't fix the problem but because the device
> is set to re-register every 60 seconds, you can safely clear the table
> any time you want without worry.
> 
> mysql -uroot -e "delete from kamailio.location where username='problemuser'"

Uh, this is not a good idea. The clean way is to do it is via kamctl:

ngcp-kamctl proxy ul rm <user at domain>

The reason for this is that kamailio keeps the registration in its
cache, and if you delete entries from the underlying db, it doesn't have
any effect (other than you don't see it in the admin panel anymore, but
they are still in kamailio cache, which might cause additional confusion).

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20121115/5b0c26d8/attachment.asc>


More information about the Spce-user mailing list