Keith McCabe
New Member
- Joined
- Nov 9, 2015
- Messages
- 2
- Reaction score
- 0
Although I'm not a newbie, I have to admit that this is a bit over my head. Here is the situation. We have added a "fallback" PBX system at our datacenter in case our office has power/internet issues. Our phone systems are routed that in case of problems all phone calls will go to the data center. We are running Asterisk 11 and FreePBX 2.11.0.43. For all the users, the system will send them all their calls via voicemail emails. But some of our users still want to get their voicemails on their Polycom phones as well. I have created a cron job that will .tar the folder and send the data over to the server. (It uses a method that I read in the forums).
My question is, how can I get this cron job to run every hour, but only to run the data to our production Asterisk server when there are voicemails on the redundant server?
My question is, how can I get this cron job to run every hour, but only to run the data to our production Asterisk server when there are voicemails on the redundant server?