Help - Search - Members - Calendar
Full Version: Simple Caller ID
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
joelpaula_
Hi

Beginner. I have just read the API docs and couldn't find out how can I identify a caller.
I have an application with a Customer Database and I want to identify the customer and maybe open his/her file. This could be based on the skype user or another contact information, once the caller is identified.
I need to identify the person calling through VOIP or Chat. Just point me in the right direction.

Thanks for your help.
Joel
marcuswilliamson_
[quote=joelpaula]
I have just read the API docs and couldn't find out how can I identify a caller.
[/quote]

I would suggest you download the sample program msgapitest.exe which will allow you to familiarise yourself with the Skype message passing protocol.

Go to here:

http://share.skype.com/developer_zone/docu.../documentation/

and get:

Example C++ code for Windows

The commands you would need to get the ID of the caller are:

For voice calls:

You will see CALL xxx STATUS INPROGRESS

then you can do:

GET CALL xxx PARTNER_HANDLE
or
GET CALL xxx PARTNER_DISPNAME

For chat messages:

You will see CHATMESSAGE xxx STATUS RECEIVED

then you can do:

GET CHATMESSAGE xxx FROM_HANDLE
or
GET CHATMESSAGE xxx FROM_DISPNAME

Hope this helps.

regards
Marcus Williamson
Connectotel
http://www.connectotel.com/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.