On 2/17/2012 9:47 PM, Ron Simpson wrote:

Is it possible to use the voice mail features built into Asterisk for canned system announcements? I want to announce the various nets and meetings on the repeater. I would also like to use the vm feature for someone to call in and leave me a message. Am I doing some big time wishful thinking or is this possible!!

73,

Ron - N6GKJ
Sent from Yahoo! Mail on Android

 

Another two ways to do announcements at specific times (not voicemail):

 

1)      Put an entry in the [schedule] stanza to run a macro at the desired date/time and have the macro play the recording

2)      Put entries in crontab calling asterisk –rx with the commands in quotes,  like:

 

asterisk -rx "rpt fun 27021 *9913"

 

with this second method,  you can call a script file and put many commands in the file to do something more elaborate than would you could do with a macro.

 

For example

 

/usr/sbin/asterisk -rx "rpt fun 27021 *80"

/usr/sbin/asterisk -rx "rpt fun 27021 *9916"

/usr/sbin/asterisk -rx "rpt fun 27021 *9940"

/usr/sbin/asterisk -rx "rpt fun 27021 *711883"

/usr/sbin/asterisk -rx "rpt fun 27021 *6601"

sleep 5

/usr/sbin/asterisk -rx "rpt fun 27021 *427061"

sleep 5

/usr/sbin/asterisk -rx "rpt fun 27021 *6601#"

sleep 5

/usr/sbin/asterisk -rx "rpt fun 27021 *428204"

sleep 5

/usr/sbin/asterisk -rx "rpt fun 27021 *6601#"

sleep 5

/usr/sbin/asterisk -rx "rpt fun 27021 *4533"

sleep 5

/usr/sbin/asterisk -rx "rpt fun 27021 *6601#"

sleep 5

/usr/sbin/asterisk -rx "rpt fun 27021 *9911"

sleep 34m

/usr/sbin/asterisk -rx "rpt fun 27021 *892"

/usr/sbin/asterisk -rx "rpt fun 27021 *427061"

 

73

Ken – KE2N