[App_rpt-users] Macro handling

W2YMM w2ymm1 at gmail.com
Tue Jul 26 18:33:12 EDT 2016


Stephen, here is an example from one of my nodes.
I believe the default prefix number is *5 for macros.

[macro28183]
;Macro number = command string (ea command separated by space) -end with
HASH
;1=*81 *80#    ; play time and voice ID *51
1 = *327630# ; KI4SWB CONNECT CODE *51
2 = *342590# ; KB4JKL CONNECT CODE *52
3 = *341170# ; K5TRA HUB CONNECT CODE *53
4 = *141170# ; K5TRA HUB DISCONNECT CODE *54
6 = *327339# ; WB2JPQ Interlink System connect *56
7 = *33088953# ; AB2M Conference ECHOLINK *57
8 = *33045717# ; K2SPD-R  *58
9 = *33001224# ; W2YMM-R ECHOLINK *59
50=*616319601051#   ;Call W2YMM Cellphone *550
51=*616316611771#   ;Call W2YMM home phone *551
552 = *76# ; DISCONNECT ALL CONNECTED LINKS *5552
553= *920# ; PLAY NET CONNECTING MESSAGE *5553
[macro1999]
7 = *33088953# ; AB2M Conference ECHOLINK *57
8 = *33045717# ; K2SPD-R  *58

Robert Prybyzerski Jr
W2YMM
631-960-1051
http://www.w2ymm.com

On Tue, Jul 26, 2016 at 4:58 PM, Stephen - K1LNX <k1lnx at k1lnx.net> wrote:

> Still no joy on this... changed 423 to 4230 and did not work.
>
> Am I misunderstanding how this is supposed to work perhaps?
>
> Stephen
> K1LNX
>
> On Tuesday, July 26, 2016, Stephen - K1LNX <k1lnx at k1lnx.net> wrote:
>
>> Ahh.... ok... that makes sense now, wasn't so obvious to me lol... I'll
>> give it a shot... thanks!
>>
>>
>> On Tue, Jul 26, 2016 at 4:37 PM, Steve Agee <n5zua at earthlink.net> wrote:
>>
>>> 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.
>>>
>>> N5ZUA
>>>
>>>
>>> On 7/26/2016 3:27 PM, Stephen - K1LNX wrote:
>>>
>>> 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:
>>>
>>> [2376]
>>> macro = macro
>>>
>>> [functions]
>>> ; Macro Commands
>>> 423 = macro,1
>>> 4231 = macro,2
>>>
>>> [macro]
>>> ; connect to NETDA Hub 28741
>>> 1 = *328741#
>>> 2 = *128741#
>>>
>>> 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.
>>>
>>> 73
>>> Stephen
>>> K1LNX
>>>
>>>
>>>
>>> _______________________________________________
>>> App_rpt-users mailing listApp_rpt-users at ohnosec.orghttp://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.
>>>
>>>
>>>
>>> _______________________________________________
>>> App_rpt-users mailing list
>>> App_rpt-users at 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.
>>>
>>
>>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.allstarlink.org/pipermail/app_rpt-users/attachments/20160726/bddac811/attachment.html>


More information about the App_rpt-users mailing list