Copyright 2010-2015 Obihai Technology, Inc.
154
Notes:
-
Terminal-list
can be empty, which means to block this call. The preceding ‘:’ cannot be omitted. Up to 4
terminals
may be specified in the list. The listed
terminals
will be called/rung by OBi simultaneously; we refer
to this operation as
forking
the call. A terminal may 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
-
(M
label
) is a named digit map, where
label
is the abbreviated name of any terminal that has a digit map
defined: SP1–SP6, BT, PP, PH, or AA
-
$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
.
More notes on
peering-list
and
peering
objects:
-
Peering-list
is optional in
InboundCallRoute
. If
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
InboundCallRoute
values listed below are all equivalent
o
ph
o
{ph}
o
{:ph}
o
{?|@>@:ph}
-
Callee-list
in a
peering
object can be empty. It implies the
callee
object @, meaning any called number. The
preceding ‘>’ can be omitted if callee-list is empty.
-
Caller-list
in a
peering
object can be empty. It implies the
caller-list
@|?, meaning any caller number including
anonymous. The succeeding ‘>’ cannot be omitted if caller-list is empty but not the callee-list
More notes on the
arg
,
cid
,
and
target
objects: