Page 1 of 1

Calling times excluding parts of the day

PostPosted: Fri Jul 03, 2020 3:51 am
by Ioannis
Hello,

I am trying to set calling times that will exclude 15:00-17:30 (so from 09:00 to 14:59 and then again from 17:31 to 21:00) as it is forbidden to call people's homes during these times but I cannot find such a capability in the system, what I only find is continuous calling times. Is there any way to block outbound calls for a specific time period for a campaign or a list? Are there any suggestions please?

Re: Calling times excluding parts of the day

PostPosted: Fri Jul 03, 2020 5:17 am
by ccabrera
As you noticed, you can only set up a continuous calling time.

What I would do, is set a cron which modifies the contents of the call times table, so at 9:00 AM it sets it from 900 to 1459, then at 15:00 changes it to 1731 to 2100.

It wouldn't be pretty, but it will get the job done.

Re: Calling times excluding parts of the day

PostPosted: Fri Jul 03, 2020 2:42 pm
by mflorell
We've also see clients use Filters to exclude specific time zones at specific times of the day.

Re: Calling times excluding parts of the day

PostPosted: Fri Jul 03, 2020 3:53 pm
by ccabrera
Thats true, I never thought of that. You could set up a filter which would disallow all leads when run at a certain time. Something in the likes of

Code: Select all
DATE_FORMAT(NOW(),"%H%i") NOT BETWEEN 1500 AND 1730


When dialing outside of the defined time frame, the filter would negate all leads, so the hopper would never load. However, this example would work with multiple timezones, and just as Matt said, you would have to adjust it to consider GMT when dialing.

However, if you only call within one timezone, the code above should do the trick.

Re: Calling times excluding parts of the day

PostPosted: Fri Jul 03, 2020 11:13 pm
by carpenox
good shit, thx christian