Star Code Script Actions (Act); Star Code Script Format - Obihai OBi110 Administration Manual

Voice service bridge and terminal adapter; telephone adapter and voice service bridge; voip phone adapter with router, 2-phone ports, t.38 fax; voip phone adapter with router, 2-phone ports, t.38 fax (sip only)
Table of Contents

Advertisement

-
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.
Copyright 2010-2012 Obihai Technology, Inc.
160

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Obi100Obi202Obi302

Table of Contents