ISSUE:1.Is it possible to have multiple TSPs installed on the same machine? In my environment I have two separate CUCM's.
2. I've recently migrated my 32-bit application from running on a 32-bit OS with the 32 bit TSP to running on a 64-bit OS with a 64-bit TSP. I know am getting "dwSize mis-match" errors when calling the devSpecific functions. Are there any workarounds to get my 32-bit application to work on a 64-bit machine?
Its possible. The Cisco Unified TAPI solution allows you to install multiple Cisco Unified TAPI Service Providers (TSPs) on the same machine.
This configuration allows TAPI applications to increase the number of lines that can be supported and to increase the amount of call traffic. Configure each Cisco Unified TSP with a different username and password that is administered in the Cisco Unified Communications Manager Directory. Configure each user in the Directory, so no two users are associated to the same device. TSPs in the multiple TSP system do not communicate with each other and create a separate computer telephony integration (CTI) connection to the Cisco Unified Communications Manager.
In the Cisco Unified TAPI solution, the TAPI application and Cisco Unified TSP get installed on the same machine. The Cisco Unified TAPI application and Cisco Unified TSP do not directly interface with each other. A layer written by Microsoft sits between the TAPI application and Cisco Unified TSP. This layer, known as TAPISRV, allows the installation of multiple TSPs on the same machine, and it hides that fact from the Cisco Unified TAPI application. The only difference to the TAPI application is that it is now informed that there are more lines that it can control.
Consider an example—assume that Cisco Unified TSP1 exposes 100 lines, and Cisco Unified TSP2 exposes 100 lines. In the single Cisco Unified TSP architecture where Cisco Unified TSP1 is the only Cisco Unified TSP that is installed, Cisco Unified TSP1 would tell TAPISRV that it supports 100 lines, and TAPISRV would tell the application that it can control 100 lines. In the multiple Cisco Unified TSP architecture, where both Cisco Unified TSPs are installed, this means that Cisco Unified TSP1 would tell TAPISRV that it supports 100 lines, and Cisco Unified TSP2 would tell TAPISRV that it supports 100 lines. TAPISRV would add the lines and inform the application that it now supports 200 lines. The application communicates with TAPISRV, and TAPISRV takes care of communicating with the correct Cisco Unified TSP. Ensure that each Cisco Unified TSPis configured with a different username and password that you administer in the Cisco Unified Communications Manager Directory. Configure each user in the Directory, so devices that are associated with each user do not overlap. Each Cisco Unified TSP in the multiple Cisco Unified TSP system does not communicate with the others. Each Cisco Unified TSP in the multiple Cisco Unified TSP system creates a separate CTI connection to the CTI Manager asshown in the following figure. Multiple Cisco Unified TSPs help in scalability and higher performance.
Most of the documents with similar issue " dwSize mis-match" recomends that the workaround is to deploy the 32-bit app on a 32-bit TSP/OS.
The size in bytes of the user-user information in lpsUserUserInfo. If lpsUserUserInfo is NULL, no
user-user information gets sent to the calling party, and dwSize is ignored.