I'm in a need of develop an application to get calls to Cisco CUCM extension numbers via VB application. I have Installed the Tapi driver for the computer and now i need to know where to start. Your advice is highly appreciated
Thank You
I'm in a need of develop an application to get calls to Cisco CUCM extension numbers via VB application. I have Installed the Tapi driver for the computer and now i need to know where to start. Your advice is highly appreciated
Thank You
Take a look at JulMar's ATAPI .net assembly for TAPI 2.x. (http://atapi.codeplex.com/).
It's free and I've used it for Cisco CUCM as well as a many other telephone systems. I don't use VB.net, (so please don't judge my very simplistic code example). My experience is in CTI not VB.
'The extension number of the Cisco Endpoint
Dim deviceNumber As String = "PUTEXTSIONHERE"
' The number you want to call
Dim callNumber As String = "PUTNUMBERTOCALLHERE"
Dim mgr As JulMar.Atapi.TapiManager = New JulMar.Atapi.TapiManager("Test App")
' Now iterate through all the lines -
' and make a call from any address that matches our device number
mgr.Initialize()
For Each line As JulMar.Atapi.TapiLine In mgr.Lines
For Each address As JulMar.Atapi.TapiAddress In line.Addresses
If address.Address = deviceNumber Then
line.Open(JulMar.Atapi.MediaModes.InteractiveVoice)
line.MakeCall(callNumber)
line.Close()
End If
Next
Next
mgr.Shutdown()