[App_rpt-users] Schedule and Macro question

Scott Weis kb2ear at kb2ear.net
Mon Dec 5 02:15:12 UTC 2011


The macros in app_rpt are very limited. You would need to put one line for
each day. Or do it from the centos cron. Much easier.

 

Do a crontab -e and append the following:

 

0 20 * * 1-5 /usr/sbin/asterisk -rx "rpt fun 28052 *327597"

0 22 * * 1-5 /usr/sbin/asterisk -rx "rpt fun 28052 *71"

 

 

From: app_rpt-users-bounces at ohnosec.org
[mailto:app_rpt-users-bounces at ohnosec.org] On Behalf Of Shaun Rudling
Sent: Sunday, December 04, 2011 7:49 PM
To: app_rpt-users at ohnosec.org
Subject: [App_rpt-users] Schedule and Makro question

 

I would like to automatically connect to AllStar node 27597 every night at
20:00 to 22:00 (local time) and then automatically disconnect. But only
Monday to Friday. Not Sat and Sun.

Am I on the right track here .................... ?



[schedule28052]

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

7 = 0 * * * * 
8 = 0 20 * mon,tue,wed,thu,fri *
9 = 0 22 * mon,tue,wed,thu,fri *


; Place command macros here

[macro28052]
7 = *81#
8 = *327597
9 = *71





I do hear the time announcement every hour on the hour so that part is
working. BTW, what is the "#" for after the *81


Shaun
zr5s




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20111204/17d132bb/attachment.html>


More information about the App_rpt-users mailing list