Copyright 2010-2013 Obihai Technology, Inc.
177
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(
n
) = make the OBiBT dongle discoverable for the next 120s;
n
= 0 for BT1, or 1 for BT2
wifiap() = make the OBi acts like a WiFi Access Point when an ObiWiFi USB Dongle is attached
You can set multiple variables with multiple set() action with a single star code
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.
Star Code Script Examples
The following examples are taken from some of the default star code scripts in the OBi device.
*69, Call Return, call($LCR)
Calls the number of the caller who rings the PHONE port last time
*07, Redial, call($Ldn)
-
Redials the last dialed number
*72, Call Forward Unconditional, coll($cfan),set($cfa,1)
-
Collects a number from the user according to the DigitMap. Then set the CallForwardUnconditionalNumber on all
trunks to the collected value, and set the CallForwardUnconditionalEnable on all trunks to Yes
-
To modify the script to enable CallForwardUnconditional on SP1 only, change it to
*72, Call Forward Unconditional SP1, coll(SP1($cfan)),set(SP1($cfa),1)
Содержание OBi100
Страница 54: ...Copyright 2010 2013 Obihai Technology Inc 54...
Страница 55: ...Copyright 2010 2013 Obihai Technology Inc 55...
Страница 58: ...Copyright 2010 2013 Obihai Technology Inc 58...
Страница 75: ...Copyright 2010 2013 Obihai Technology Inc 75...
Страница 100: ...Copyright 2010 2013 Obihai Technology Inc 100...
Страница 109: ...Copyright 2010 2013 Obihai Technology Inc 109 SP1 SP2 SP3 and SP4 Services...
Страница 126: ...Copyright 2010 2013 Obihai Technology Inc 126...
Страница 135: ...Copyright 2010 2013 Obihai Technology Inc 135...
Страница 140: ...Copyright 2010 2013 Obihai Technology Inc 140...
Страница 157: ...Copyright 2010 2013 Obihai Technology Inc 157...
Страница 158: ...Copyright 2010 2013 Obihai Technology Inc 158...
Страница 159: ...Copyright 2010 2013 Obihai Technology Inc 159...
Страница 174: ...Copyright 2010 2013 Obihai Technology Inc 174...
Страница 184: ...Copyright 2010 2013 Obihai Technology Inc 184 Here is a screen short of the File Sharing Settings device web page...
Страница 185: ...Copyright 2010 2013 Obihai Technology Inc 185...