[App_rpt-users] hourly message

Ken ke2n at cs.com
Sat Dec 24 12:32:11 EST 2016

Hi Ramesh
A cron job will work, of course - using the:
/usr/sbin/asterisk -rx "rpt fun nnnnn *xxxx"
Format, where nnnnn is the node number and xxxx is a function that you have
designated for the localplay command.

You can also use the built-in scheduler where you call a macro.  The macro
must be defined in the [macros] stanza and typically use a function that is
defined in the [functions] stanza.

The only problem I have found with the macro approach is that, if you intend
to issue several playback commands in one macro, they will not necessarily
execute in the order that you list them.


More information about the App_rpt-users mailing list