script to auto delete dial lists

All installation and configuration problems and questions

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

script to auto delete dial lists

Postby tradecomedia » Mon May 02, 2016 12:41 pm

Vicibox 6.0.4 from .iso | Vicidial 2.12-538a Build 160122-1401 | Asterisk 1.8.32.3-vici | CLuster setup: 1 web 1 DB 5 telephony | No Digium/Sangoma Hardware | No Extra Software After Installation

is it possible to create a script that will automatically delete a diallist after a certain period of time? For instance.. we create a new list everyday per campaign and after 60 days we have to delete the list manually. I have purchased the managers manual and the info on scripting is not really covered.

thank you!
tradecomedia
 
Posts: 14
Joined: Mon Dec 21, 2015 12:42 pm

Re: script to auto delete dial lists

Postby mflorell » Mon May 02, 2016 2:57 pm

Yes, you can create a script to do that, it's actually just simple SQL, but you need to define the exact conditions under which you would delete a list before you can write the SQL. Also, do you want to delete the leads within the list, or just the list entry?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: script to auto delete dial lists

Postby tradecomedia » Mon May 02, 2016 11:04 pm

ideally, we would like to delete the lists and all the data to help keep the size of our database somewhat manageable and to have it automated.
tradecomedia
 
Posts: 14
Joined: Mon Dec 21, 2015 12:42 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 124 guests