Macro ExpansionMacro Name
MAC address using lowercase hex digits (000e08aabbcc).MA
MAC address using uppercase hex digits (000E08AABBCC).MAU
MAC address using lowercase hex digits with a colon to separate hex digit pairs
(00:0e:08:aa:bb:cc).
MAC
Product Name; for example, IP Phone 7861.PN
Product Series Number; for example, 7861.PSN
Serial Number string; for example, 88012BA01234.SN
SSL Client Certificate status, installed or not installed.CCERT
IP address of the phone within its local subnet; for example, 192.168.1.100.IP
External IP of the phone, as seen on the internet; for example, 66.43.16.52.EXTIP
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
Cisco IP Phone 7800 Series Multiplatform Phones Administration Guide
145
Cisco IP Phone Administration
Macro Variables