Page 1 of 1

How do I load new leads from the command line or mysql?

PostPosted: Mon Nov 24, 2008 6:04 pm
by jroyce
I have some automated processes that refresh the campaigns nightly and I want to be able to set up a scheduled job that loads new leads each night. I could just do a straight insert statement using mysql - however I want to use vicidial's function that removes duplicate numbers across campaigns and whatever other validation it uses.

How do I do this?

PostPosted: Mon Nov 24, 2008 8:02 pm
by mflorell
The /usr/share/astguiclient/VICIDIAL_IN_new_leads.pl script can do this.

Use the --help flag for more information on it.

in the SVN trunk codebase we have added FTP pull to this script for lead loading as well.