System Time Set using Radio DTMF

A means to set system clock with DTMF RADIO COMMANDS.

First I want to point out several things. Read the warnings at the bottom. This is not a perfect thing, but a framework to meet a end need. You will likely need to make adjustments to it for your particular circumstance(s).

It was intended for Acid users who have no internet connection on their system but can be adapted to fit many situations. While there are more than a dozen ways to do the same thing, I chose this one to show to the group for the simplicity of implementation to those that are not as linux savvy, but have learned asterisk somewhat.

If you are in the US and have had the same system running for many years without updating the zoneinfo files, you should do that and copy the new timezone file to your /etc/localtime because the Daylight […]

Sync time with NTP for app_rpt

(internet connected systems only)

While this probably should be done by your OS, from cron

Here is a script to sync your time with NTP.

Give it a name (synctime.sh) , Apply ownership

Give it a command in rpt.conf, Run that command from the macro/sched late at night.

#!/bin/bash /usr/sbin/ntpdate pool.ntp.org > /etc/asterisk/log/timelog.txt Will also create a log file if you need to check that it has been running correctly. If not needed, delete all after and including “>” Hopefully these are more of a example of how to do other things for those that are learning.

EDITING / CONFIGURING app_rpt FILES and OPTIONS

Next step, if you started from the beginning of our quickie install example, is to edit and configure the system files. If you want to start from the beginning CLICK HERE

A quick word once again, we are not exploring all the options you may have with this. We are assuming you care not about reading up on this stuff before you make a move. This data only pertains to ACID install.

Some rules here are that any part of a line in a .conf file that starts with ; (semicolon) is ignored and. can appear anywhere on a line but the system ignores anything after it. Lines can be very long so don’t be confused if they wordwrap to the next line.

All .conf files are located in /etc/asterisk

You can edit these .conf files locally using the “NANO” editor (included in install).

We will start with extensions.conf

cd […]