I need to automatically identify from a PC the IP Phone that is connected to. So, I would like to discover from PC the mac-address or the Device Name of that IP Phone. How could I do it?
I think one possibility could be the computer to listen to CDP packages. But if the PC receives all CDP packages of all devices trough the same interface, could it distinguish which phone is the directly connected to?
Other possibility would be ARP tables allocated in the switches, but I think it would be difficult to automate.
What do you think? Any idea?