Table 7-1 Supported $var Variables (continued)
Variable Meaning
$BCLR Clear all blocked callers (trunk-specific; admissible value: 1)
$CIDG Enable Generate Caller ID Generation on this Phone port (port-specific; admissible value: 1 for enable, 0 for
disable)
$CWCIDG Enable CWCID Generation on this Phone port (port-specific; admissible value: 1 for enable, 0 for disable)
$MWIG Enable MWI (Stutter Tone) Generation on this Phone port (port-specific; admissible value: 1 for enable, 0 for
disable)
$VMWIG Enable VMWI Generation on this Phone port (port-specific; admissible value: 1 for enable, 0 for disable)
$BXRN Blind transfer number for the current call on this Phone port (port-specific; admissible value: a number
representing the blind transfer target). As soon as a complete blind transfer target number is collected, the
device blind transfers the current call peer to the target number.
$CDM1
Codecs to enable in the next call on this Phone port (temporarily overriding any codec preferences in
device configuration) (port-specific; admissible value: An 8-bit unsigned number where each bit of its value
represents one audio codec)
● Bit0(LSB) = G711u
● Bit1 = G711a
● Bit2 = G726r16
● Bit3 = G726r24
● Bit4 = G726r32
● Bit5 = G726r40
● Bit6 = G729
$LDN Last dialed number on this Phone port (for redial) (port-specific; read-only)
$LCR Last caller's number on this Phone port (for call return) (port-specific; 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 in a star code script is ACT(par, par, ….).
The following actions are supported:
Table 7-2
Star Code Script Actions (ACT)
Script Actions
set(VAR,token)
Sets the given VAR to the value represented by token.
call(token)
Calls the number represented by token.
●
PHONE Port
::OutboundCallRoute is applied when making the call (but not the DigitMap).
rpdi(token)
Repeat-dials the number represented by token.
48 Chapter 7Star Code Features