CSTA is a kind of standard communication protocol used between PBX and computer that is famous in Europe. What is CSTA ? Control Requests Event Notifications.

Презентация:



Advertisements
Похожие презентации
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Building a Simple Serial Network Understanding the OSI Model.
Advertisements

TCP/IP Protocol Suite 1 Chapter 12 Upon completion you will be able to: Transmission Control Protocol Be able to name and understand the services offered.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Building a Simple Ethernet Network Understanding How an Ethernet LAN Works.
Copyright 2003 By Your Name CCNA 3 Chapter 1 Review: The OSI Reference Model and Routing.
XjCharts A C++ / Java Statecharts Tool for Developers Experimental Object Technologies
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
© Luxoft Training 2013 Annotations. © Luxoft Training 2013 Java reflection / RTTI // given the name of a class, get a "Class" object that // has all info.
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Connecting Networks Understanding How TCP/IP Works.
Yogesh Mehla Now concept of logic building is not so complex and not so simple. We will not work on how to make logic program in.
Convolutional Codes Mohammad Hanaysheh Mahdi Barhoush.
© 2005 Cisco Systems, Inc. All rights reserved. INTRO v Module Summary TCP/IP is the most widely used networking protocol, with functions that can.
WEB SERVICES Mr. P. VASANTH SENA. W EB SERVICES The world before Situation Problems Solutions Motiv. for Web Services Probs. with Curr. sols. Web Services.
1/27 Chapter 9: Template Functions And Template Classes.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing BGP Explaining BGP Concepts and Terminology.
Operator Overloading Customised behaviour of operators Chapter: 08 Lecture: 26 & 27 Date:
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Ensuring the Reliability of Data Delivery Understanding How UDP and TCP Work.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Using Multihomed BGP Networks.
Loader Design Options Linkage Editors Dynamic Linking Bootstrap Loaders.
Copyright 2003 CCNA 4 Chapter 11 Scaling IP Addresses By Your Name.
Транксрипт:

CSTA is a kind of standard communication protocol used between PBX and computer that is famous in Europe. What is CSTA ? Control Requests Event Notifications CSTA Protocol CO Lines Extension Lines TDA CTI Server

If you want to study about CSTA, please access to the following URL. At the top page, select "Publications". Then, select "list" at the section of "ECMA Standards (blue cover) - see index or list". In the list of the documents, "ECMA-269" is the services specification on the CSTA. And "ECMA-285" is the protocol specification. They may help your understanding.

How does it communicate with PBX ? PBX TCP/IP USB KXTDA USB driver Windows TCP/IP driver Application Encoded CSTA message

How can you describe CSTA message ? Each message of CSTA is described by using the manner of ASN.1 (Abstract Syntax). It is described by the abstract syntax as following example. Example: Definition about clearConnection message clearConnection OPERATION ::= {ARGUMENTClearConnectionArgument RESULTClearConnectionResult ERRORS{universalFailure} CODE local: 5 } ClearConnectionArgument ::= SEQUENCE {connectionToBeClearedConnectionID, correlatorDataCorrelatorData OPTIONAL, userDataUserData OPTIONAL, extensionsCSTACommonArguments OPTIONAL} ClearConnectionResult ::= CHOICE {extensionsCSTACommonArguments, noDataNULL} ClearConnection Request ClearConnection Result

Each message of CSTA defined by ASN.1 (abstract syntax) is encoded into transfer syntax according to Basic Encoding Rule (BER) which is sent / received between PBX and Computer. ClearConnectionArgument ::= SEQUENCE {connectionToBeClearedConnectionID, correlatorDataCorrelatorData OPTIONAL, userDataUserData OPTIONAL, extensionsCSTACommonArguments OPTIONAL} How CSTA message is encoded? ConnectionID SEQUENCE tag T Tag L Length V Value Encoding to send Decoding to read Not supported by TDA B F A This bits stream is represented in HEX.

What is ASN.1 ? If you want the official specification book, please get the ITU-T recommendation book (onerousness). ITU-T X.680 and X.690 is the basic rule about ASN.1 and its coding. ITU-T X.680 Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation ITU-T X.690 Information technology - ASN.1 encoding rules Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER) And the following reference book(free download) is also very useful to understand ASN.1.

LAN Positioning of ASN.1 in OSI 7-Layers Reference Model Layer 1 :Physical Layer Layer 2 :Data Link Layer Layer 3 :Network Layer Layer 4 :Transport Layer Layer 5 :Session Layer Layer 6 :Presentation Layer Layer 7 :Application Layer CSTA ACSEROSE IP TCP Ethernet 10Base-T USB ASN.1 Defined by ASN.1

How to apply the ASN.1? In general, the description of CSTA message by ASN.1 is not directory understood by the programming tool of Windows. We usually need to use some ASN.1 compiler. The followings are the major commercial compiler. ASN.1 compiler takes ASN.1 specification as input, and generates programming language data structures. It also provides encoder / decoder of CSTA messages for the MS-Windows (or other platforms). For example, if you select the ASN.1 compiler for C, the compiler generates (1) C header file that is describing the CSTA message data Structures. (2) C source code file for encoder / decoder (runtime library). By including these files in your application software source codes of C language, you can send and receive the encoded form of CSTA messages by the simple data Structure of C language.

How to use ASN.1 compiler? Abstract Syntax Definition (XXX.asn) C language structure (xxx.h, xxx.c) Your Application (yyyy.h, yyyy.c) C Compiler ASN.1 Compiler Object file : xxx.o Your applications executable file ****.exe C Compiler Object file : yyyy.o Link with ASN.1 runtime library (encoder / decoder)