1206 TSPI 开发 资料
http://tapifaq.pennypacker.org/tapifaq8.html
http://www.i-b-a-m.de/Andreas_Marschall\’s_TAPI_and_TSPI_FAQ.htm#_Q:_What_is_3
Andreas Marschall’s TAPI and TSPI FAQ
——————————————————————————–
Andreas Marschall is a TAPI / TSP Developer and Tester since 1997.
His contribution to the TAPI newsgroups has been recognized by Microsoft® with MVP Awards for TAPI / Windows® SDK in 2003, 2004, and 2005.
He received the Microsoft® 2004 Windows MVP ‘Winny’ Award in the category ‘Developer’ at the 2004 MVP Global Summit in Redmond / Seattle, WA, USA.
See his MVP Profile (incl. Biography Abstract, Publications, Conferences, etc.).
He attended the last TAPI Bake-Off in Nice, France, in July 2000.
Q: Are there specific TSPs for TAPI2 and TAPI3 ?
A: There is no specific TSP for TAPI2 and TAPI3:
· The "mapping" between a TSP and TAPI2 / TAPI3 is done by the TAPI components of the OS (i.e. TAPISRV)
· There is no need to implement any COM in a TSP to get it ready for TAPI3
· You "just" need to implement the TSPI_functions (and TUISPI_functions):
See MSDN® Library online: tspi/tapi_service_providers
See MSDN® Library online: tspi/tapi_service_provider_overview
See MSDN® Library online: tspi/telephony_service_providers_start_page
· The only TAPI3 specific is media control. This is not done by a TSP but by a MSP (media service provider):
Q: Is there a TSP with sample code available ?
A: Yes, see the following links:
· Take a look at the ATSP sample TSP project in the Core SDK from Windows® SDK (s. Platform SDK):
After installing the Core SDK you will find this sub-directory:
\\NetDS\\Tapi\\Tapi2\\Atsp32
· JulMar Technology offers a SDK for TSP development: there is a commercial version and an open source version of their TSP++
VIII. Service Provider (TSP) development questions
1. How do I write a TSP?
The most common way to write a TSP is to take the source code for an existing TSP and use it as a template for writing a new one. Microsoft has made the source code for a simple TAPI 1.x modem TSP (ATSP) and a simple TAPI 2.x modem TSP (ATSP32). The source code for these TSP\’s can be found on the Microsoft Developer Network (MSDN) CD library.
3. How can I debug a TSP?
Microsoft has a special TSP called the "Repeater TSP" that traps and displays all data sent to and from a TSP you want to debug. This Repeater TSP is available in the MSDN library on the Platform SDK.
When you write a TSP it is strongly suggested that you incorporate some sort of tracing mechanism that can be turned on and off as necessary. Not only will this be an extremely useful tool when debugging your TSP, but it can also prove invaluable when others are using your TSP and trying to get it to work with other TAPI applications.
TSP++ Software Development Kit Download
The TSP++ SDK has been used by some of the largest companies in the world to create TAPI-compliant service providers for their hardware. Version 2.0 is now available for free under an open-source GPL license.
This distribution includes the full source and documentation to the library, along with samples which may be compiled using Microsoft Visual Studio 6.0.
Higher performance, more robust TAPI service providers can be built using our commercial version of TSP++ – Version 3.0.
The solution was:
- Create a new C++ project for a Win32 DLL; choose the "empty (no
files)"
one
- Copy the following files from the ATSP32 folder into your new project
folder:
— Atsp.h
— Resource.h
— Atsp.rc
— Atsp.c
— Atsp32.Def
Microsoft Windows CE .NET 4.2
Sample TSP
The following topics contain the header and source files for a code example that illustrates how to write a customized TSP by using the TSPI that is supported in Windows CE.
Telephony Service Provider Interface (TSPI)
A Telephony Service Provider (TSPI) handles device-specific controls for communications programming. A TSP must conform to the Telephony Service Provider (TSPI) in order to function as a service provider within the Microsoft Telephony environment. TSPI defines the external functions exposed by a telephony service provider supplied with communications equipment.
A TSP author must be familiar with the material in Microsoft Telephony Overview, which covers general telephony architecture and provides an overview of material common to several telephony APIs. For example, this section contains a list of session control operations, such as Park, with descriptions of each operation and jumps to related TAPI 2.2, TAPI 3, and TSPI programming elements.
历史博文
- 20080910 c# 定时器 资源 - 2009
- 20070801 trac apache 密码 权限 - 2008
- 0213 Becky! multipart BASE64 error - 2006
- B2PlugIn and Soft Write by English 622 update - 2005
- 一种新的垃圾邮件形式 - 2005