Skyler,
No script required for that.

Once you have the audio file you want to play,

Create a command to play it
8901=localplay,/etc/asterisk/msg/wxfc ; play wx fcst local only
8902=Playback,/etc/asterisk/msg/wxfc  ; play wx fcst ALL/BROADCAST

You only need to create a "macro" to play it (run that command)

Then use the app_rpt "scheduler" to set the time you want to run that macro you created to play the file.

Just use above as a reference and read-up on macro and scheduler.

...mike/kb8jnm

-------- Original Message --------
Subject: Re: [App_rpt-users] Changing Courtesy Tones, and SSHing into
the computer
From: Skyler F <electricity440@gmail.com>
Date: Sat, May 03, 2014 9:01 am
To: Geoff <ars.w5omr@gmail.com>
Cc: "app_rpt-users@ohnosec.org" <app_rpt-users@ohnosec.org>

Thank you Geoff for the help, that makes sense.

Does anybody know how to have an hourly announcement with an audio file? I have heard of scripts or something, but I don't know how to script for it, where can I get started with scripting in ACID?



73


On Thu, May 1, 2014 at 4:40 PM, Geoff <ars.w5omr@gmail.com> wrote:

On 04/18/2014 12:06 PM, Skyler Fennell wrote:
I did not restart the sshd after I changed port 222 to 22. I did reboot the computer, but Maybe that's not enough. So just run "/etc/rc3.d/S55sshd restart"?

I got really confused with all of those random numbers under telemetry section, but I guess they are all frequencies for the Courtesy tone.

On audacity, I just did file > export then I chose other uncompressed format and did Microsoft wav, ULAW. I also made sure the project rate was at 8000. 

When I get home, I will check the files, and test the telephone portal. 


I know I'm late to this party, but I was outta town...

First off, know that there's really only 3 courtesy tones you need to be concerned with...

unlinkedct=ct2                                  ;Courtesy tone sound the node makes when not linked
remotect=ct3                                    ;Courtesy tone sound the node makes when linked
linkunkeyct=ct8                                 ;Courtesy tone sound the node makes when a remote linked system unkeys

Then, further down in rpt.conf

ct2=|t(0,0,10,0)(350,440,10,2048)(0,0,10,0)(350,440,10,2048)(0,0,10,0)(350,440,10,2048)(0,0,10,0)(350,440,100,2048)
ct3=|t(0,0,10,0)(880,440,150,2048)(0,0,10,0)(440,660,150,2048)
ct8=|t(0,0,10,0)(880,440,50,2048)(0,0,50,0)(350,440,50,2048)
remotetx=|t(500,0,10,1048)(0,0,10,0)(1000,0,10,1048)
remotemon=|t(1009,0,50,2048)
cmdmode=|icm ;(220,247,262,294,330,350,392,2048)

As far as what the numbers mean,
(0.0.10.0)
 |  |  |    |-------amplitude
 |  |  |-----------duration
 |  |--------------Tone 2
 |----------------Tone 1

So, with 0,0,10,0 That says No Tone1, No Tone2, 10ms duration, 0 Amplitude.  (I use it for a delay.  Fine tuning for how long before telemetry is sent, in conjunction with the telemdelay parameter)

The numbers, like 350,440,10,2048 are 350Hz, 440Hz, 10ms delay, amplitude of 2048.

When you 'remote' into a friends node (with their permission) by using *4{nodenumber} that's the time you hear the tone defined in remotetx.



Hope that clears it up for you.

-Geoff/W5OMR



_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.



--
Skyler Fennell
KDØWHB

_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.