Copyright 2010-2017 Obihai Technology, Inc.
126
Macros are available to be used in specifying the textual contents for Text Line 1 and Text Line 2 areas. A macro must
be preceded with a
$
, such as
$number
or
$(number)
. The enclosing parenthesis is required when the macro is
followed by a character that is a legal macro character. A legal macro character is one of {
a
–
z A
–
Z . _ 0
–
9
} .
The following macros are available:
Macro
Description
Notes
$name
The Name field as configured for the feature key
$number
The Number field as configured for the feature key
$service
The default name of the service specified in the Service field for the
feature key:
SP1
, …,
SP6
,
OBiTALK
,
OBiBluetooth
.
Expands into the word
Auto
if
service field is not specified
$service.displayLabel
The X_DisplayLabel parameter per SP
n
service or the DisplayLabel
parameter per OBiTALK or OBiBluetooth service
{Blank} if service field is not
specified
$service.number
For SP1
–
SP6, this is the User ID of the SIP account, which is derived from
the AuthUserName or URI parameter of the SP service. For OBiTALK, this
is the OBi Number of the phone. For OBiBluetooth, this is the number of
the connected cell phone, if available
{Blank} if service field is not
specified
$service.displayNumber
The X_DisplayNumber parameter per SP
n
Service or the DisplayNumber
parameter per OBiTALK or OBiBluetooth service
{Blank} if service field is not
specified
$func
Short internal name of the function assigned to the key:
-
call
for Call Apperacne
-
blf
for Busy Lamp Field
-
spd
for Speed Dial
-
acturl
for Action URL
{Blank} if function is not specified
$funcname
Long internal name of the function assigned to the key:
-
Call
for Call Apperacne
-
Busy Lamp
for Busy Lamp Field
-
Speed Dial
for Speed Dial
-
XML APP
for Action URL
{Blank} if function is not specified
$call.service
and
$call.service.
x
where
x
= number,
displayLabel, or
displayNumber
Same as $service and $service.
x
applying to the service the call is on.
{Blank} if service is undefined for
the call (yet)
$call.number
Call peer’s Number
$call.name
Call peer’s Name
$value
For BLF, this is number of calls currently active on the monitored entity.
The value is {blank} for other functions
$blf.ext
The extension of the entity monitored by the feature key
@id
Line Key Hard Key ID. Exapnds into:
-
1,2,3,4,5 for OBi1022
-
1,2,3 for OBi1032/2062/2162
-
1,2,3,4,5,6 for OBi1062/2182
@p
Line Key Page. Expands into:
-
1,2 for OBi1022
-
1,2,3,4 for OBi1032/1062 and OBi2000 Series
@n
Line Key ID. Expands into:
-
1
–
10 for OBi1022
-
1
–
12 for OBi1032/2062/2162
-
1
–
24 for OBi1062/2182
$eval
See
Using $Macros and @Macros inside XML
section
@text1
The default information displayed on the (Text Line 1) section of the Line
Key Window. Applicable in the TextLine1, TextLine2, TextLine1InCall, and
TextLine2InCall paramters
@text2
The default information displayed on the (Text Line 2) section of the Line
Key Window. Applicable in the TextLine1, TextLine2, TextLine1InCall, and
TextLine2InCall paramters
@icon
The default icon displayed on the (Icon) section of the Line Key Window.
Applicable to the Icon parameter.