Page 3 - Contents
IP Media Server (Global Call) Demo Guide – November 2003 3 Contents Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 5 - Figures
IP Media Server (Global Call) Demo Guide – November 2003 5 Contents Figures 1 Demo Voice Menu Flowchart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2 IP Media Server (Global Call) Demo Architecture . . . . . . . . . . . . . . . . . . . . . ...
Page 6 - Tables
6 IP Media Server (Global Call) Demo Guide – November 2003 Contents Tables 1 Command Line Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2 Runtime Keyboard Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 7 - Revision History
IP Media Server (Global Call) Demo Guide — November 2003 7 Revision History This revision history summarizes the changes made in each published version of this document. Document No. Publication Date Description of Revisions 05-2065-002 November 2003 Fax not supported in SR 6.0 PCI Windows demo - re...
Page 9 - About This Publication; Purpose; How to Use This Publication
IP Media Server (Global Call) Demo Guide — November 2003 9 About This Publication This section describes the purpose of the guide, the intended audience, and provides references to other documents that may be useful to the user. • Purpose • Intended Audience • How to Use This Publication • Related I...
Page 10 - Related Information
10 IP Media Server (Global Call) Demo Guide — November 2003 About This Publication • Chapter 2, “System Requirements” outlines the hardware and software required to run the demo • Chapter 3, “Preparing to Run the Demo” describes the preparations required before running the demo • Chapter 4, “Running...
Page 11 - Demo Description
IP Media Server (Global Call) Demo Guide — November 2003 11 1 1. Demo Description This chapter describes the basic features of the IP Media Server (Global Call) demo. The IP Media Server (Global Call) demo is an object-oriented host-based application that demonstrates using the Global Call API to bu...
Page 13 - System Requirements; Hardware Requirements; Software Requirements
IP Media Server (Global Call) Demo Guide — November 2003 13 2 2. System Requirements This chapter discusses the system requirements for running the IP Media Server (Global Call). It contains the following topics: • Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 15 - Preparing to Run the Demo; Editing Configuration Files; File Location
IP Media Server (Global Call) Demo Guide — November 2003 15 3 3. Preparing to Run the Demo This chapter discusses the preparations necessary to run the IP Media Server (Global Call) demo. It provides information about the following topics: • Editing Configuration Files . . . . . . . . . . . . . . . ...
Page 16 - Sample Configuration File
16 IP Media Server (Global Call) Demo Guide — November 2003 Preparing to Run the Demo Quality of Service The application can set threshold values to monitor the quality of service during calls. A fault occurs when the result of a measurement of a QoS parameter crossed a predefined threshold. A succe...
Page 17 - Compiling and Linking
IP Media Server (Global Call) Demo Guide — November 2003 17 Preparing to Run the Demo # If capability is g711Alaw /Mulaw ==> FramesPerPkt = 10,20,30. # G711 frame per packet defines the packet size in # milliseconds # If capability is g723_5_3k / 6_3k ==> FramesPerPkt = 1, 2, 3 . # FrameSize i...
Page 19 - Running the Demo; Starting the Demo; Demo Options; Example
IP Media Server (Global Call) Demo Guide — November 2003 19 4 4. Running the Demo This chapter discusses how to run the IP Media Server (Global Call) demo. It contains the following topics: • Starting the Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 20 - Using the Demo; Keyboard Commands
20 IP Media Server (Global Call) Demo Guide — November 2003 Running the Demo 4.3 Using the Demo This section describes how to use the IP Media Server (Global Call) demo and contains the following topics: • Keyboard Commands • Using the Media Server 4.3.1 Keyboard Commands The demo always waits for i...
Page 23 - Stopping the Demo
IP Media Server (Global Call) Demo Guide — November 2003 23 Running the Demo 4.4 Stopping the Demo The IP Media Server (Global Call) demo runs until it is terminated. Press “q” or “Q” or “Ctrl+C” to terminate the demo application.
Page 25 - Demo Details; Files Used by the Demo; Demo Source Code Files
IP Media Server (Global Call) Demo Guide — November 2003 25 5 5. Demo Details This chapter discusses the IP Media Server (Global Call) demo in more detail. It contains the following topics: • Files Used by the Demo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 27 - PDL Files
IP Media Server (Global Call) Demo Guide — November 2003 27 Demo Details 5.1.2 PDL Files In Windows, the source code files listed in Table 4 are located in: C:\Program Files\Dialogic\Demos\IPDemo\Shared\ Modules\VoiceModule CCSPDevice.cpp Implements the operations of the CCSPDevice class Modules\Voi...
Page 28 - Programming Model; Module Structure
28 IP Media Server (Global Call) Demo Guide — November 2003 Demo Details 5.2 Programming Model This section describes the IP Media Server (Global Call) demo architecture. It contains the following topics: • Module Structure • EventRouter • Interfaces • Classes 5.2.1 Module Structure The IP Media Ser...
Page 30 - Interfaces
30 IP Media Server (Global Call) Demo Guide — November 2003 Demo Details Figure 3. EventRouter 5.2.3 Interfaces The modular architecture implements a unified interface that allows replacement of modules by including new header files and adjusting routing statements. Retrieve event data from GC libra...
Page 31 - Classes
IP Media Server (Global Call) Demo Guide — November 2003 31 Demo Details A module is treated by the EventRouter as a block box. It has three types of APIs: Initialization • Init( ) – for initializing a module • GetNumOfDevices( ) – returns the number of devices available to the application • GetDevi...
Page 37 - Threads; Keyboard
IP Media Server (Global Call) Demo Guide — November 2003 37 Demo Details 5.3 Threads The IP Media Server (Global Call) demo operates with two threads, as shown in Figure 4. Figure 4. IP Media Server (Global Call) Demo Threads State Machine CVoiceStateMachine • Handles voice events and maintains voic...
Page 38 - Initialization
38 IP Media Server (Global Call) Demo Guide — November 2003 Demo Details The threads are created as follows: 1. The first (main) thread is created by the demo application to get the keyboard input. 2. The second thread is an SRL thread, created as a result of the demo application calling PDLsr_enblh...
Page 39 - Event Handling; Event Mechanism
IP Media Server (Global Call) Demo Guide — November 2003 39 Demo Details Figure 5. System Initialization 5.5 Event Handling This section describes how the IP Media Server (Global Call) demo handles events. It contains the following topics: • Event Mechanism • Handling Keyboard Input Events • Handlin...
Page 40 - Handling Keyboard Input Events
40 IP Media Server (Global Call) Demo Guide — November 2003 Demo Details 5.5.2 Handling Keyboard Input Events There is an endless loop {while(0)} in the main( ) function in the Main.cpp file. In that loop, the application waits forever for a keyboard event by calling the waitForKey( ) function. The ...
Page 43 - Glossary
IP Media Server (Global Call) Demo Guide — November 2003 43 Glossary Codec: see COder/DECoder COder/DECoder: A circuit used on Dialogic boards to convert analog voice data to digital and digital voice data to analog audio. Computer Telephony (CT): Adding computer intelligence to the making, receivin...
Page 47 - Symbols
IP Media Server (Global Call) Demo Guide — November 2003 47 Index Symbols {while(0)} 40 A Application Classes 31 C CallbackHdlr( ) 39 CConfig( ) 38 CEventRouter( ) 38 ChannelNumber( ) 31 CheckAndConvertDigits( ) 37 Classes 31 Command Line Switches 19 Compiling and Linking 17 Connect( ) 34 , 36 Creat...