[arm-allstar] connect script not working

Tom Eaton kc4cbq at gmail.com
Wed Mar 14 16:49:28 EST 2018


Doug, this server with 2 nodes for about 8 months, 46490 is a radioless hub
and 46220 has a radio. I will go over my conf files.
Thanks

Tom, KC4CBQ

On Mar 14, 2018 5:28 PM, Doug Crompton via arm-allstar <
arm-allstar at hamvoip.org> wrote:

> If you setup a second node you must do it properly. It seems that may not
> be the case? It is acting like 46490 is not known. Did you make all the
> necessary changes to add the second node? Here is a quick checklist -
>
> Use nano  with the "control C \"  to change second node 1999 to new node
> number in rpt.conf AND extensions.conf
> enter the text to search, the text to replace and then A for change all.
>
> Add in iax.conf the new nodes registration line.
>
> Assuming both nodes are registered you should be able to connect out from
> either one to outside nodes.
>
> The script will never work if it does not work manually in the client.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
>
> On Wed, Mar 14, 2018 at 4:45 PM, "Tom Eaton via arm-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > It did not connect, this is what came back, but I can connect to 42993
> from
> > Supermon fine
> >
> > KC4CBQ*CLI> rpt fun 46490 *7342993
> >     -- Received OK from Echolink server server1.echolink.org
> >     -- Directory pgm done downloading(partial,compressed), 613 records
> >     -- Received OK from Echolink server server1.echolink.org
> > KC4CBQ*CLI>
> >
> > The 46490 is the 2nd node on my server, it will work fine on 1st node
> 46220
> >
> > 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 4:27 PM, "Doug Crompton via arm-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> > > 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
> > > >
> > > _______________________________________________
> > >
> > > 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