Star Code Scripts
You can define a star code script with the help of a number of predefined variables and actions.
Each variable represents one or one group of configuration parameters. An action can be checking or
setting the value of a variable, collecting a phone number from the user, or calling a certain number.
Star Code Script Variables
Use the predefined star code script variables.
The general format of a Phone port-specific variable is
$var
and it applies to the current Phone port
where the star code is entered. The general format of a trunk-specific variable is
TK($var)
, where
TK
is the abbreviated name of a trunk (SP1, SP2, or PP1). If
TK
is not specified for a trunk-specific
variable, it implies all the applicable trunks in the system.
Note that SP1 is the SP1 Service, SP2 the SP2 Service, and PP1 the PDMS-SP Service. Each
service is also referred to as a "trunk" in this document.
Here is a list of the supported
$var
variables:
Table 7-1
Supported $var Variables
Variable Meaning
$CFA Call forward unconditional enable (trunk-specific; admissible value: 0 for disable, 1 for enable)
$CFB Call forward busy enable (trunk-specific; admissible value: 0 for disable, 1 for enable)
$CFN Call forward no-answer enable (trunk-specific; admissible value: 0 for disable, 1 for enable)
$CFAN Call forward unconditional number (trunk-specific; admissible value: a token representing a call forward
number)
$CFBN Call forward busy number (trunk-specific; admissible value: a token representing a call forward number)
$CFNN Call forward no-answer number (trunk-specific; admissible value: a token representing a call forward number)
$MWS Message waiting state (trunk-specific; admissible value: 0 for no new messages, 1 for one or more new
messages)
$DND Do-not-disturb enable (trunk-specific; admissible value: 0 for disable, 1 for enable)
$BAC Block-anonymous caller enable (trunk-specific; admissible value: 0 for disable, 1 for enable)
$BCI Block outbound caller-ID enable (trunk-specific; admissible value: 0 for disable, 1 for enable)
$CWA Call-waiting enable on this Phone port (port-specific; admissible value: 0 for disable, 1 for enable)
$BCI1 Block caller-ID once in the next call on this Phone port (port-specific; admissible value: 1 for enable)
$UBCI1 Unblock caller-ID once in the next call on this Phone port (port-specific; admissible value: 1 for enable)
$LBM1 Loopback media (audio samples) once in the next call on this Phone port (port-specific; admissible value: 1)
$LBP1 Loopback RTP packets once in the next call on this Phone port (port-specific; admissible value: 1)
$BAR1 Barge-In once in the next call on this Phone port (port-specific; admissible value: 1)
$NOEC1 Disable echo canceller once in the next call on this Phone port (port-specific; admissible value: 1)
$NOJI1 Disable jitter buffer adjustment once in the next call on this Phone port (port-specific; admissible value: 1)
$IBDT Enable in-band DTMF transmission once in the next call on this Phone port (port-specific; admissible value:
1)
Star Code Scripts 47