[arm-allstar] HamVoIP I/O support - What is Best Current Practice for implementing I/O?

Doug Crompton wa3dsp at gmail.com
Wed Jan 17 00:32:38 EST 2018


Lloyd,​

OK hopefully this will be the last update. In my haste to get that script
to you I left out one important thing. It was in the code but I forgot to
define it. You need to specify your node number in the command. Here is the
example and the updated script is attached.  This shows node 1998 and
channel 5.

​ ./bcd_control_usb.sh 5 1998
Entered Channel 5
Executing - /bin/asterisk -rx "rpt cmd 1998 cop 61 GPIO1=1"
Executing - /bin/asterisk -rx "rpt cmd 1998 cop 61 GPIO2=0"
Executing - /bin/asterisk -rx "rpt cmd 1998 cop 61 GPIO4=1"
Executing - /bin/asterisk -rx "rpt cmd 1998 cop 61 GPIO5=0"

So the rpt.conf function statement if that is what you are using would be
(using your node number) -

831=cmd,/etc/asterisk/local/bcd_control_usb.sh 1 1998
832=cmd,/etc/asterisk/local/bcd_control_usb.sh 2 1998
etc.

Sorry for the confusion.


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20180117/04fcb014/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bcd_control_usb.sh
Type: application/x-sh
Size: 2773 bytes
Desc: not available
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20180117/04fcb014/attachment.sh>


More information about the arm-allstar mailing list