Administrator’s Guide for VP59/SIP-T58A/CP960 IP Phones
240
l
Macros can be invoked in the format “!<macro name>”, where <macro name > is defined by the parameter
“edk.edklist.X.mname”.
l
If there are two or more same macros, the soft key or DSS key will invoke the macro with the smallest value of X
defined by the parameter “edk.edklist.X.mname”.
Macro Action Strings
Before using EDK, you must be familiar with macro language shown in this section.
The following table shows the basic macro action string syntax when creating EDK macros:
Macro Action
Description
Digits
The characters to be sent. The following characters are supported: . @ * # + 0-
9 and English letters. The appearance of this parameter depends on the
action string.
Example: *981135.
$C<command > $
This is the command. It can appear anywhere in the action string. Supported
commands (or shortcuts) include:
l
hang up (hu)
l
hold (h)
l
waitconnect (wc)
l
pause <number of seconds> (p <num sec>) where the maximum value is
10
Example: 4411$Cwc$$Cp10$ defines dialing 4411 > > waitconnect > > con-
nected and lasts 10 seconds.
$T<type>$
The embedded action type. Multiple actions can be defined. Supported action
types include:
l
invite
l
dtmf
l
refer
l
intercom
Example: *338$Tdtmf$ defines sending the *338 by the type of DTMF.
Note: We recommend that you always define this field. If not, the supplied
digits are dialed using INVITE.
$M<macro>$
The embedded macro. The <macro > string must begin with a letter. If the
macro name is not defined, the execution of the action string will be ignored.
Example: $MAA$ means invoking the EDK macro AA.
$S<softkey ID>$
It has the same effect as pressing the desired soft key.
Each soft key has a unique identifier on the IP phone, you can configure this
parameter according to the system-defined softkey ID. If the softkey ID is not
defined on the phone or there is no matched soft key on the current screen,
the execution of the action string will be ignored. The softkey ID is case-insens-
itive.
Example: $Sanswer$ means pressing the Answer soft key.
Yealink phones support customizing soft keys. When the phone invokes a cus-
tom soft key, the prefix “#” must be added.
Example: If the custom softkey label is IVR1, the custom softkey ID is custom_
macro, then $S#custom_macro$ means pressing the IVR1 soft key.
Note: To view the softkey ID, you can set “features.enhanced_dss_key-
Содержание One Talk CP960
Страница 1: ......