cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
796
Views
5
Helpful
7
Replies

How to find out phone connected with a PC

msabir
Enthusiast
Enthusiast

Is there a way to programatically find out which IP phone is connected with a given PC? We have a need where an application will be installed on each PC, but instead of having the user manually enter the information about the PC, we want auto detect the phone connected with that PC.

7 Replies 7

Mike-1985
Beginner
Beginner

Why 2 topics about this?

Find some information about CDP (Cisco Discovery Protocol). Each Cisco device sends a CDP-package every minute. This package contains information about the device, including it's MAC adres.

I have seen tools that one can install on windows box to read CDP packets, but they have a GUI interface. I was wondering if there is a way to programetically get that information, like a Java based CDP reader, etc. Thanks

reading CDP in java is pretty easy, especially with jpcap, etc. The problem is, you will need to install it on every client, and java is just too heavy to be a background service. unfortunately, we need something lightweight...