<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" color="#000000" face="Tahoma,sans-serif">As mentioned there are a lot of ways to do this I prefer using external scripts.<br><br>In the rpt.conf node definition - the function definition A999 can be whatever you want but must match here and in the function definition. <br><br><b>startup_macro=*A999<br></b><br><br>In rpt.conf functions definitions -<br><br><b>A999=cmd,/etc/asterisk/local/reconnect_local</b><br><br>The script in /etc/asterisk/local - replace <yournode> and <nodetoconnect> with real node numbers, no <><br><br>#! /bin/bash<br>/usr/sbin/asterisk -rx "rpt fun <yournode> *3<nodetoconnect>"<br>sleep 1<br>/usr/sbin/asterisk -rx "rpt fun <yournode> *3<nodetoconnect>"<br>sleep 1<br>/usr/sbin/asterisk -rx "rpt fun <yournode> *3<nodetoconnect>"<br><br id="FontBreak"></font><font style="" face="Tahoma,sans-serif">etc.....</font><br><br><font style="" face="Tahoma,sans-serif">Note the script has to have executable permission.</font><br><b><br><font style="" face="Tahoma,sans-serif">chmod 750 reconnect_local</font></b><br><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">From: david@k0pwo.com<br>To: app_rpt-users@ohnosec.org<br>Date: Tue, 6 Jan 2015 10:31:56 -0700<br>Subject: [App_rpt-users] Question Regarding Node Linking<br><br><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:11.0pt;
font-family:"Calibri",sans-serif;
}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:#0563C1;
text-decoration:underline;
}
.ExternalClass span.ecxMsoHyperlinkFollowed {
color:#954F72;
text-decoration:underline;
}
.ExternalClass span.ecxEmailStyle17 {
font-family:"Calibri",sans-serif;
color:windowtext;
}
.ExternalClass .ecxMsoChpDefault {
font-family:"Calibri",sans-serif;
}
.ExternalClass div.ecxWordSection1 {
}
--></style><div class="ecxWordSection1"><p class="ecxMsoNormal">Hello to the group,</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">I have searched and searched regarding this questions because I know I have seen the question by others. But I cannot find the previous emails etc.</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">So I need to ask again.</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">I am wanting my node and repeater to automatically connect to my hub upon staring or restarting of asterisk. Can someone provide me the lines of code that I should enter to make this happen.</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">Thank you once again for your time in assisting me.</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">David</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"><b><span style="font-size:14.0pt;color:#C00000;">David Dean, K0PWO</span></b></p><p class="ecxMsoNormal"><b><span style="font-size:14.0pt;color:#C00000;"> </span></b></p><p class="ecxMsoNormal"><b><span style="font-size:12.0pt;color:#385623;">Arapahoe County Colorado</span></b></p><p class="ecxMsoNormal"><b><span style="font-size:12.0pt;color:#002060;">(720) 350-2053 cell</span></b></p><p class="ecxMsoNormal"><b><span style="font-size:12.0pt;color:#002060;">(720) 207-9030 fax</span></b></p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal"> </p></div><br>_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.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.</div> </div></body>
</html>