07-31-2012 11:41 PM - edited 03-16-2019 12:28 PM
Hi All,
Basicly, i need to get MAC address of the Hardphone from the PC which phone is connected.I guess it should be somewhere in registry but i couldnt find
Thanks in advance
07-31-2012 11:44 PM
Hi
The PC doesn't know it's there - there's no registry entry as the phone is just a seperate device on the LAN.
Typically products capture CDP to detect the phone info, but that generally relies on some sort of packet capture technology.
Aaron
07-31-2012 11:52 PM
Hi,
Thanks for your Quick reply.
The device is connected to PC directly using ethernet cable. So all the communication is over the device and when i check with Wireshark, i can see CDP packages with DeviceID info. Since we have user account restrictions, I cant capture the packages directly.
What i wonder is if PC detect the phone info, what it does with this?I believe it should be stored somewhere.
07-31-2012 11:57 PM
Hi
That CDP is just background noise to the PC. If you look at your capture, you will see lots of broadcast and multicast traffic that the PC doesn't care about that is sent out from all sorts of devices on your LAN. The PC simply ignores anything it's not interested in, including CDP.
If you were running a program that was interested in CDP, it could collect that info.
If you have a capture running, you can capture it. Commercial programs sometimes use customised versions of WinPCAP that just capture CDP, and those capture drivers are installed with admin rights along with the main program so that it can be used by non-privileged users.
Aaron
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide