Softkeys> elemenet details, Softkey> element, Softkey> elemenet details – Grandstream GXP21xx XML Application Guide User Manual
Page 29

FIRMWARE VERSION 1.0.4.23 GXP21xx XML APPLICATION GUIDE Page 29 of 36
Object
Position
Type
Values
Comments
SoftKeys
Element
Mandatory
-
softkey
Child element
Mandatory
-
Defines each softkey' s display and action
This element defines each softkey's label and action. This element is mandatory. If there are more than 3
or 4 softkeys set up here (depending on the softkey number of different models), a "MORE" softkey will be
displayed automatically to access all the active softkeys.
Example 1 - Dial:
A softkey "Call" will be displayed. When pressing on it, 1087 will be dialed out using account 1.
Object
Position
Type
Values
Comments
SoftKey
Element
Mandatory
-
action
Mandatory
string
"Dial", "UseURL",
"AppendInputURL", "QuitApp"
label
Mandatory
string
Displays the softkey name
commandArgs
Optional
string
URL information, or number
commandId
Optional
int
Only for action=Dial. This specifies
the account index to dial out the call
from, starting from 0 for account 1
Softkey information here
" label="
Softkey label
" commandArgs="
Argument
" />