Deleting Old Lists

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Deleting Old Lists

Postby ctc_olsen » Sun Nov 10, 2013 3:16 pm

Hi everyone. Everyday, we create around 15 lists with around 1500 leads on it on average. That's on a daily basis. Right now, we have a lot of lists that needs to be deleted and deleting it through admin GUI is quite a long task and I will be wasting a huge portion of my time doing it.

I tried another solution by deleting it under MySql but only the leads on the lists gets deleted. The lists are still there with just with no leads on eit. How can I properly delete lists and the leads on that list ID?
VERSION: 2.4-309a BUILD: 110430-1642 (Upgrade from CE 2.0,ISO) | Asterisk 1.4.27.1-1 | VmWare vCenter Server Ver 4.1.0| No additional software | No Digium/Sangoma Hardware
ctc_olsen
 
Posts: 65
Joined: Tue Jul 24, 2012 7:34 am

Re: Deleting Old Lists

Postby williamconley » Sun Nov 10, 2013 4:30 pm

You can delete the list the same way you deleted the leads, they are merely in a different table.

Leads are in vicidial_list
Lists are in vicidial_lists

Note the extra "s" at the end of the table name.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Deleting Old Lists

Postby ctc_olsen » Mon Nov 11, 2013 8:00 am

Thanks William. By the way, I found the command on MySQL to do this. It's basically a two step process. The lead list ID is just an example. Hope this helps somebody.

***delete lists***
delete from vicidial_list where list_id BETWEEN '15695' AND '15999';


***delete empty lists***
delete from vicidial_lists where list_id BETWEEN '15695' AND '15999';
VERSION: 2.4-309a BUILD: 110430-1642 (Upgrade from CE 2.0,ISO) | Asterisk 1.4.27.1-1 | VmWare vCenter Server Ver 4.1.0| No additional software | No Digium/Sangoma Hardware
ctc_olsen
 
Posts: 65
Joined: Tue Jul 24, 2012 7:34 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 116 guests