<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>You don’t need an audio file to announce the time as app_has a command for it. You can run it at the Asterisk CLI:</div><div><span style="font-family: Monaco;">*CLI> rpt cmd <yournode> status 12 0</span></div><div><br></div><div>Scripting is one of the main reasons to have a Linux based repeater controller. I’m not sure what level your Linux knowledge is so pardon me if I start at too basic of a level. Scripting is a big subject but lets see if we can get you started. First google cron. Cron runs Linux programs or scripts based on a set of time rules. This cron entry calls a script once every 3 hours between 6am and 9pm. </div><div><div style="margin: 0px; font-family: Monaco;">00 6-21/3 * * * /root/bin/time.sh</div><div style="margin: 0px; font-family: Monaco;"><br></div><div style="margin: 0px;">The command crontab -e is how you add a cron entry. By default crontab uses the vi editor. Vi has a steep learning curve but you might as well learn it if you want to become a for real Linux guy. <esc>:wq and <esc>:q! are two vi commands you’ll want to learn right away. Google vi.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Then you will need to create a script with one of the Linux editors. Newbies generally use the nano editor but it you have got this far you already have a bit of vi under your belt so keep up the good work. The script looks like this:</div><div style="margin: 0px; font-family: Monaco;"><div style="margin: 0px;">#! /bin/bash</div><div style="margin: 0px;">/usr/sbin/asterisk -rx "rpt cmd <yournode> status 12 0"</div></div><div><br class="webkit-block-placeholder"></div><div>After you create the script you need to mark it as executable. Again google is your friend, google chmod:</div><div><font face="Monaco">chmod +x /root/bin/time.sh</font></div><div><br class="webkit-block-placeholder"></div><div>Having said all that, you don’t have to use scripting to do a time announcement. You can do it with the app_rpt scheduler. But I’ve not used it so I’ll leave it up to others to jump in here and explain the scheduler.  There are comments in rpt.conf that may be sufficient.</div><div><br></div><div><br></div><div>BTW, when changing subjects best practice is to start a new thread. Tailgating leads to forever threads with no relation to the subject line.</div><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div>--</div><div>Tim</div><div>:wq</div></span>

</div>
<br><div><div>On May 3, 2014, at 6:01 AM, Skyler F <<a href="mailto:electricity440@gmail.com">electricity440@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Thank you Geoff for the help, that makes sense. <br><br>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?<br>
<br></div><br><div><br>73<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 1, 2014 at 4:40 PM, Geoff <span dir="ltr"><<a href="mailto:ars.w5omr@gmail.com" target="_blank">ars.w5omr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="">
    <br>
    <div>On 04/18/2014 12:06 PM, Skyler Fennell
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div>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 "<span>/etc/rc3.d/S55sshd restart"?</span></div>
      <div><span><br>
        </span></div>
      <div><span>I got really confused with all of those random
          numbers under telemetry section, but I guess they are all
          frequencies for the Courtesy tone.</span></div>
      <div><span><br>
        </span></div>
      <div><span>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. </span></div>
      <div><span><br>
        </span></div>
      <div><span>When I get home, I will check the files, and test
          the telephone portal. </span></div>
      <br>
    </blockquote>
    <br></div>
    I know I'm late to this party, but I was outta town...<br>
    <br>
    First off, know that there's really only 3 courtesy tones you need
    to be concerned with...<br>
    <br>
    unlinkedct=ct2                                  ;Courtesy tone sound
    the node makes when not linked <br>
    remotect=ct3                                    ;Courtesy tone sound
    the node makes when linked <br>
    linkunkeyct=ct8                                 ;Courtesy tone sound
    the node makes when a remote linked system unkeys<br>
    <br>
    Then, further down in rpt.conf<br>
    <br>
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)<br>
    ct3=|t(0,0,10,0)(880,440,150,2048)(0,0,10,0)(440,660,150,2048)<br>
    ct8=|t(0,0,10,0)(880,440,50,2048)(0,0,50,0)(350,440,50,2048)<br>
    remotetx=|t(500,0,10,1048)(0,0,10,0)(1000,0,10,1048)<br>
    remotemon=|t(1009,0,50,2048)<br>
    cmdmode=|icm ;(220,247,262,294,330,350,392,2048)<br>
    <br>
    As far as what the numbers mean, <br>
    (0.0.10.0)<br>
     |  |  |    |-------amplitude<br>
     |  |  |-----------duration<br>
     |  |--------------Tone 2<br>
     |----------------Tone 1<br>
    <br>
    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)<br>
    <br>
    The numbers, like 350,440,10,2048 are 350Hz, 440Hz, 10ms delay,
    amplitude of 2048.<br>
    <br>
    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.<br>
    <br>
    <br>
    <br>
    Hope that clears it up for you.<br>
    <br>
    -Geoff/W5OMR<br>
    <br>
    <br>
  </div>

<br>_______________________________________________<br>
App_rpt-users mailing list<br>
<a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br>
<a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br>
<br>
To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>

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. <br></blockquote></div><br><br clear="all"><br>
-- <br><div dir="ltr"><font face="arial narrow, sans-serif" color="#38761d">Skyler Fennell</font><div><font face="arial narrow, sans-serif" color="#38761d"><a href="http://amsatnet.info/" target="_blank">amsatnet.info</a></font></div>
<div><font face="arial narrow, sans-serif" color="#38761d">KDØWHB</font></div><div><font face="arial narrow, sans-serif" color="#38761d"><a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a></font></div>
</div>
</div>
_______________________________________________<br>App_rpt-users mailing list<br><a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br>http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users<br><br>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"<br>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. </blockquote></div><br></div></body></html>