AI232 Version 9.6x User’s Guide

Alias and Call Routing Configuration: Alias Macros

Table 7-11 Alias Macro Functions (Continued)

Alias Macro Function

Description of Operation

 

 

val(string)

Converts a string to its decimal integer value. For

or

example, =v(”032”) returns integer 32.

v(string)

 

 

 

?(n)

Returns the nth wildcard string from the alias

 

match.

 

 

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.

 

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)

 

 

7-24

Page 170
Image 170
Kentrox AI232 manual Alias Macro Configuration, Configuration Examples