[Spce-user] Multiple ATA registrations
Jon Bonilla (Manwe)
jbonilla at sipwise.com
Mon Jan 7 17:07:32 EST 2013
El Mon, 7 Jan 2013 17:00:03 -0500
dave at optionsdsl.ca escribió:
>
>
> what about calls in progress? Will it cut them off?
No.
> I was just thinking of doing it once late at night to clear up all the
> subscribers.
> I guess the next question is, how to wildcard the above command?
>
Find the duplicated entries and write a script to send the comands of the
output.
mysql -e "select username from kamailio.location group by username having
count(*) >= 5;"
(adjust 5 to the number of duplicated entries you need). Or just do it for
every location.
More information about the Spce-user
mailing list