Yes I like it. I'll try to update my node. As for the 911. I use the 10 digit number to the 911 center. I like the cmd that way you can do just about anything.. Maybe have a auto response press 1 to dial 911 or press 2 for auto patch press 3 for AAA etc.<br>
<br>David <br><br><div class="gmail_quote">On Fri, Nov 11, 2011 at 5:51 PM, Bryan D. Boyle <span dir="ltr"><<a href="mailto:bdboyle@bdboyle.com">bdboyle@bdboyle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 11/11/11 7:08 PM, David KE6UPI wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
OK I like the idea. Can we have it exec a command. The command then can<br>
connect and target a email to other hams. I might want the command to dial<br>
the auto-patch.. Must likely if I'm not listening to 146.550 then I'm not<br>
listening to my repeater.<br>
</blockquote>
<br></div>
How about sending a text page as well as executing an rpt cmd to connect the node to the repeater/hub/etc?<br>
<br>
Just wrote a script that did that...:<br>
--<br>
#!/bin/bash<br>
# RANGER Node pull up script<br>
# Proof of concept.  Brute force, no checks, WYSIWYG<br>
# WB0YLE 11/11/11<br>
<br>
# asterisk command to link ranger node to the southern bucks hub<br>
/usr/sbin/asterisk -rx "rpt cmd ranger ilink 3 myhub"<br>
<br>
# now, tell me about it so if I'm not listening.<br>
mail -s "RANGER Node Activation" <a href="mailto:xxxyyyzzzz@txt.cellprovider.net" target="_blank">xxxyyyzzzz@txt.cellprovider.<u></u>net</a> < /etc/asterisk/scripts/<u></u>activation.txt<br>
<br>
--<br>
Note, if you use something like GroupMe, which is a group messaging app, it has a single phone number assigned to the group...so, you could set up a messaging group (as we have here in PA/NJ asterisk sysops) where a group of folks who monitor a common messaging platform all get the txt message.<br>

<br>
(activation.txt is just a single line text file that says "Node activated...ok, it's hokey...could get away with just a . in the file to set the EOM that mail would be expecting...I'll try and gin up a perl script that does all this including expressing the asterisk call...give me a day or so...pile of honeydos and an SB200 from a fellow club member to put the harbach mods in...)<br>

<br>
so...the command could look something like:<br>
<br>
litzcmd=cmd,/etc/asterisk/<u></u>scripts/rangerup.sh<br>
<br>
Works from the cli...have to reload rpt.conf to see if it does it from longtone.<br>
<br>
I'm not sure that using litz to call 911 is necessarily what you want to do, since the call would be placed to the call center assigned to YOUR phone, not necessarily where the incident was occurring, which may or may not be in the same state even (our network is accessible from 3 states...)  FWIW, litzcmd can already do that; the function is documented somewhere in the ohnosec wiki.<br>

<br>
This is actually an extension to the command...does a lot more...links to a hub/repeater, adds in a pre-courtesy tone beep sequence, kills telemetry on the RANGER, etc.  If the capability to call a script works...there's no limit to what you can do...<br>

<br>
So...would that be acceptable?<div><div></div><div class="h5"><br>
<br>
--<br>
Bryan<br>
In this world, you must be oh so smart or oh so pleasant.<br>
Well, for years I was smart. I recommend pleasant.<br>
You may quote me.<br>
<br>
Sent from my MacBook Pro.<br>
</div></div></blockquote></div><br>