[App_rpt-users] Macros?

Stephen Rodgers sales at qrvc.com
Fri Jul 17 13:57:25 UTC 2009


John Bettasso wrote:
> What is the magic to get macros to work? In my functions sections I have the following:
> 83=macro,1
> 
> In my macro's section I have:
> 1=*81*82
> 
> but when I type 'rpt fun 1999 *83' in the CLI nothing happens.
> 
> but when I type 'rpt fun 1999 *81*82' in the CLI it executes both of those commands.
> 
> Thanks,
> John
> 
> 
>       
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at qrvc.com
> http://qrvc.com/mailman/listinfo/app_rpt-users
> 

I missed the first part of your question,
Let me elaborate some more.....

In your function stanza, you should have a line similar to:

5=macro     ; Command macros

Note that the macro function does not take any method argument.
The line above reserves DTMF 5 for macros, so all macros start with *5
Therefore, in the macro stanza if you have the following:

1 = *954*89*931001#      ; All links off (local only mode
2 = *954*9532000*9532011*989132*89*931000#  ; Site normal
3 = *955*89*931002#       ; Restore all links

*51 will execute the all links off macro, *52 will execute the site
normal macro, and *53 will execute the restore all links macro.

Steve
WA6ZFT






More information about the App_rpt-users mailing list