![Obihai Technology OBi1032 Скачать руководство пользователя страница 136](http://html2.mh-extra.com/html/obihai-technology/obi1032/obi1032_administration-manual_3151346136.webp)
Copyright 2010-2017 Obihai Technology, Inc.
136
-
Examples: "w mn/d/y", "w3    m d, y"
shadow
<text>, <time>,<date>
Three comma-separeted values "{x-offset },{y-offset },{color}"
that specify
a shadow to be drawn for the text to be displayed. {x-offset} and {y-offset}
are, respectively, the horizontal and vertical offset in pixels, and {color} is
the RGB color of the shadow. For example: “2,1,0x444444”
hide-text
<text>
Valid values are '0' (default) and '1'. A value of '1' makes it not to render
the text (but could still render the bgimg and bgcolor if specified in the
element)
hidden-if-
empty
<text>
Valid values are '0' (default) and '1'. A value of '1' hides the widget
completely when the text to render is an empty string (such that any
bgimg or bgcolor will not be shown either if specifid in the element)
Macors that can be used inside a <ScreenItem>
Macro
Where
Description
$nitems
Anywhere inside a
<ScreenItem>
Number of items currently shown on the screen
$name
Anywhere inside a
<ScreenItem>; usually
used inside a <text>
element or src attribute
For a CallItem or RingItem, this expands into the
peer’s
Caller-ID, or an
empty string if Caller-ID Name is not available. For other types of
<ScreenItem>, this expands into an empty string.
$number
Anywhere inside a
<ScreenItem>; usually
used inside a <text>
element or src attribute
For a CallItem or RingItem, this expands into the
peer’s
Caller-ID Number,
or an empty string if the Caller-ID Number is not available. For other types
of <ScreenItem>, this expands into an empty string.
$pic
Anywhere inside a
<ScreenItem>; usually
used inside a src
attribute
For a CallItem or RingItem, this expands into the path/URL to get the
Caller-ID Picture, or an empty string if Caller-ID Picture is not available.
Calller-ID picture information is extracted from SIP signaling messages.
For other types of <ScreenItem>, this expands into an empty string.
$org
Anywhere inside a
<ScreenItem>; usually
inside a <text> element
For a CallItem or RingItem, this expands into the
peer’s
organization
information that is extracted from SIP signaling messages, or an empty
string if organization information is not available.
For other types of <ScreeItem>, this expands into an empty string.
$timer
Anywhere inside a
<ScreenItem>; usually
inside a <text> element
For a CallItem or RingItem, this expands into the call timer string that
counts the duration of the call, that is displayed in h:m:s format on the
screen, at 1s resolution. For other types of <ScreenItem>, this expands
into an empty string.
$state
Anywhere inside a
<ScreenItem>; usually
inside a <text> or <dict>
element
For a CallItem or RingItem, this expands into the current call state, which
can be one of the following values:
Trying
Peer Ringing
Ringing
Connected
Holding
Call Ended
Incoming Page
Line Seize
SCA In Use
Call Parked
For other types of <ScreenItem>, this expands into an empty string.
$stateIcon
Anywhere inside a
<ScreenItem>; usually
inside a src attribute
For a CallItem or RingItem, this expands into the internal icon file that
represents the current call state.
For other types of <ScreenItem>, this expands into an empty string.
$index
Anywhere inside a
<ScreenItem>; usually
inside a <text> element
For a CallItem or RingItem, this expands into the index information of the
item, such as 1/2, 2/2, etc. This is only applicable if the call item is grouped
under a Line Key that controls multiple call appearances. It is an empty