Kentrox AI296 User Manual

Page of 404
AI296 Version 9.8x User’s Guide
Alias and Call Routing Configuration: Alias Macros
8-43
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:
z
Alias 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
z
The caller’s address is 
PVC
z
Call data 
='ASY.'+D((V(?(1))%6)+1)
 creates strings from 
ASY.1
 to 
ASY.6
.
This example displays an alias where:
z
Alias name 
43042*
 matches source addresses that start with 43042 and may 
end with zero or more characters
z
Called Address 
='ASY.'+D((V(?(1))%6)+1)
 creates a called address string of 
ASY.1
 through 
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)
 Alias Edit Menu
  Alias Name . . . . . ................................................ 43042*
  Destination  . . . . .......................................................
  Caller's Address . . .......................................................
  Called Address . . . .............................. ='ASY.'+D((V(?(1))%6)+1)
  Call Data  . . . . . ................................................. TOSUN