Calling times excluding parts of the day

All installation and configuration problems and questions

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

Calling times excluding parts of the day

Postby Ioannis » Fri Jul 03, 2020 3:51 am

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?
Ioannis
 
Posts: 7
Joined: Sun May 31, 2020 3:30 am

Re: Calling times excluding parts of the day

Postby ccabrera » Fri Jul 03, 2020 5:17 am

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.
Christian Cabrera
Enlaza Comunicaciones - Vicidial Partner
Mexico City
ccabrera
 
Posts: 153
Joined: Fri Jan 14, 2011 7:53 pm
Location: Mexico City

Re: Calling times excluding parts of the day

Postby mflorell » Fri Jul 03, 2020 2:42 pm

We've also see clients use Filters to exclude specific time zones at specific times of the day.
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Calling times excluding parts of the day

Postby ccabrera » Fri Jul 03, 2020 3:53 pm

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.
Christian Cabrera
Enlaza Comunicaciones - Vicidial Partner
Mexico City
ccabrera
 
Posts: 153
Joined: Fri Jan 14, 2011 7:53 pm
Location: Mexico City

Re: Calling times excluding parts of the day

Postby carpenox » Fri Jul 03, 2020 11:13 pm

good shit, thx christian
Alma Linux 9.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2247
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: No registered users and 104 guests