[arm-allstar] BCD Script location
Doug Crompton
wa3dsp at gmail.com
Tue Oct 30 01:54:30 EDT 2018
Robert,
There are two ways you can do this. The easiest is just to use function
codes -
831=cmd,/etc/asterisk/local/bcd_control.sh 1 <node>
832=cmd,/etc/asterisk/local/bcd_control.sh 2 <node>
833=cmd,/etc/asterisk/local/bcd_control.sh 3 <node>
etc. (add codes for all desired channels)
The file name here is generic. Make it the name of the script you are
using. The scripts are in
/usr/local/sbin so you would want to use that directory.
But you would have to add 16 lines, in this case 831 through 846 which is
not a problem as
you can copy/paste and just edit the lines.
but if you use what I call the "autopatch" method you can setup something
like -
*6201 through *6216 to control 16 channels and the function code is
easier to understand.
The link -
https://www.hamvoip.org/Allstar_extended_functions_using_autopatch.pdf
explains how to do this. What you are basically doing is creating another
autopatch code. Instead of *61 we use *62. This is done in rpt.conf in the
function section. Then this function calls a stanza in the extensions.conf
file by name which strips the last two digits and sends them to the BCD
script as a parameter. There is an example script in the howto you can use
to test it. It talks back the value entered.
Either way works you can take your choice. If you need more explanation let
me know.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Tue, Oct 30, 2018 at 1:01 AM "Robert Conklin via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> Thank you Doug. Am using a uri to steer, and I have everything working
> great from a command line. Am steering a CDM thru 16 channels. Am needing
> some help understanding the bcd "how to" on how to set up for commanding ch
> steer via dtmf. A newby primer would be greatly appreciated.
>
> --
> Robert Conklin
> *N4WGY <http://qrz.com/db/N4WGY>*
>
>
> On Mon, Oct 29, 2018 at 10:17 PM "Doug Crompton via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Robert,
> >
> > There are two versions of BCD scripts. One works through the Pi GPIO and
> > the other through the USB FOB. This assumes you have a CM119 FOB with 8
> > bits of I/O. They are in the /usr/local/sbin directory.
> >
> >
> > *73 Doug*
> >
> > *WA3DSP*
> >
> > *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
> >
> > On Mon, Oct 29, 2018 at 10:42 PM "Robert Conklin via ARM-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> > > Found it, thank you!
> > > --
> > > Robert Conklin
> > > *N4WGY <http://qrz.com/db/N4WGY>*
> > >
> > >
> > > On Mon, Oct 29, 2018 at 9:36 PM Robert Conklin <n4wgy.ham at gmail.com>
> > > wrote:
> > >
> > > > Can someone advise me of the directory where the BCD channel steering
> > > > script is?
> > > >
> > > >
> > > > --
> > > > Robert Conklin
> > > > *N4WGY <http://qrz.com/db/N4WGY>*
> > > >
> > > _______________________________________________
> > >
> > > 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
> > >
> > _______________________________________________
> >
> > 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
> >
> _______________________________________________
>
> 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