Copyright 2010-2012 Obihai Technology, Inc.
176
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 OBi110
Page 23: ...Copyright 2010 2012 Obihai Technology Inc 23...
Page 52: ...Copyright 2010 2012 Obihai Technology Inc 52...
Page 55: ...Copyright 2010 2012 Obihai Technology Inc 55...
Page 71: ...Copyright 2010 2012 Obihai Technology Inc 71...
Page 92: ...Copyright 2010 2012 Obihai Technology Inc 92...
Page 98: ...Copyright 2010 2012 Obihai Technology Inc 98 SP1 SP2 SP3 and SP4 Services...
Page 114: ...Copyright 2010 2012 Obihai Technology Inc 114...
Page 126: ...Copyright 2010 2012 Obihai Technology Inc 126...
Page 142: ...Copyright 2010 2012 Obihai Technology Inc 142...
Page 143: ...Copyright 2010 2012 Obihai Technology Inc 143...
Page 144: ...Copyright 2010 2012 Obihai Technology Inc 144...
Page 168: ...Copyright 2010 2012 Obihai Technology Inc 168...