We have a node that seems to have a somewhat unstable Internet provider.. It disconnects a lot. Is there a way to make it auto-reconnect when it is available again? Ie. Permanent link? Mike Kb8zgl
Sure is. I add those to my [functions] stanza 81=ilink,11 ; Specifc Link permanent disconnect 82=ilink,12 ; Specifc Link permanent monitor 83=ilink,13 ; Specifc Link permanent transceive -- Tim :wq On Aug 15, 2012, at 11:33 AM, Michael J. Wolthuis <wolthui3@msu.edu> wrote:
We have a node that seems to have a somewhat unstable Internet provider…. It disconnects a lot… Is there a way to make it auto-reconnect when it is available again?
Ie. Permanent link?
Mike Kb8zgl
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
This will work. If you want perm connect use *83(node) to connect it. And to brake the connection use *81(node). If the internet is bad it may disconnect but it will reconnect as soon as it is able with no announcement. If a node is connected via perm connection, normal disconnect like *1(node) or *10 wont work. You must use the Perm disconnect if connected with perm connect. Jon VA3RQ On 8/15/2012 3:12 PM, Tim Sawyer wrote:
Sure is. I add those to my [functions] stanza
81=ilink,11 ; Specifc Link permanent disconnect 82=ilink,12 ; Specifc Link permanent monitor 83=ilink,13 ; Specifc Link permanent transceive
-- Tim :wq
On Aug 15, 2012, at 11:33 AM, Michael J. Wolthuis <wolthui3@msu.edu <mailto:wolthui3@msu.edu>> wrote:
We have a node that seems to have a somewhat unstable Internet provider.... It disconnects a lot... Is there a way to make it auto-reconnect when it is available again? Ie. Permanent link? Mike Kb8zgl _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org <mailto:App_rpt-users@ohnosec.org> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
hi all, in the moment i have my node connectet to other nodes by *83(Nodenumber) now i would like automaticly disconnect by *81(Nodenumber) und connect to an echolinknode by *33(Nodenumber) from monday to friday from 7:30 to 8:00 o`clock after that the node schould connect to the other nodes again with *83(Nodenumber) how and where can i manage this. tnx and 73..... Torben Klimt Eicherstrasse 58 85123 Karlskron-Grillheim Telefon: 08453-34 45 040 Mobil: 0151-178 74499 torben@klimt-online.com<mailto:torben@klimt-online.com>
On 8/20/12 4:23 AM, torben@klimt-online.com wrote:
hi all, in the moment i have my node connectet to other nodes by *83(Nodenumber) now i would like automaticly disconnect by *81(Nodenumber) und connect to an echolinknode by *33(Nodenumber) from monday to friday from 7:30 to 8:00 o`clock after that the node schould connect to the other nodes again with *83(Nodenumber) how and where can i manage this.
You're going to write 4 shell scripts: #1: Disconnect via 81 #2: Connect via 83 #3: Disconnect via 31 to echolink #4: Connect via 33 to echolink All are of the format: -- #!/bin/bash /usr/sbin/asterisk -rx "rpt cmd node_from ilink [83|81|33|31] node_to#" -- Then edit your crontab (as root) to run the scripts at the proper time. 29 07 * * 1-5 /wherever_you_place_your_script/name_of_script_1.sh 30 07 * * 1-5 /wherever_you_place_your_script/name_of_script_4.sh 00 08 * * 1-5 /wherever_you_place_your_script/name_of_script_3.sh 01 08 * * 1-5 /wherever_you_place_your_script/name_of_script_2.sh I left a minute between each pair, just because I don't like executing simultaneous scripts that change the state of the system multiple states in parallel. That's just me. Make sure you have a line of MAILTO="" at the top of your crontab unless you like getting an email message every time a script is executed. Oh, and make sure the scripts you write have perms of 755 (RWXR-XR-X) or equivalent. There are other ways, especially if you've assigned DTMF functions to these individual scripts in the rpt.conf file... As always, there are multiple ways to do it. All you can do is what you feel comfortable working with that works. -- Bryan In this world, you must be oh so smart or oh so pleasant. Well, for years I was smart. I recommend pleasant. You may quote me. Sent from my MacBook Pro.
Where do you put these again? Specific directory and path please. Thanks 73 Jim W7RY Sure is. I add those to my [functions] stanza 81=ilink,11 ; Specifc Link permanent disconnect 82=ilink,12 ; Specifc Link permanent monitor 83=ilink,13 ; Specifc Link permanent transceive -- Tim :wq
/etc/asterisk/rpt.conf -- Tim :wq On Aug 26, 2012, at 8:21 PM, Jim W7RY <w7ry@centurytel.net> wrote:
Where do you put these again? Specific directory and path please.
Thanks 73 Jim W7RY
Sure is. I add those to my [functions] stanza
81=ilink,11 ; Specifc Link permanent disconnect 82=ilink,12 ; Specifc Link permanent monitor 83=ilink,13 ; Specifc Link permanent transceive
-- Tim :wq
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
participants (6)
-
Bryan D. Boyle -
Jim W7RY -
Jon Rorke -
Michael J. Wolthuis -
Tim Sawyer -
torben@klimt-online.com