Excecuting a shell script from campaign

Any and all non-support discussions

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

Excecuting a shell script from campaign

Postby cbsys » Wed Sep 05, 2012 9:11 am

Hi,

Does anyone know if its possible to execute a shell script after a campaign has finished dialling
e.g. when hopper level has reached zero, or when there is no dialling because no agents are logged in

We want our system to email an administrator to notify them that the campaign has stopped
cbsys
 
Posts: 54
Joined: Wed Nov 09, 2011 11:09 am

Re: Excecuting a shell script from campaign

Postby mflorell » Thu Sep 06, 2012 7:08 am

There is currently no feature that does what you describe.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Excecuting a shell script from campaign

Postby cbsys » Thu Sep 06, 2012 7:16 am

Not on the front end no,
but is there one of the pl scripts which run in the background which can be edited to invoke something?
cbsys
 
Posts: 54
Joined: Wed Nov 09, 2011 11:09 am

Re: Excecuting a shell script from campaign

Postby mflorell » Thu Sep 06, 2012 7:55 am

I'm sure you could write something that would look for certain conditions, but there really is no trigger for the "end of a campaign" currently in the code.

With lead recycling and call times, a campaign could be done one minute and back up and running the next.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Excecuting a shell script from campaign

Postby williamconley » Fri Mar 29, 2013 2:50 pm

we've written this for a couple clients in various ways. simplest is a php script that checks every 1 or 5 minutes and resets if empty (and still within calling times).
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 85 guests