[arm-allstar] Macro/Function Help

Rob Harrison rob.harrison at mis-specialists.co.uk
Sat Jan 30 04:15:02 EST 2021


Hi All,

Below is a snip of part of my rpt.conf.

I was using macro 1 on the hour to give a voice announcement of my call followed by the time. All was working fine. Macro 1 is as you can see is 920 followed by 81

But I wanted to add the WX conditions. So I edited the 81 function (currently commented out)… the 81 with the WX in it works fine when I send *81 to the node.

but *51 only sends the 920 and doesn’t play 81 at all. I’m confused.

So how do I get 920 and the commented out 81 to play together as macro 1 (*51)?

[schedule53393]
;dtmf_function = m h dom mon dow ; ala cron, star is implied
1=00 * * * * ;run macro 1 on the hour

[functions53393]
81=status,12 ; Time of Day (local)
;81=cmd,/usr/local/sbin/saytime.pl EGOS 53393 ; Time of Day and Weather

; Play a Node announcement
920=localplay,/etc/asterisk/local/53393 ; Voice ID

[macro53393]
;Macro number = command string (each command separated by space) -end with HASH
1=*920 *81# ; Voice ID & Time Announcement

Thanks Rob

 



More information about the ARM-allstar mailing list