[arm-allstar] connect script not working

Doug Crompton wa3dsp at gmail.com
Wed Mar 14 15:27:05 EST 2018


Tom,

 Tom,

 Can you go into the asterisk client and enter

rpt fun 46490 *7342993

And does it connect? If not what do you get back on the screen? If those
nodes are not available it will not connect.


*73 Doug*

*WA3DSP*

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


On Wed, Mar 14, 2018 at 4:08 PM, "Tom Eaton via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Thanks for the reply Doug
> I have put  /usr/sbin/asterisk -rx "rpt fun $1 *73$2"  in
> /etc/asterisk/local/connect.sh
> and from command  /etc/asterisk/local/connect.sh 46490 42993
>
> it still does not connect
>
> 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>
>
> On Wed, Mar 14, 2018 at 3:53 PM, "Doug Crompton via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Tom,
> >
> >  The script you entered -
> >
> > #!/bin/bash
> >
> > # Connect the 6 meter net at 6:56pm
> > /usr/sbin/asterisk -rx "rpt fun 46490 *7342993"
> >
> >
> > is a fixed script. It is going to connect  46490 in a permanent connect
> to
> > 42993
> >
> > 46490 has to be a node on the system you are running the script on.
> >
> > Adding parameters would be ignored since they are not used in the script.
> >
> > If you want to call the script with parameters you would do this -
> >
> > /usr/sbin/asterisk -rx "rpt fun $1 *73$2"
> >
> > Then when you call it with -
> >
> > /etc/asterisk/local/connect 46490 42993
> >
> > If you created a second script called disconnect it could look like this
> -
> >
> > /usr/sbin/asterisk -rx "rpt fun $1 *71$2"
> >
> > and be called like this -
> >
> > /etc/asterisk/local/disconnect 46490 42993
> >
> >
> >
> > *73 Doug*
> >
> > *WA3DSP*
> >
> > *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Wed, Mar 14, 2018 at 12:30 PM, "Tom Eaton via arm-allstar" <
> > arm-allstar at hamvoip.org> 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
> > >
> > _______________________________________________
> >
> > 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