AI232 Version 9.6x User’s Guide
Alias and Call Routing Configuration: Alias Macros
7-24
Alias Macro Configuration
Often there are several ways to write a macro and get the same result. One
programmer will likely design macros differently than another.
Note: From the Alias Menu, you can input a string with * in it and the search will
break apart the string using * as a delimiter. The search checks the alias list
for an alias name that contains the components. It does not limit the search to
the beginning and end of text of the alias as in AI198.

Configuration Examples

This example displays an alias where:
zAlias name 172.16.32.237#30* matches source address 172.16.32.237 with a
port number of 30 followed by zero or more characters
zThe caller’s address is PVC
zCall data ='ASY.'+D((V(?(1))%6)+1) creates strings from ASY.1 to ASY.6.
val(
string
)
or
v(
string
)
Converts a string to its decimal integer value. For
example, =v(”032”) returns integer 32.
?(
n
)Returns the
n
th wildcard string from the alias
match.
Table 7-11 Alias Macro Functions (Continued)
Alias Macro Function Description of Operation
Alias Edit Menu
Alias Name . . . . . ..................................... 172.16.32.237#30*
Destination . . . . .......................................................
Caller's Address . . ................................................... PVC
Called Address . . . .......................................................
Call Data . . . . . .............................. ='ASY.'+D((V(?(1))%6)+1)