Copyright 2010-2012 Obihai Technology, Inc.
160
-
Bit0 (LSB) = G711u
-
Bit1 = G711a
-
Bit2 = G726r16
-
Bit3 = G726r24
-
Bit4 = G726r32
-
Bit5 = G726r40
-
Bit6 = G729
$LDN = last dialed number (for redial) (global; read only)
$LCR = last caller’s number (for call return) (global; read only)
$SPD[
n
] = number for the speed dial
n
(
n
= 1 – 99) (global; admissible value: literal or token representing a phone number)
$CODE = the digit(s) representing the variable part of a star code (see examples below; read only)
Variable names are CASE INSENSITIVE.
Star Code Script Actions (
ACT
)
The general format of an action:
ACT
(
par
,
par
, ….)
The following actions are supported:
set(
VAR
,
token
) = Set the given
VAR
to the value represented by
token
.
call(
token
) = Call the number represented by
token.
o
PHONE Port::
OutboundCallRoute
will be applied when making the call (but not the
DigitMap
)
rpdi(
token
) = repeat dial the number represented by
token
coll(
VAR
) = collect a number from the user and store it as the value of the parameter(s) represented by
VAR
.
o
The number is collected with
PHONE Port::
DigitMap
applied
say(
token
) = announce the value represented by
token
o
Values are announced as a list of alphabets or numbers
where token can be a literal (such as 1234) or another variable (such as $CFAN or SP1($CFBN))
btdscvr() = make the OBiBT dongle discoverable for the next 120s
Action names are CASE INSENSITIVE.
Star Code Script Format
General Format: code, name, action1, action2, action3, …
code = the star code, such as *72. It may contain a variable part enclosed in parenthesis, such as *74(x|xx)
o
The variable part as entered by the user are stored in the variable $CODE
name = a descriptive name of the function of this star code, such as
Call Forward Unconditional
action1, action2, … = a valid action with parameters
Actions are carried out one-by-one in the order as specified in the script.
Restrictions:
At most 1
coll
action per code.
Either 1
say
or 1
call
action at most per code, and it must be the last action in the script.
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...