Cisco Unified Presence APIs Developer Forums

Combination View Flat View Tree View
Threads [ Previous | Next ]
I have a scenario where I have to make a .NET application that would be hosting a CUP Client in it, now my query is that, we have SIMPLE interfaces as well as the Presence Web Service both give the presence information of the User.. So which one should I use to get the presence status (Busy,Available etc...) of any user?
 
Any help would be appreciated....

RE: CUP API's
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
If your application can use either SIMPLE (you have a working SIP stack) or SOAP, then probably you can go with whatever is easiest.  Some possible considerations:
 
SOAP
------
- Fairly easy development using WSDL auto-generated code
- Easier to debug/troubleshoot: retrieve readable logs vs trying to get a network pcap
- Exposes additional features, including management/provisioning APIs
 
SIMPLE
--------
- Significantly less performance overhead, greater scalability
- Standards compliant
- Limited to core presence functionality

RE: CUP API's
Answer
4/16/10 9:30 AM as a reply to David Staudt.
Hi David,
 
Thanks for your quick response, I have one more issue...
 
I have to give the end user the facility to make a video or a simple call using Soft phone from my same CUP client, for that we have CTI gateways that are exposed by CUP API, but they give another service (Make call etc..) as opposed to methods, could you please guide in the right direction on this.
 
 
 

RE: CUP API's
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
My understanding is that the CTI gateway interface (CSTA over XML:  ECMA 323) is intended for use with the MOC, and not really for general 3rd party use.  Will check on this.  At least for now there doesn't seem to be any detailed documentation or a WSDL published.
 
For your purposes, then, I would suggest a standard SIP line-side integration directly to UCM
 
http://developer.cisco.com/web/sip/docs
 
or possibly using TAPI/JTAPI CTI directly to UCM:
 
http://developer.cisco.com/web/tapi/home
http://developer.cisco.com/web/jtapi/home
 
Note, you can also subscribe via SIMPLE direct to UCM, though this will be line-based presence rather than CUP's user-based presence
 
 

RE: CUP API's
Answer
4/16/10 9:30 AM as a reply to David Staudt.
Hello david,
Thanks for your reply. I have one more questine for you,
 
If i am going with using TAPI to UCM, will be there any sample codes or some reusable components that i can use for Make a call, Make a video call functionalites?, or do i  need to write from the scratch ?
If it is available from where i can get those  stuffs? Can u guide me ?
 
 
 

RE: CUP API's
Answer
4/16/10 9:30 AM as a reply to David Staudt.
Hi,
 
Could any one help me knowing that how the users are stored in CUP Server (are they stored in a DB maintained by CUP or it internally make use of Active Directory of the comany or enterprise for which it is configured)?
 

RE: CUP API's
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
Check the CUP documentation for details, but I believe CUP has an onboard DB where the users are stored.  The data is populated depending on how the system is setup:
 
- CUP standalone: users are managed via the local web admin UI
- CUP+UCM: CUP synchronizes with the UCM's onboard user DB
- CUP+UCM+LDAP(AD): UCM synchronizes its onboard DB with LDAP(AD), CUP synronizes its DB with the UCM DB