[arm-allstar] BCD Remote Base Dual Node HELP!!!!!
Doug Crompton
wa3dsp at gmail.com
Tue Aug 15 23:10:10 EST 2017
Bobby,
You said Dave and I think you meant Doug. Anyhow glad to hear you got it
going.
What you are asking could be done but would require some script writing. As
far as announcements the BCD script I sent could say what ever you want to
your local nodes after a channel is changed. You just need to send the
voice message out to them. Knowing the channel number in the script you
could do the following -
Lets assume the channel number is defined as $Channel in the script and the
two nodes you wanted to play to were 40000 and 40001.
/usr/sbin/asterisk "rpt localplay 40000 /var/lib/asterisk/sounds/channel"
/usr/sbin/asterisk "rpt localplay 40000
/var/lib/asterisk/sounds/digits/$Channel"
/usr/sbin/asterisk "rpt localplay 40001 /var/lib/asterisk/sounds/channel"
/usr/sbin/asterisk "rpt localplay 40001
/var/lib/asterisk/sounds/digits/$Channel"
This would play the word "channel" and the actual channel number to both
nodes. I think this is what you wanted. Setting it up to work with supermon
would not be hard but would require some scripting. I don't think there is
any way to know what channel it is currently on other than storing the
change to a file or environment variable and reading it back. So in the BCD
script you might do something like this after the channel was changed.
echo $Channel > /tmp/last_channel
Then it could be read back in another script to determine what channel you
are currently on.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Tue, Aug 15, 2017 at 11:22 PM, "Bobby Bruton via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> Dave thanks for the BCD and DTMF script its working great.What I have a
> dual node setup RUNNING DUPLEX 0, Radios are Motorola CDM series, 1 UHF 1
> VHF. using 4 wire BCD channel controll.
> I was able to take your BCD Script , BCD_Control and make a second one
> called BCD_Controll And change the IO pins for the second node.
> I took the DTMF control for the first one which is 62xx xx being channel
> number pointed to BCD_controlMade a second DTMF which is 63xx xx being
> channel number pointed to BCD_controll (note first is control second is
> conroll with 2 LL'S )
> 62=autopatchup,context=radio_control1,noct=1,farenddisconnect=1,dialtime=
> 7000,quiet=1
> 63=autopatchup,context=radio_controll1,noct=1,farenddisconnect=1,dialtime=
> 7000,quiet=1
>
> built up NPN transistor buffers for the channel select lines for both
> radios.
> I can change channels on both radios independently using IaXRpt *62xx
> or *63xx it works great!!!!
> What I would like to do now is add DTMF Voice telementry that will go out
> both nodes at the same time, example I send *6210, I hear R1 10come out
> both radios, I send 6303 I heare R2 03 come out both radios, I would like
> voice for both radios ch1 thru 16
> Then I would like to Redo the GPIO GUI or Add to Controlls or somwhere in
> Supermon to just show Radio 1 and Radio 2 and show which channels are set
> for on or active which will reflect the BCD code selected in the
> BCD_Control, or BCD_Controll script.
> any help from anybody would be greatly appreciatedThanks Bob AG5BB
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
More information about the arm-allstar
mailing list