24 Dec
2016
24 Dec
'16
5:32 p.m.
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. Ken