Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

How to get Instrument ID using CDP

Hi All,

Let me explain our needs.We have agents who have PC Client(Cisco IP Communicator) or hardClient( CiscoIP Phone  which is connected to PC) or both of them. We need to get all InstrumentID of the phones on that PC (Soft and hard phone). I heard something like CDP(Cisco Discovery Protocol) but I have no idea how to use or where to start? Currently, we are just using CTI tookit and it would be great if I can get InstrumentIDs using this toolkit.

I really appreciate any help.

Thank you.

Olcay

Everyone's tags (3)
12 REPLIES
Hall of Fame Super Gold

How to get Instrument ID using CDP

That would reauire quite a bit of programming beyond CTI, recommend you contact an expereinced developer for Cisco UC environments.

New Member

Re: How to get Instrument ID using CDP

It seems we don't have experienced developer who can help us about CDP right now.May be you can help us Paolo.The only solution which comes to my mind is if I can run "show cdp neighbors details" in SSH session using our desktop application and parse the IP result and compare with the PC IP which desktop application runs on. But we will run our desktop application on many PC and i am not sure the impact of this solution.

On the other hand, i wonder how do you implement your CTI  application. All the time, let users to enter instrumentID for their agents.

Hall of Fame Super Gold

How to get Instrument ID using CDP

Using CDP it can be done as you say. CTI not useful. There are many able programmers if you look around.

New Member

How to get Instrument ID using CDP

Using wireshark I can see CDP ping packages and get deviceID.But i am not sure how to query InstrumentID using deviceID.Any help on that

Hall of Fame Super Gold

How to get Instrument ID using CDP

Actually I never heard of "instrument ID" in Cisco nomenclature, you can use the mac-address table to gather MAC address, or HTTP query to get the serial number too.

New Member

Re: How to get Instrument ID using CDP

Thanks for your support Paolo.

I can use MAC address.Since Softclient uses PC MAC address, I can get softclient MAC address but when i type 'ipconfig  all' or 'arp -a' in command prompt on my PC, i can't see MAC address of hardclient.

Hall of Fame Super Gold

How to get Instrument ID using CDP

As mentioned above, that MAC address is visibile on the switch.

New Member

Re: How to get Instrument ID using CDP

So MAC address of hardphone which is connected to PC is not visible from PC?           

On the switch i can see MAC addresses. But what i need is to see MAC address of IPPhones from the PC.So when an agent wants to login, i will ask whether they want to use softphone or hardphone.Then if user selects hardphone i will get the MAC address and i will use it for login the agent

When i check with wireshark i can see CDP packages are sent and in these CDP packages there are deviceIDs which i actually need.

Hall of Fame Super Gold

Re: How to get Instrument ID using CDP

Since the phone never sends IP packets to the PC, its MAC address is not visibile to the PC.

New Member

Re: How to get Instrument ID using CDP

Thanks Paolo.But it is weird, isn't it?.Why I can't reach a deviceID of the phone which is connected to my PC.There should be a way.

Actually we found a solution. But I can't use it since we have  user account restricitions.( our uses can't use raw sockets)I hope it will work for someone else.We captured  CDP packages using raw socket and get deviceID to log user in.

New Member

Re: How to get Instrument ID using CDP

Is it possible, Hardphone sends device information to PC and PC keeps it in registry?

Super Bronze

Re: How to get Instrument ID using CDP

Hi

No, the CDP capture option is the typical way.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
690
Views
0
Helpful
12
Replies
CreatePlease to create content