<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">I kind of agree that the link is a little confusing. Here is how I do it. <br><br>I execute the startup macro command in the node section of rpt.conf - <br><br>startup_macro=*A999         - The function could be any DTMF sequence you want preceded by *<br><br>Then in the function section I have that DTMF string defined.<br><br>[functions]<br><br>A999=cmd,/etc/asterisk/local/startup_connect<br><br>Then create a script called /etc/asterisk/local/startup_connect.  <br>Where xxxxx = your node, yyyyy = node you want to connect to <br>Make the script executable - chmod 750 /etc/asterisk/local/startup_connect<br><br>#! /bin/bash<br><br># First connect<br>/usr/sbin/asterisk -rx "rpt fun xxxxx *3yyyyy"<br>sleep 1<br># second connect<br>/usr/sbin/asterisk -rx "rpt fun xxxxx *3yyyyy"<br><br>etc.....<br><br>Of course this does not have to be connects. It could be anything you want Allstar to do.<br><br>Another option if you want to do it all within Allstar (I like to do it external) is to create a macro -<br><br>[macro]<br>1=*32000 *32001<br><br>Then the startup macro command would be -<br><br>startup_macro=*51<br><br>In this example this would connect to node 2000 and 2001 at startup. Again you can put as much as you want in the macro or even call other macros.<br></font><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: kk6ecm@gmail.com<br>Date: Sun, 5 Jul 2015 06:53:03 -0700<br>To: app_rpt-users@ohnosec.org<br>Subject: [App_rpt-users] Startup_macro<br><br>WRT <span style="background-color:rgba(255, 255, 255, 0);"><a href="http://ohnosec.org/drupal/node/143" target="_blank">http://ohnosec.org/drupal/node/143</a> </span><div><span style="background-color:rgba(255, 255, 255, 0);"><br></span></div><div><span style="background-color:rgba(255, 255, 255, 0);">I don't understand the *95... I think I get the 3<node number> portion for a connection (where does the "95" originate, or what is its purpose?), and it looks like I can string multiple commands in a line... I'm missing something.</span></div><br>Thanks,<div>Bob</div><div>kk6ecm</div><div><br></div><div>Sent from iPad<div><div><br></div></div></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>