Cisco Unified Presence APIs Developer Forums

« Back to SOAP API

TAPI for UCM

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi all,
I am pretty new to TAPI for UCM calls.
I have a  requirement that i have to implement some call manager functions in my application like, Make a Call, Make a video call etc.
What my questione is is there any reusable components or code segemnts available for these UCM functionalities that i can directly reuse ?
Or do i need to implement in my own way from the scratch itself  ?
Please share your thoughts.
 
 

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
There are a couple of TAPI sample apps that you can get a running start with: http://developer.cisco.com/web/tapi/docs
 
TAPI and JTAPI do not support video calls, currently.

hi david,
thanks for your answer.
 
So if I want to go with video call, i need to start the audio call and stream the webcam with audio call synchronisation right ?
 
I have one more questione about the development environment,
If CUCM is succesfully installed, if i create a C++ application with call manager functionalities and run , will it work ?
 

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
There are several aspects of a video call that UCM handles: codec negotiation, setup/teardown of streams, call-admission-control, etc.  As the TSP does not expose any of that functionality, aything you would do with video would be external to the UCM video functionality.
 
C++ (or straight C) is definitely the development environment you want to use for TAPI application programming.  tapi32.dll is a C library.

hello david,
thanks for the reply.
Again i have some more questiones regarding the development environment,
Do i need to install cisco TSP for call manager functionalities ?
 
tapi32.dll is coming form  windows right ? for windows TAPI functionalities, we will be using this Dll .
If i am going with Cisco TAPI, is Cisco TAPI is using windows TAPI dll? 
 
 
 
 
 

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
The TAPI developer guide has some diagrams, etc.  The stack is basically this:
 
* Application links to tapi32.dll - tapi32.dll is provided by MS
* tapi32.dll uses RPC to talk to tapisrv - tapisrv is provided by MS, and is a system level process/service
* tapisrv links to the cisco.tsp (a dll) when it loads at system startup time
* cisco.tsp uses TCP to communicate to the CTIManager service/process on UCM
 
So the app uses the standard windows TAPI components.  The Cisco TSP is a 'plugin' for the windows TAPI service.

hi david ,
thanks very much for your reply.
How can i register my application in Call Manager ?  What I understood is, the call manager has to identify the applications (like soft phones, communicator) as devices wtih unique IP address. (Please guide me if iam wrong.)
 
In my case, i am having an application with some call functionalities, how can i register this application in call manager so that i can use my application for calling.
 
 
thanks,
bino
 
 

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
hi Shwetha/bino,
 
The Call Manager needs to be provisioned with an Application user with Standard CTI Enabled permission for the application to register with UCM. The device that needs to be monitored and controlled by TAPI needs to be associated with this application user.
 
For Achiving this:
1.From the UCM Admin page, select User management ->Appl User -> Add a user
  
2.Associate the devices which has to be controlled by this app-user.
 
3.Make sure that this user is under Standard CTI Enabled Group.
   To achive this : User management ->User Group -> select Standard CTI Enabled and add the user under that.
 
Let us know for any further clarifications.   

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Giggesh Thekkekeloth.
hi Giggesh,
thanks for your reply.
In your reply you specified how call manager to be configured for the device. Now my questione is in Application point of what i have to do to register  my application in the call manager.
 
As per my understanding, while installing my application , i have to estableish a connection between Call manager , so that it will be registered in the call manager and CUCM will track it as a device. ( like soft phone installation)
 
So my questione is what all things i have to do to register in call manager from my application's point of view ?
 
 

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
Hi shwetha,
 
To establish a connection between Call manager and your Tapi application, the above said setup in the CUCM is enough. There is no need for the application to regiter as a new device as such, using the App-user you can achive this.
 
Please refer to the TAPI developer guide pointed by David in the previous post for detailed explanation on this.

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Giggesh Thekkekeloth.
Hi Giggesh,
Thanks for your reply.
 
Cisco TSP has to installed and configured  in all the client machines where my application is installed right ? Or only need to install in the Call manager server, if so how the client machines can access the Cisco TSP ?
 

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
Hi shwetha,
Yes, Cisco TSP has to be installed and configured in all the client machines where your application is installed.

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Giggesh Thekkekeloth.
Hi Giggesh,
Once agian thanks very much for your immediate reply. Now i am almost clear about the architecture. I will keep posting if i am in trouble again.
 
Thanks in advance..

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Giggesh Thekkekeloth.
Hi Giggesh,
 
To whome can i contact for MSE (Extension Mobility )related questiones. Which is the ideal forum ?
My questiones are,
 
1.       MSE provides APIs for retrieving the building maps. What is the format of these images? Are these images in JPEG or AUTOCAD images?
2.       Does MSE store multiple building map images for different zoom sizes?

 

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
Hi Shwetha,
 
I saw your post at the Extension Mobility API forum
http://developer.cisco.com/web/emapi/forums/-/message_boards/message/1269779
Soon the coresponding Engineer will reply to your query.
 
 
The ideal forum for the query is
http://developer.cisco.com/web/contextaware/forums
MSE/Location Server are now termed as Context-Aware Services.

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Giggesh Thekkekeloth.
Hi Giggesh,
AS per your previous post, I have created a CTI Enabled user and added a CTI device (Phone , Model = CTI Port)  to that user.
I installed Cisco TSP in my client Laptop and specified the CAll manager IP in the TSP configuration.
 
I have read from Cisco TAPI userguide that, we can verify the TSP - Call manager functionlaity using Windows Dialer application. When i checked with Dialer I could able to find the Device that i configured in Call manager.
 
Now my questine is,  From my application how can i select the device (TSP) and perform the call functionality.
Could you please explain the flow ?
 
Could you please give me your contact phone number and available time, so that i can directly call you.
 
 
 

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
Shwetha,
There are a couple of TAPI sample applications here: http://developer.cisco.com/web/tapi/docs which gives you the basic understanding of the call establishment through cisco TSP.

Please go-through this and get back for any further querries on this.
 
 
You can also raise a TAC case for SLA based response with your CCO username and password. The weblink for raising SR is here, http://tools.cisco.com/ServiceRequestTool/create/launch.do

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Giggesh Thekkekeloth.
Giggesh,
Thanks for your answer.
 
I have almost done all the things, the call is working now through CCM. Thanks again giggesh.
 
Now the problem is SOUND is not there emoticon
I am able to manage the functionalities  make a call, Hold, Transfer, Conference etc...But the problem is Sound is not transfereing.
I have succesfully installed, Wave Driver abd configured. I dont know what all things has to be done for sound.
 
I tried with MS Dialer application with Call manager CTI port. There also sound is not transfering.( If i am trying Dialer with H323 line , sound is succesfully transfering )
 
Please let me know your suggestion.
 
 

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
Shwetha,
 
Can you please eloborate when you say 'Sound is not transfereing'
Are trying to call the CTI port, or in what way your application is trying to send/transfer the media to the CTI port?
 
Genarally in the TAPI test tools, we use to test the media transfer to the CTI port using the getid() and playwave() api's.

RE: TAPI for UCM
Answer
4/16/10 9:30 AM as a reply to Giggesh Thekkekeloth.
Giggesh,
What i am doing is to call from my application to soft phone/ Hard phone. I am getting all the call related events and the call is connected. But when talking i cannot hear sound.
What i have to do hear the sound ?
 
Please let me know .