[arm-allstar] Re BCD Telementry information from Doug example please ?

Doug Crompton wa3dsp at gmail.com
Fri Aug 18 00:37:29 EST 2017


Bobby,

 I think what I sent is the example. It is place in the script after the
channel is setup on the radio. It will say
"channel x"  where x is the channel number set.  The four lines I gave
could go at the end of the script. You do need to change $Channel in two of
the lines to the actuall variable inyour script that is being used to hold
the channel number and you need to change the two example node numbers to
the ones you are using.


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*



On Thu, Aug 17, 2017 at 3:04 AM, "Bobby Bruton via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> I have been reading and toying around with what you sent me.(see questions
> below)
> What you are asking could be done but would require some script writing.
> Asfar as announcements the BCD script I sent could say what ever you want
> toyour local nodes after a channel is changed. You just need to send
> thevoice message out to them. Knowing the channel number in the script
> youcould do the following -
> Lets assume the channel number is defined as $Channel in the script and
> thetwo nodes you wanted to play to were 40000 and 40001.
> ($Channel in script, which script and where to put it at in script example
> please ? )
> /usr/sbin/asterisk "rpt localplay 46221 /var/lib/asterisk/sounds/channel"/usr/sbin/asterisk
> "rpt localplay 46221/var/lib/asterisk/sounds/digits/$Channel"/usr/sbin/asterisk
> "rpt localplay 46222 /var/lib/asterisk/sounds/channel"/usr/sbin/asterisk
> "rpt localplay 46222/var/lib/asterisk/sounds/digits/$Channel"
> ( What do I do with the above information example please ? )
> This would play the word "channel" and the actual channel number to
> bothnodes. I think this is what you wanted. Setting it up to work with
> supermonwould not be hard but would require some scripting. I don't think
> there isany way to know what channel it is currently on other than storing
> thechange to a file or environment variable and reading it back. So in the
> BCDscript you might do something like this after the channel was changed.
> echo $Channel > /tmp/last_channel
>
> _______________________________________________
>
> 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