<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Doug,<br>
      <br>
      If I use "localplay" it does not work. I get no audio.<br>
      <br>
      If I use "playback" it works, but the radio does not key up. I
      have to use "susb key" to get the radio to TX.<br>
      <br>
      <br>
      On 7/26/2014 6:17 PM, Ron Wenig wrote:<br>
    </div>
    <blockquote cite="mid:53D42901.3080707@verizon.net" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Thanks Doug,<br>
      <br>
      That's good to know about playback and localplay.<br>
      <br>
      73, Ron NY3J<br>
      <br>
      <div class="moz-cite-prefix">On 7/26/2014 5:43 PM, Doug Crompton
        wrote:<br>
      </div>
      <blockquote cite="mid:BLU172-W333A90FC394567F4B78939BAFD0@phx.gbl"
        type="cite">
        <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
        <div dir="ltr"><font style="" face="Tahoma">I looked at the
            script and it looks good but one word of warning he is using
            playfile and not localplay to play the files. This sends it
            out globally to all connected nodes and not just your local
            computer. You also do not need to key and unkey the TX,
            localplay does that for you.<br>
            <br>
            This...<br>
            <br>
            asterisk -rx "susb key"<br>
            asterisk -rx "rpt playback $2 ${LOCALSND}"<br>
            asterisk -rx "susb unkey"<br>
            <br>
            should be this for local playback...<br>
            <br>
            asterisk -rx "rpt localplay $2 ${LOCALSND}"<br>
            <br id="FontBreak">
          </font><br>
          <b><font style="font-size:16pt;" size="4">73 Doug</font><font
              style="font-size:16pt;" size="4"><br>
            </font><font style="font-size:16pt;" size="4">WA3DSP</font><font
              style="font-size:16pt;" size="4"><br>
            </font><font style="font-size:16pt;" size="4"><a
                moz-do-not-send="true" class="moz-txt-link-freetext"
                href="http://www.crompton.com/hamradio">http://www.crompton.com/hamradio</a></font></b><font
            style="font-size:16pt;" size="4"><br>
          </font><br>
          <br>
          <div>
            <hr id="stopSpelling">Date: Sat, 26 Jul 2014 17:13:17 -0400<br>
            From: <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:rwenig@verizon.net">rwenig@verizon.net</a><br>
            To: <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
            Subject: Re: [arm-allstar] speaktext.sh<br>
            <br>
            Ramon,<br>
            <br>
            Never mind, Google fixed it.  I guess the problem was using
            WinSCP to copy the program.  Issuing the command :set
            fileformat=unix in VI fixed it.<code>  It works great. 
              Can't wait to see the next phase of the program.<br>
              <br>
              73, Ron NY3J<br>
              <br>
            </code>
            <div class="ecxmoz-cite-prefix">On 7/26/2014 4:55 PM, Ron
              Wenig wrote:<br>
            </div>
            <blockquote cite="mid:53D415C1.9010306@verizon.net"> Hi
              Ramon,<br>
              <br>
              I hope you don't mind but I wanted to give your
              shellscript a try.  I'm just learning Linux so I may be
              over my head in this.  It's my test node so I'm not
              worried about breaking it.  <br>
              <br>
              I copied your shellscript to /etc/asterisk/local then
              issued chmod 755 speaktext.sh.  When I run the script I
              get the following:<br>
              <br>
              [root@bbb-digital local]# ./speaktext.sh "192.168.1.3"
              40892<br>
              -bash: ./speaktext.sh: /bin/bash^M: bad interpreter: No
              such file or directory<br>
              <br>
              Let me know if it's an easy fix for me.  If it's too
              involved I'll stick to more basic stuff :-)<br>
              <br>
              73, Ron NY3J<br>
              <br>
              <div class="ecxmoz-cite-prefix">On 7/26/2014 12:02 PM,
                (KP4TR)Ramon Gonzalez wrote:<br>
              </div>
              <blockquote cite="mid:53D3D0FF.6060607@gmail.com"> <font
                  size="+1">Doug<br>
                  <br>
                  Attached is a shellscript I wrote based on the
                  questions I had about making the radio transmit and
                  sending speech.<br>
                  <br>
                  I'm using this to output information from my local
                  environment using another script that fetches this for
                  me from DTMF commands. That other script is yet to be
                  written but I do have it for IRLP. Just need to adapt
                  it to Allstar.<br>
                  <br>
                  To use just enter text in quotes and the node to send
                  it to. It is still a work in progress but useable<br>
                  <br>
                  Example syntax is:<br>
                  <br>
                  ./speaktext.sh "IP 192.168.1.20" 28727<br>
                </font> <br>
                <fieldset class="ecxmimeAttachmentHeader"></fieldset>
                <br>
                <pre>_______________________________________________

arm-allstar mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>

Visit the BBB web page - <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a>
</pre>
              </blockquote>
              <br>
              <br>
              <fieldset class="ecxmimeAttachmentHeader"></fieldset>
              <br>
              <pre>_______________________________________________

arm-allstar mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>

Visit the BBB web page - <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a>
</pre>
            </blockquote>
            <br>
            <br>
            _______________________________________________ arm-allstar
            mailing list <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
            <a moz-do-not-send="true" class="moz-txt-link-freetext"
              href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>
            Visit the BBB web page - <a moz-do-not-send="true"
              class="moz-txt-link-freetext"
              href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a></div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________

arm-allstar mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>

Visit the BBB web page - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________

arm-allstar mailing list
<a class="moz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
<a class="moz-txt-link-freetext" href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>

Visit the BBB web page - <a class="moz-txt-link-freetext" href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a></pre>
    </blockquote>
    <br>
  </body>
</html>