Macro Expansion
Macro Name
Software version string; for example, 2.0.6(b). Use the software version string to
compare against the current phone's firmware load, with one of the following methods:
•
With quotes, "$SWVER"
–Variable acts as a string in firmware load name
comparisons. For
"$SWVER" eq "sip8845_65.1-0129-18-0356dev.loads"
, the
phone model number and load number are part of the comparison.
•
Without quotes, $SWVER
–Variable is parsed to determine a build number, plus
major, minor, and micro revision numbers. For example, when the
sip88xx.11-1-1MSR-1dev.loads
and
sip8845_65.11-1-1MSR-1dev.loads
firmware names are parsed, the result ignores the model number and load number.
The result for both firmware names yields a major revision=
1
, minor revision=
1
,
micro revision=
1MSR
, and build number=
1
.
SWVER
Hardware version string; for example, 1.88.1.
HWVER
Provisioning State (a numeric string):
• -1 = explicit resync request
• 0 = power-up resync
• 1 = periodic resync
• 2 = resync failed, retry attempted
PRVST
Upgrade State (a numeric string):
• 1 = first upgrade attempt
• 2 = upgrade failed, retry attempt
UPGST
Result message (ERR) of previous upgrade attempt; for example, http_get failed.
UPGERR
Seconds since last resync attempt.
PRVTMR
Seconds since last upgrade attempt.
UPGTMR
Seconds since Line 1 lost registration with SIP server.
REGTMR1
Seconds since Line 2 lost registration with SIP server.
REGTMR2
Legacy macro name.
UPGCOND
File access scheme (TFTP, HTTP, or HTTPS, obtained after parsing resync or upgrade
URL).
SCHEME
Deprecated alias for SCHEME, do not use.
METH
Request target server hostname.
SERV
Request target server IP address (following DNS lookup).
SERVIP
Request target UDP/TCP port.
PORT
Cisco IP Phone 8800 Series Multiplatform Phone Administration Guide for Release 11.3(1) and Later
169
Cisco IP Phone Configuration
Macro Variables
Summary of Contents for 8800 Series
Page 2: ... 2019 Cisco Systems Inc All rights reserved ...
Page 42: ......
Page 122: ......
Page 329: ...P A R T III Cisco IP Phone Installation Cisco IP Phone Installation on page 311 ...
Page 330: ......
Page 438: ......