<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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="moz-cite-prefix">On 7/26/2014 4:55 PM, Ron Wenig wrote:<br>
</div>
<blockquote cite="mid:53D415C1.9010306@verizon.net" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
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="moz-cite-prefix">On 7/26/2014 12:02 PM, (KP4TR)Ramon
Gonzalez wrote:<br>
</div>
<blockquote cite="mid:53D3D0FF.6060607@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<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="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>