01-06-2016 07:43 AM - edited 03-17-2019 05:46 PM
Hello,
Does anyone know how I can retrieve the connected phone device name from a Windows PC running the Medianet Services Interface (which includes a CDP driver) programatically or via windows cli etc?
It must be accessible somehow as Jabber for Windows uses this to find the connected phone to initiate the CAST session...
Thanks,
Petre
01-12-2016 07:38 AM
Hi Peter,
Jabber gets the desk phone or a soft phone information from CUCM and IMP.
In scenarios, when Medianet is installed in the PC, CDP is used to find the IP phone to which you are connected, and CAST is used to establish the video connection to the phone.
In order to find the MAC of the IP phone you can check the PRT logs from jabber once the deskphone is registered with jabber client.
Another would be to check the wireshark packet capture or just use "arp - a" in command line of Windows, if you have "span to PC port" enabled in the CUCM>>device>>phone configuration page.
Regards,
Ankoor
01-12-2016 08:18 AM
Hi Ankoor,
Thanks for your reply.
Is there a way to find the phone device name as advertised via CDP by querying the Medianet Services Interface via some sort of API, or by reading it from a location where it's stored?
I'd like to use it to trigger Extension Mobility logins, but need to find the connected phone device name to be able to do this. I have a prototype working today using WinPCAP to read the CDP packets, but I do not want to have to install this on all of our PCs in order to get this to work. The Mediaet services interface has the CDP information to be used with CAST so ideally I'd like to gather the device name from there... Do you know if this is possible? Or do you know of another way I can get the connected phone devices name without having to install a new software component (such as WinPcap) to the network stack of the PC....
Thanks,
Peter
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