[arm-allstar] Command Line Commend to Connect to Another Node

ssedgwick ssedgwick at suddenlink.net
Wed Jun 20 14:03:49 EST 2018


Thanks Doug, I will give it a try


Thanks,
Steve_WB8GRS


Yes, but you need to create a script - here is an example. You can change
it how you like. It uses permanent connects but you could remove the 7 and
have it non-permanent if desired. Also you need to use the entire path to
call it unless you put it in /usr/local/sbin.

connect.sh 40000 40001
disconnect.sh 40000 40001


#/bin/bash
# /etc/asterisk/local/connect.sh
# call with  'connect.sh source_node destination_node

/usr/bin/asterisk -rx "rpt fun $1 *73$2"
#end script

#/bin/bash
# /etc/asterisk/local/disconnect.sh
# call with  'disconnect.sh source_node destination_node

/usr/bin/asterisk -rx "rpt fun $1 *71$2"
# end script


*73 Doug*

*WA3DSP*


More information about the arm-allstar mailing list