Unit installation

16-2
RLC-3 V1.80 Copyright © 1998 Link Communications Inc. 9/17/98
037: Set Audio Routing Variable for Commands In a Macro
This command allows you to override the default message routing variable within a macro. It only
remains in effect until the end of the macro or until 037 or 038 are executed, whichever comes first.
Appendix A has more information about controlling where messages are sent. The most common
use of this command is to send the audio generated by commands in a macro to a different
combination of ports than it is normally sent to. An example of this is provided below.
<037> p..p
Parameters:
- 037 is the default command name.
- P..P is the list of ports the message is to be routed to.
Note:
The changes made to the audio routing variable by this command affect all commands
(including other macros) executed until the end of the macro containing this command, or until
command 037 or 038 are executed again, whichever occurs first.
Example:
You have repeaters on ports 1, 2 and 4. You want to make a recall time command that will
speak the time out of all three repeaters whenever it is executed. Since command responses
normally only go out of the port that entered the DTMF command, we need to use a macro and
manually change the audio routing variable (with 037). We will use the command to recall the time
in the male voice (026) for this example. You could use any of the user macros (500..999), but we
will use 500 for this example.
• First we will recall macro 500 to make sure that there is nothing stored in it that we want to keep:
054 500 D or unkey or <Enter>
• If it has something in it, we can delete it with 055 500 D or unkey, or choose a different macro.
• Now we can append the commands we want to the macro. The first command we want the
macro to execute will set the audio routing variable to ports 1, 2 and 4. This command is
037 124 D or unkey. To append it onto the end of the macro we enter 056 500037124 D
or unkey.
• We then want the macro to recall the time (command 026). To append this onto the end of the
macro we enter 056 500026 D or unkey.
• Now we can cause the time to be recalled out ports 1, 2 and 4 by executing the macro 500.
• If you want to rename this macro to "567", for example, do the following: 010 500567 D or
unkey. Now entering 567 and unkeying will execute the macro and cause the time to be
spoken out ports 1, 2 and 4..