This document was generated from CDN thread
Created by: ANDRE PETERS on 11-03-2010 06:29:55 PM
My TAPI application needs to make calls from any extension (there are over 1,000 in our office).
Presumably this means the Cisco TSP should log into Call Manager (v4.2) using an account which is associated with all devices.
(1) Would it cause any problems to associate a Call Manager "user" with say 1,000 devices?
(2) Is there a better way to enable TAPI to make calls from any Call manager device?
Subject: RE: Enable Cisco TSP to make call from ANY device?
Replied by: David Staudt on 11-03-2010 07:57:35 PM
This is possible, see the 'Super Provider' section in the TAPI
developer guide. Note the user must have 'Standard CTI Allow Control of
All Devices' group/role.
Subject: RE: Enable Cisco TSP to make call from ANY device?
Replied by: ANDRE PETERS on 12-03-2010 10:16:56 AM
Many thanks for pointing me in the right direction:-)
Subject: RE: Enable Cisco TSP to make call from ANY device?
Replied by: ANDRE PETERS on 15-03-2010 10:31:49 AM
This is possible, see the 'Super Provider' section in the TAPI
developer guide. Note the user must have 'Standard CTI Allow Control of
All Devices' group/role.
I've created a new user with ENABLE CTI APPLICATION USE and ENABLE CTI SUPER PROVIDER selected, but there is no group called Standard CTI Allow Control of All Devices.
As things stand, the user is uable to control any device.
Should I just create the above functional group manually? If so, which rights should it have?
Am I doing something wrong? I'm using CM v4.1 (not 4.2 as stated earlier).
Subject: RE: Enable Cisco TSP to make call from ANY device?
Replied by: David Staudt on 16-03-2010 12:16:17 AM
'Enable CTI Super Provider' is what you wat for CM 4.x.
Note, once this is enabled this does not mean that all devices are automatically part of the controlled devices list for the user. In order to control a device via Super Provider with TAPI, the application must use the CCiscoLineDevSpecificAcquire class via lineDevSpecific - specifying the name of the device, i.e. 'SEPxxxxxxxxxxxx'. When the app is through with the device, CCiscoLineDevSpecificDeAcquire is used.
See the Developer Guide for more details.
Subject: RE: Enable Cisco TSP to make call from ANY device?
Replied by: ANDRE PETERS on 16-03-2010 06:24:08 PM
David
Many thanks again for your help clarifying this issue.
If I understand correctly, the Super Provider account cannot provide my TAPI application with a list of available devices: I have to know the specific SEP number of the line I want to use.
Rather than asking the end-user to find the SEP number of his telephone and type it into my application, is there any way that my application can automatically determine the SEP number of the telephone which is connected to his PC (in our company we connect the network to the IP phone, and then the IP phone to the PC)?
Incidentally, CCiscoLineDevSpecificAcquire isn't in the v4.1 Developer Guide, so perhaps it isn't supported.
Subject: RE: Enable Cisco TSP to make call from ANY device?
Replied by: David Staudt on 16-03-2010 09:56:37 PM
Yes, it looks like the Super Provider feature was introduced in 4.1(2) for JTAPI only, supported in v5.0(1) in TAPI.
Determining the device name of a phone connected to the PC is possible but pretty difficult. (Most) phones do support the LLDP discovery protocol which can discover information about nearby network devices (all Cisco phones support the pre-standard CDP protocol, which is not formally documented/supported.) This is usually not practical for typical apps, as it involves a network packet driver and low-level packet sniffing/parsing.
You may have an easier time attempting to match user to device name via the AXL SOAP API. The AXL <getUser> request returns info about a user, including all associated device names.