[App_rpt-users] RANGER network

Bryan D. Boyle bdboyle at bdboyle.com
Sat Nov 12 01:51:05 UTC 2011


On 11/11/11 7:08 PM, David KE6UPI wrote:
> OK I like the idea. Can we have it exec a command. The command then can
> connect and target a email to other hams. I might want the command to dial
> the auto-patch.. Must likely if I'm not listening to 146.550 then I'm not
> listening to my repeater.

How about sending a text page as well as executing an rpt cmd to connect 
the node to the repeater/hub/etc?

Just wrote a script that did that...:
--
#!/bin/bash
# RANGER Node pull up script
# Proof of concept.  Brute force, no checks, WYSIWYG
# WB0YLE 11/11/11

# asterisk command to link ranger node to the southern bucks hub
/usr/sbin/asterisk -rx "rpt cmd ranger ilink 3 myhub"

# now, tell me about it so if I'm not listening.
mail -s "RANGER Node Activation" xxxyyyzzzz at txt.cellprovider.net < 
/etc/asterisk/scripts/activation.txt

--
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.

(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...)

so...the command could look something like:

litzcmd=cmd,/etc/asterisk/scripts/rangerup.sh

Works from the cli...have to reload rpt.conf to see if it does it from 
longtone.

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.

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...

So...would that be acceptable?

--
Bryan
In this world, you must be oh so smart or oh so pleasant.
Well, for years I was smart. I recommend pleasant.
You may quote me.

Sent from my MacBook Pro.



More information about the App_rpt-users mailing list