Copyright 2010-2012 Obihai Technology, Inc.
161
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.
-
OBi device then announces the number stores in the speed dial slot, or says “not available” if the slot is empty.
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...