LOCRPT commands in LD 117 let you access the Resource Location Module; this keeps track of any set that has registered to the PBX, and sort by DN, TN, registered / unregistered, etc. However, this table is only populated after a phone has registered at least once - IE, after an INI or Sysload, if a phone hasn't registered since then, it will not be in the RLM tables. Here are the command sets:
>ld 117
OAM000
=> locrpt ?
LOCRPT ALL - Print location report for all IP phones in the RLM table
LOCRPT DN - Print location report for IP phones in RLM table with the specified Directory Number
LOCRPT ECL - Print location report for IP phones in RLM table with the specified Emergency Caller Location
LOCRPT ERL - Print location report for IP phones in RLM table with the specified Emergency Response Location
LOCRPT HWID - Print location report for IP phones in RLM table with the specified Hardware ID
LOCRPT IP - Print location report for IP phones in RLM table with the specified IP Address
LOCRPT MANUALUPDATE - Print location report for IP phones in RLM table that are Manual-Update (ManualUpdate=True)
LOCRPT MU - Print location report for IP phones in RLM table that are Manual-Update (ManualUpdate=True)
LOCRPT NEEDUPDATE - Print location report for IP phones in RLM table that need a location update (NeedsUpdate=True)
LOCRPT NU - Print location report for IP phones in RLM table that need a location update (NeedsUpdate=True)
LOCRPT ROAMING - Print location report for IP phones in RLM table that are not at their home location
LOCRPT TN - Print location report for IP phones in RLM table with the specified Terminal Number
LOCRPT UNKNOWN - Print location report for IP phones in RLM table that are Auto-Update and ERL=Unknown
LOCRPT UNLOCATED - Print location report for IP phones in RLM table that are Auto-Update and ERL=Unknown
LOCRPT UNREG - Print location report for IP phones in RLM table that are unregistered
Matthew - Technical Support Engineer Sr.