[arm-allstar] connect script not working

David McGough kb4fxc at inttek.net
Wed Mar 14 11:58:38 EST 2018


Hi Tom,

I'm not quite following your script?? Are you wanting to provide the node 
numbers on the command line?? Something like this:

connect 46490 42993

...which would connect the local node 46490 to the node 42993  ????

If so, your script should look more like:

#!/bin/bash
# connect.sh <source node> <destination node>
/usr/sbin/asterisk -rx "rpt fun $1 *73$2"
#### End of script

73, David KB4FXC



On Wed, 14 Mar 2018, "Tom Eaton via arm-allstar" wrote:

> I made a connect.sh and this is what is in it.
> 
> #!/bin/bash
> 
> # Connect the 6 meter net at 6:56pm
> /usr/sbin/asterisk -rx "rpt fun 46490 *7342993"
> 
> chmod 750
> 
> Asterisk restart
> 
> when I try to test with
> 
> */etc/asterisk/local/connect 46490 46541     or*
> 
> */etc/asterisk/local/connect 46490 *146541 *
> 
> *it does nothing, look in CLI in shows  remote unix connection*
> 
> *                                       remote unix connection disconnected*
> 
> 
> What did I do wrong?
> 
> 
> Tom
> 
> KC4CBQ
> 
> 
> 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> _______________________________________________
> 
> 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