Speaking clock to page group once an hour

I’m sure this is probably pretty simple, but I’m not wrapping my brain around it right now.

What I’d like to do is have the speaking clock app (*60) or something similar automatically announce the time to a particular page group once an hour.

Hints and tips appreciated.

Cheers,
Mike

Call files and a cron job

0 * * * * /yourscript

I’ve used callfiles for a couple of things before and that was my first thought…

so I use
channel: Local/399@from-internal

to direct it to page group 399… but what keyword do I use in the callfile to specify the *60 to link to the speaking clock?

you don’t need to you can just use

application: SayUnixTime
data: unixtime,timezone,format

ref:-

https://www.voip-info.org/wiki/view/Asterisk+cmd+SayUnixTime\

http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/asterisk-APP-B-171.html

try

Application: SayUnixTime
data: ,IMp

1 Like