split times in local call time

Discussions about new features or changes in existing features

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

split times in local call time

Postby talalshamijo » Sat Jun 15, 2013 1:35 pm

Hi,

is there a way to have multiple times set during a day for a local call time?
am trying to have working hours every day from 900-1600 and from 2100-100* (*is next working day)

apprecaite all help

Talal
talalshamijo
 
Posts: 4
Joined: Sat Jun 15, 2013 1:23 pm

Re: split times in local call time

Postby mflorell » Mon Jun 17, 2013 8:36 am

Not directly in the web interface, but over 2 years ago we added the AST_DB_calltime_change.pl script to allow for this. You would put this in the crontab before and after the second set of times. Also, if you want a call time to go until 1 AM, then you need to use 2500 as the stop time.

Here's are example crontab entries from one of our clients doing this:

59 9 * * * /usr/share/astguiclient/AST_DB_calltime_change.pl --calltime=705007 -q --default-start=1000 --default-stop=1600
59 16 * * * /usr/share/astguiclient/AST_DB_calltime_change.pl --calltime=705007 -q --default-start=1700 --default-stop=1900
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: split times in local call time

Postby talalshamijo » Wed Jun 19, 2013 11:18 am

Thanks for the info... will try it..
talalshamijo
 
Posts: 4
Joined: Sat Jun 15, 2013 1:23 pm

Re: split times in local call time

Postby iboam » Sun Nov 11, 2018 3:51 pm

Hi mflorell, and thanks for this solution. i have an specific question. how may this work for an specific campaign ?? calltime= CALLTIME ID ??
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: split times in local call time

Postby mflorell » Sun Nov 11, 2018 5:30 pm

A campaign has a call time assigned to it, so you can use a separate call time for each campaign if you want.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: split times in local call time

Postby iboam » Sun Nov 11, 2018 6:00 pm

i have this call time from 5:00 pm - 9:00 pm every day of the week only for 1 campaign, but i would like to run this campaign Mon-Wed-Fri from 10:00 Am to 12:00 Pm too
Image

Question: is this the cron job that i need to run in order to run this campaign also Mon-Wed-Fri from 10:00 Am to 12:00 Pm ???

0 17-21 * * 1-5 /usr/share/astguiclient/AST_DB_calltime_change.pl --calltime=5pm-9pm -q --default-start=1700 --default-stop=2100
0 10-12 * * 1,3,5 /usr/share/astguiclient/AST_DB_calltime_change.pl --calltime=5pm-9pm -q --default-start=1000 --default-stop=1200

or just add the additional time condition for this campaign ?
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: split times in local call time

Postby mflorell » Mon Nov 12, 2018 10:37 am

Why not add a new Call Time for that one campaign?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: split times in local call time

Postby iboam » Mon Nov 12, 2018 11:29 am

I want to run the campaign twice a day:
Mon-Wed-Fri from 10:00 Am to 12:00 Pm and 5:00 pm - 9:00 pm
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm


Return to Features

Who is online

Users browsing this forum: No registered users and 54 guests