Page 1 of 1

Vicidial Deactivate Campaign Automatically by Specified Time

PostPosted: Wed Sep 09, 2015 8:44 pm
by justasking
Good day!

I would like to ask for your assistance on how to deactivate vicidial campaigns automatically base on specified time, or is it not possible to do that?

Example:

Campaign 1 should be deactivated at 8:00 am - 09:00 am (In this case, campaign 2 is activated)
Campaign 2 should be deactivated at 9:01 am - 10:00 am (In this case, campaign 1 is activated

Is there any alternative ways to achieve this? Agents are only using manual dial method. Thanks!

Vicidial version is VERSION: 2.6-395a BUILD: 130221-1736

Re: Vicidial Deactivate Campaign Automatically by Specified

PostPosted: Wed Sep 09, 2015 10:02 pm
by williamconley
A couple methods ... you could create a script that would "POST" to the appropriate web page at the appropriate time or you could create a script that would change the necessary table entries for the campaign directly in the DB.

Re: Vicidial Deactivate Campaign Automatically by Specified

PostPosted: Wed Sep 09, 2015 10:18 pm
by justasking
williamconley wrote:A couple methods ... you could create a script that would "POST" to the appropriate web page at the appropriate time or you could create a script that would change the necessary table entries for the campaign directly in the DB.


Whoaaa.. Creating script is out of my league :cry:

Re: Vicidial Deactivate Campaign Automatically by Specified

PostPosted: Wed Sep 09, 2015 10:33 pm
by williamconley
In that case, you have a bit of a challenge. While it's fairly easy to do with a script ... it's virtually impossible to do without a script.

It's fairly simple to do, but you must also remember to log the agents out of the campaign or they'll just continue to call.

Re: Vicidial Deactivate Campaign Automatically by Specified

PostPosted: Wed Sep 09, 2015 10:51 pm
by justasking
williamconley wrote:In that case, you have a bit of a challenge. While it's fairly easy to do with a script ... it's virtually impossible to do without a script.

It's fairly simple to do, but you must also remember to log the agents out of the campaign or they'll just continue to call.


Yup. Basically that's the idea. I'll try to learn on how to create scripts on vicidial.

Re: Vicidial Deactivate Campaign Automatically by Specified

PostPosted: Wed Sep 09, 2015 11:04 pm
by williamconley
You'll be creating the script in PHP or PERL, not Vicidial. and it will be executing a SQL statement or two (or three ...).

Vicidial ... IS scripts. LOL (PHP and PERL scripts ...).

my advice: PHP. It's easier to learn!

Although, technically, you could just execute the sql statements directly at the command line. then you can skip the learning curve on php/perl completely!

Sort of depends on what you're comfortable with.

Look at "crontab -e" for the timed execution and the changes that are made to the "vicidial_campaigns" table when you turn a campaign on/off. Plus what changes are made to log agents off of a campiagn. In many cases, the SQL commands can be viewed on the Vicidial web pages by adding "&DB=1" to the end of the web page on which you make the changes. 8-)

Re: Vicidial Deactivate Campaign Automatically by Specified

PostPosted: Wed Sep 09, 2015 11:07 pm
by justasking
williamconley wrote:You'll be creating the script in PHP or PERL, not Vicidial. and it will be executing a SQL statement or two (or three ...).

Vicidial ... IS scripts. LOL (PHP and PERL scripts ...).

my advice: PHP. It's easier to learn!

Although, technically, you could just execute the sql statements directly at the command line. then you can skip the learning curve on php/perl completely!

Sort of depends on what you're comfortable with.

Look at "crontab -e" for the timed execution and the changes that are made to the "vicidial_campaigns" table when you turn a campaign on/off. Plus what changes are made to log agents off of a campiagn. In many cases, the SQL commands can be viewed on the Vicidial web pages by adding "&DB=1" to the end of the web page on which you make the changes. 8-)


My head hurt a bit while reading scripts, php and perl :?

Re: Vicidial Deactivate Campaign Automatically by Specified

PostPosted: Thu Sep 10, 2015 8:22 am
by omarrodriguezt
Hello,
If you are not familiar with scripts, you can hire someone to help you like @William, or official vicidial sales@vicidial.com or create a Job Post in:
Jobs - Requests for Consultation
This is the forum used by people to post job openings or requests for quotes or consultations

Re: Vicidial Deactivate Campaign Automatically by Specified

PostPosted: Thu Sep 10, 2015 3:05 pm
by justasking
omarrodriguezt wrote:Hello,
If you are not familiar with scripts, you can hire someone to help you like @William, or official vicidial sales@vicidial. com or create a Job Post in:
Jobs - Requests for Consultation
This is the forum used by people to post job openings or requests for quotes or consultations


Thank you for that.

If I have a spare time, I'll try to learn scripting.