Thanks Ken..
 
Now I just have to understand command and macro’s.. ;-)
 
I do understand the way they are done, but still have some problem figuring this out.
 
Like in the shedule where you have:
 
1 = 00 05 * * * ; announce the time
 
the one at the beginnig, where is it comming from? or where does it point to?
the rest is cron like and I understand.
 
 
 
From: Ken
Sent: Monday, March 25, 2013 5:20 PM
Subject: RE: [App_rpt-users] voiceid
 

You can use the [schedule] stanza

Example

 

[schedule]                                                                     

;dtmf_function =  m h dom mon dow  ; ala cron, star is implied                 

1 = 00 05 * * *   ; announce the time

1 = 00 06 * * *   ; announce the time

1 = 00 07 * * *   ; announce the time

1 = 00 08 * * *   ; announce the time

2 = 00 12 * * *   ; westminster chime

1 = 00 17 * * *   ; announce the time

1 = 00 18 * * *   ; announce the time

 

I found that this syntax seems to work with macro’s, not functions, despite the comment that “came with”

 

You can also use a cron job by calling “asterisk –rx” function

Example – here I use a script

 

[root@atom2 ~]# crontab -l

59 08 * * 6  /usr/local/sbin/do_newsline.sh

(etc)

 

Here is part of the script do_newsline.sh

. . .