Copyright 2010-2013 Obihai Technology, Inc.
193
Inbound Call Route Configuration
Every trunk has a corresponding InboundCallRoute in the OBi device configuration. It is a comma separated list of rules
where each rule is also surrounded by a pair of curly braces { }. No extra white spaces are allowed. These rules tell the OBi
how to handle an inbound call, such as sending it to the PHONE port (and ringing the attached phone(s)), sending it to the
Auto Attendant for further routing (interactively with the caller), or making another call on a specific trunk to bridge with
this call.
The general format is:
InboundCallRoute :=
rule
OR
{
rule
},{
rule
},….
Note that the curly braces may be omitted if there is only one rule in the route. The
OR
operator is NOT part of the
parameter syntax; it is used here to separate alternative values only.
A rule has the following format:
rule := peering-list : terminal-list
where
peering-list
:=
peering
,
peering
,…
(comma separated list of 0 or more
peering
object)
terminal-list
:=
terminal
,
terminal
,….
(comma separated list of 0 or more
terminal
object)
peering := caller-list > callee-list
caller-list
:=
caller
|
caller
|
caller
|…
(vertical bar separated list of 0 or more
caller
object)
callee-list
:=
callee
|
callee
|
callee
| …
(vertical bar separated list of 0 or more callee object)
caller
:=
number
OR
embedded
-
digit-map
OR
?
OR
@
(?=anonymous, @=any number but anonymous)
callee := number
OR
embedded-digit-map
OR
@
terminal
:= PH
x
OR
AA
x
OR
LI
x
(
arg
)
OR
SP
x
(
arg
)
OR
PP
x
(
arg
)
(
arg
object is optional)
arg := cid > target
x
:= 1 OR 2 OR 3…
(where applicable; can be omitted if it is equal to 1)
cid := spoofed-caller-number
OR
$1
target := number-to-call
OR
$2
embedded-digit-map := (Mlabel)
OR
digit-map
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
Summary of Contents for OBi100
Page 54: ...Copyright 2010 2013 Obihai Technology Inc 54...
Page 55: ...Copyright 2010 2013 Obihai Technology Inc 55...
Page 58: ...Copyright 2010 2013 Obihai Technology Inc 58...
Page 75: ...Copyright 2010 2013 Obihai Technology Inc 75...
Page 100: ...Copyright 2010 2013 Obihai Technology Inc 100...
Page 109: ...Copyright 2010 2013 Obihai Technology Inc 109 SP1 SP2 SP3 and SP4 Services...
Page 126: ...Copyright 2010 2013 Obihai Technology Inc 126...
Page 135: ...Copyright 2010 2013 Obihai Technology Inc 135...
Page 140: ...Copyright 2010 2013 Obihai Technology Inc 140...
Page 157: ...Copyright 2010 2013 Obihai Technology Inc 157...
Page 158: ...Copyright 2010 2013 Obihai Technology Inc 158...
Page 159: ...Copyright 2010 2013 Obihai Technology Inc 159...
Page 174: ...Copyright 2010 2013 Obihai Technology Inc 174...
Page 185: ...Copyright 2010 2013 Obihai Technology Inc 185...