Obihai OBi100 Administration Manual page 177

Obi1 series, obi2 series, obi3 series
Hide thumbs Also See for OBi100:
Table of Contents

Advertisement

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)
Copyright 2010-2013 Obihai Technology, Inc.
177

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Obi110Obi200Obi302Obi202Obi300

Table of Contents