Create a call center with TAPI 3.0
Microsoft 2000/09/09
In the IP technology-based local area network, wide area network, and IP phones on the Internet can integrate voice, data, and video, which is a technology that is gradually developing and going to mature. The IP phone uses open IETF and ItuT standard, allowing multimedia to transfer on any of the links using IP, providing users with great flexibility in physical media and physical locations. For example, the user can choose to use ADSL, ISDN, satellite or twisted pair, as a transmission medium, while the location of the user can be selected, and personal, commercial, school, and data networks will be free from the Web, E-mail and data network. The government is connected together. I. The benefits of IP phones have reduced the information service consumption expenditures of units and individuals, such as voice transmission and video broadcasting, and also broadcase communication, including modern video conferencing, application sharing, etc. Wait. Enterprises or organizations need to configure different networks to meet different needs, such as voice, data, and video transmission use different network structures. Each has different requirements, which are expensive from installation, maintenance to the configuration, and cost is expensive. And because of these networks physically different, integration is also difficult, while limiting many potential purposes. The IP phone can integrate voice, video, and data together, effectively reduce the cost, and improve the management efficiency and work efficiency. The development of IP telephony applications, including phones, real-time document collection, distance education, employee training and video conferencing, and video mail, there is a better development platform. Second, TAPI3.0 Microsoft's TAPI3.0 on Windows 2000 is an interface function that adapts to the development of IP technology, which supports traditional PSTN phones and IP phones, providing users with a good Development environment. As the phone and call control are increasingly common in a personal computer, a universal telephone interface is required to support the application, allowing it to access the phone on any computer, through a unified standard, a call media and data pair Applications must also be available. Microsoft's TAPI3.0 provides a simple and basic method to complete access to the establishment of two or more computer connections and transport media. It abstracts the functionality of call control to provide a unified interface for the application, unconcupply communication protocol. The IP phone remains steadily, many companies and organizations begin to transition from expensive, unfunctuous, circuit exchange public telephone networks to intelligence, flexible, cheap IP networks. Microsoft expects to this trend, therefore established a powerful computer telephone architecture TAPI. Currently its third version, TAPI 3.0 is suitable for fast and convenient development of IP telephony applications. Microsoft's TAPI3.0 integrates the media stream control function of traditional telephones. In addition, the original TAPI2.1 is developed into COM component mode, allowing TAPI applications to write, such as C / C or Microsoft VB in any language. In addition to supporting traditional telephones, Microsoft's TAPI3.0 also supports standard H.323 conferences and IP broadcast conferences, Microsoft's TAPI3.0 also provides QoS quality assurance, thereby increasing the quality of conference and network management capabilities. The structure of TAPI is as follows: Microsoft TAPI3.0 has four components: Tapi3.0 COM API, TAPI Server, Telephony Service Provider, Media Stream Providers Compared to TAPI 2.0, Microsoft's TAPI3.0 is implemented in a COM object. of. Turning from TAPI to COM component patterns such that components can upgrade TAPI characteristics and allow developers to write TAPI applications in any language.
TAPI Server Abstract TSPI (Telephony Service Provider Interface from Microsoft Tapi3.0 and TAPI2.1, making TAPI2.1 Telephony Service Provider can be used with TAPI 3.0, keeping TAPI internal status. Telephony Service Providers (TSPS) is responsible for the call model of the low-level protocol and interprets the call control mechanism for a specific protocol. TAPI3.0 provides reliable backward compatibility for TAPI 2.1 TSPS, two IP TSPS default matches Microsoft TAPI3.0: one is H.323 TSPS, and the other is TSP of IP broadcast conference. Microsoft's TAPI3.0 provides a unified way for visiting media layers in a call. TAPI Media Stream Providers (MSPS) Provide DirectShow interfaces for the specified TSP. Microsoft's Tapi3.0 has five call control models: TAPI, Address, Call, Callhub, Terminal TAPI objects are applications access TAPI3.0 access points. This object represents all computer resources accessed by the local computer, allowing an application to resolve all local and remote addresses. The Address object represents a source address or destination address of a call. The capacity of the address supported by the media layer and interrupt can be obtained from this object. An application can wait for a call in an address, and you can also call out a destination address. The Call object represents a local address and one or more other addresses. The Call object can imagine the main control mode of the phone. All call controls are passed through the Call object. Each member in Callhub is a Call object. The CallHub object represents a collection of related calls. The CallHub object cannot be created directly by the application. It is created when there is a call to access time through TAPI3.0. Other participants in a call or conference can be parsed by CallHub object users, and other related remote CALL objects can be called control. Third, how to use TAPI objects with TAPI to easily execute a call and make a call response, which makes the phone easy and fast, bringing great convenience to the programmer. Below is a general process of executing a call and call response. Perform a call 1. Create and initialize a TAPI object 2. Use the TAPI object to resolve the available address 3 on a computer. Analyze the address type 4 supported by each address object. Select an address object 5. Create a CALL object 6 with the CreateCall method in the Address object. Select the appropriate terminal 7 of the Call object. Execute a call call answer 1 with a CONNECT method of the Call object. Create and initialize a TAPI object 2. Use the TAPI object to resolve the available address 3 on a computer. Analyze the address type 4 supported by each address object. Select an address object 5. Register 6 with an appropriate Address object according to different media types. Use an Address object to register the call event handle 7. TAPI notifies a call through the ItCallNotification and creates a Call object 8. Select the appropriate terminal 9 of the Call object. Call 10 is performed with the CONNECT method of the Call object. The Answer method for Call object will be used to apply TAPI 3.0 to the call center. It will play a very large promotion of the structure of the traditional call center, which not only brings great convenience to developers, but also reduces. Cost, also brings great convenience to the management and maintenance of the call center operator.