Copyright 2010-2015 Obihai Technology, Inc.
149
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)
*67, Block Caller ID Once, set($BCI1,1)
-
Enable masking of caller ID information once for the next call on any trunk
*74(x|xx), Set Speed Dial, coll($Spd[$code])
-
After user dials *74, OBi expects one or two more digits from the user which represent a speed dial slot index
(1 to 99). The 1 or 2-digit variable part is stored in the variable $code.
-
OBi device then plays a prompt tone and proceeds to collect a number from the user according to the
DigitMap. Finally OBi stores the collected number in the given speed dial slot. If the slot already has a number specified,
it will be overwritten quietly with the new value.
*75(x|xx), Check Speed Dial, say($Spd[$code])
-
After user dials *75, OBi expects one or two more digits from the user which represent a speed dial slot index
(1 to 99). The 1 or 2-digit variable part is stored in the variable $code.
-
The phone displays a message box on the screen to show the number stores in the speed dial slot.
Default Star Codes
The OBi device supports service features via the handset connected to the PHONE port. The following Star Codes can
be used to access the indicated features. OBi Star Code Enabled Features Apply to All Voice Services.
*03, Request peer device to loopback media in the next outbound call
*04, Request peer device to loopback RTP packets in the next outbound call
*05, Tell device to periodically redial the last called number until the called party rings or answers
*06, Cancel the last repeat dial request