I'm building an application to list phones, the phone's IP address and the IP address of the PC that's on the phone's PC port. (We use 7940s and 7960s). I'm using DeviceListX.asp to pull phone IPs and AXL to get other phone details.
I'm now trying to figure out how to get the PC's IP address. My software can't log into routers or switches, so pulling arp tables and mac-address tables to cross-reference is NOT an option.
I was hoping I could hit the web server on each phone to pull the info from the Network Config page:
http://<ip address of 7940>/PortInformation?2
However the IP address for the PC Port is always blank:
overflow Drop 0
Neighbor Device ID
Neighbor IP Address
Neighbor Port
Port Information Full, 100
(It's never blank for the Network or Phone page though.)
Is there ANY way to enable/configure the phone to "pull" or "find" the IP address of the PC Port??
Anyone know why it's always blank?
Is there any other command I can issue on the phone that could pull this?
Thanks!
S