Call Routing
33
General notes:
● Terminal-list can be empty, which means to block this call. The preceding ‘:’ can’t be omitted.
As many as four terminals can be specified in the list. The listed terminals are called/rung by the
device simultaneously. This operation is known as forking the call. A terminal can be a trunk or an
endpoint.
● Abbreviated terminal names are case-insensitive.
● Number and number-to-call are literal strings, such as 14089991234.
● Digit-map is just any proper digit map, such as (1xxx|xx.). Make sure to include the enclosing
parentheses.
● Spoofed-caller-number is a literal string, such as 14081112233, to be used as the caller
number for making a new call on the specified trunk.
● (Mlabel) is a named digit map, where label is the abbreviated name of any terminal that has a
digit map defined: SP1, SP2, SP3, SP4, SP5, SP6, SP7 and SP8.
● $1 is an internal variable containing the value of the caller number of this inbound call, after any digit
map transformation in the matched caller object of the matched peering object in the peering-list.
● $2 is an internal variable containing the called number of this inbound call, after any digit map
transformation in the matched callee object of the matched peering object in the peering-list.
Notes on peering-list and peering objects:
● Peering-list is optional in InboundCallRoute. If the peering-list is empty, the succeeding ‘:’ can
be omitted also. An empty peering-list implies a single peering object whose caller object list matches
any caller number. That is, the following InboundCallRoutes are all equivalent:
dt1
{dt}
{:dt}
{?|@>@:dt}
callee-list : callee|callee|callee| … Vertical bar-separated list of 0 or more
callee objects.
caller : number OR embedded-digit-map OR ?
OR @
? = anonymous, @ = any number but
anonymous.
callee : number OR embedded-digit-map OR @
terminal : SPx(arg) OR PPx(arg) arg object is optional.
arg : cid > target
x : 1 OR 2 OR 3… Where applicable. Can be omitted if x = 1.
cid : spoofed-caller-number OR $1
target : number-to-call OR $2
embedded-digit-
map :
(Mlabel) OR digit-map
Rule Formats
Rule Format Notes