<html><head></head><body><p dir="ltr">In the functions stanza you define the lead in digit. (423 in this case).</p>
<p dir="ltr">In the macro stanza the trailing digits (1 in this case) for each individual macro.<br>
<br>
Executing macro 1 would be *4231.<br>
Exccuting macro 2 would be *4232.</p>
<p dir="ltr">Your line :<br>
<!-- tmjah_g_1299s -->4231 = macro,2<br>
Should be removed.</p>
<p dir="ltr">If your dial plan allows, I would use a single digit lead in (4). Then three digit trailing digits (i.e. 200-299).</p>
<p dir="ltr">So something like this:<br>
[functions]<br>
; Macro Commands<br>
4 = macro,1 ; Call a macro</p>
<p dir="ltr">[macro]<br>
; connect to NETDA Hub 28741<br>
231 = *328741# ; Connect<br>
232 = *128741# ; Disconnect <br><br></p>
<p dir="ltr">Robert A. Poff<br>
Loganville, Pa<!-- tmjah_g_1299e --></p>
<div style="font-size:10.0pt;font-family:"Tahoma","sans-serif";padding:3.0pt 0in 0in 0in">
<hr style="border:none;border-top:solid #E1E1E1 1.0pt">
<b>From:</b> Stephen - K1LNX <k1lnx@k1lnx.net><br>
<b>Sent:</b> Tue Jul 26 16:58:29 EDT 2016<br>
<b>To:</b> app_rpt mailing list <app_rpt-users@ohnosec.org><br>
<b>Subject:</b> Re: [App_rpt-users] Macro handling<br>
</app_rpt-users@ohnosec.org></k1lnx@k1lnx.net></div>
<br>
Still no joy on this... changed 423 to 4230 and did not work.
<br>
<br>Am I misunderstanding how this is supposed to work perhaps?
<div>
<br>
</div>
<div>
Stephen
</div>
<div>
K1LNX
</div>
<div>
<span></span>
<br>On Tuesday, July 26, 2016, Stephen - K1LNX <
<a href="mailto:k1lnx@k1lnx.net">k1lnx@k1lnx.net</a>> wrote:
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
Ahh.... ok... that makes sense now, wasn't so obvious to me lol... I'll give it a shot... thanks!
<div>
<br>
</div>
</div>
<div class="gmail_extra">
<br>
<div class="gmail_quote">
On Tue, Jul 26, 2016 at 4:37 PM, Steve Agee
<span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','n5zua@earthlink.net');" target="_blank">n5zua@earthlink.net</a>></span> wrote:
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
No, it wont, because once it reads 423 it can execute it, and so it does and stops reading in digits. So, it will never reach 4231. What would work is if you changed 423 to 4230 or 4232.
<br>
<br> N5ZUA
<div>
<div>
<br>
<br>
<div>
On 7/26/2016 3:27 PM, Stephen - K1LNX wrote:
<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">
Will macros take more than two digits? I am starting to play around with them (and admittedly not a ton of experience), but I can't get the following to work for whatever reason:
<div>
<br>
</div>
<div>
[2376]
</div>
<div>
macro = macro
</div>
<div>
<br>
</div>
<div>
<div>
[functions]
</div>
<div>
; Macro Commands
</div>
<div>
423 = macro,1
</div>
<div>
4231 = macro,2
</div>
</div>
<div>
<br>
</div>
<div>
<div>
[macro]
</div>
<div>
; connect to NETDA Hub 28741
</div>
<div>
1 = *328741#
</div>
<div>
2 = *128741#
</div>
</div>
<div>
<br>
</div>
<div>
Does this look right and should it work? I did restart Asterisk/did an rpt reload etc, but no change. If I dial (or send from the CLI) *423, I expect it to connect to my hub nobe, *4231 to disconnect, but it does not work.
</div>
<div>
<br>
</div>
<div>
73
</div>
<div>
Stephen
</div>
<div>
K1LNX
</div>
<div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
App_rpt-users mailing list
<a href="javascript:_e(%7B%7D,'cvml','App_rpt-users@ohnosec.org');" target="_blank">App_rpt-users@ohnosec.org</a>
<a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a>
To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> 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. </pre>
</blockquote>
<br>
</div>
<br>_______________________________________________
<br> App_rpt-users mailing list
<br>
<a href="javascript:_e(%7B%7D,'cvml','App_rpt-users@ohnosec.org');" target="_blank">App_rpt-users@ohnosec.org</a>
<br>
<a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" rel="noreferrer" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a>
<br>
<br> To unsubscribe from this list please visit
<a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" rel="noreferrer" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
<br> 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.
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<pre class="blue"> <hr><br>App_rpt-users mailing list<br>App_rpt-users@ohnosec.org<br><a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br><br>To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>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. </pre></body></html>