You can also use the permanent connect command built into app_rpt do maintain a connection. I normally works flawlessly. 951=ilink,11 ; Permanent link disconnect 952=ilink,12 ; Permanent link receive 953=ilink,13 ; Permanent link transceive as opposed to 1=ilink,1 ;disconnect 2=ilink,2 ;monitor 3=ilink,3 ; connect On Sun, Feb 26, 2017 at 9:13 AM, < app_rpt-users-request@lists.allstarlink.org> wrote:
Send App_rpt-users mailing list submissions to app_rpt-users@lists.allstarlink.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_ rpt-users or, via email, send a message with subject or body 'help' to app_rpt-users-request@lists.allstarlink.org
You can reach the person managing the list at app_rpt-users-owner@lists.allstarlink.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of App_rpt-users digest..."
This site is dedicated to the memory of Jim Dixon WB6NIL
Today's Topics:
1. Re: Auto Reconnect? (Steven Donegan) 2. Re: parallel port (Steve Zingman)
----------------------------------------------------------------------
Message: 1 Date: Sun, 26 Feb 2017 15:45:49 +0000 (UTC) From: Steven Donegan <donegan@donegan.org> To: Users of Asterisk app_rpt <app_rpt-users@lists.allstarlink.org> Subject: Re: [App_rpt-users] Auto Reconnect? Message-ID: <936294357.1274493.1488123949876@mail.yahoo.com> Content-Type: text/plain; charset="utf-8"
I use a crontab task to do this - the task is: /usr/local/bin/lsnodes 40920 >/root/nodelist 2>&1 nodecount=`wc -l </root/nodelist` export nodecount echocount=`grep ECHOLINK </root/nodelist|wc -l` export echocount echo "Asterisk is connected to "$nodecount" nodes, $echocount are ECHOLINK." [ "$nodecount" -lt 20 ] && sh /root/restart.sh And restart.sh contains: restarttime=`date` echo "Asterisk restart at "$restarttime >>/root/restart.log asterisk -rx 'restart now' Works dandy, any time my nodelist gets less than normal it restarts... Steven Donegan KK6IVC General Class FCC License FAA PP-ASEL Pilots License Silver State Car #86 www.sscc.us
From: Bob <k6ecm1@gmail.com> To: App_rpt-users@lists.allstarlink.org Sent: Saturday, February 25, 2017 7:41 PM Subject: [App_rpt-users] Auto Reconnect?
Is there a way to setup an auto reconnect after an internet interruption? I would want to set it for a specific period of time, which I could perform manually, but I don't want to have to monitor the repeater to catch the disconnect. Thoughts?
Thanks, Bob k6ecm
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/ cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.