Intel 05-2065-002 manual Demo5 Details, Files Used by the Demo, Demo Source Code Files

Page 25

Demo5.

Details

5

This chapter discusses the IP Media Server (Global Call) demo in more detail. It contains the following topics:

Files Used by the Demo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

Threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Initialization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Event Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

5.1Files Used by the Demo

This section lists the files used by the IP Media Server (Global Call) demo. It contains the following information

Demo Source Code Files

PDL Files

5.1.1Demo Source Code Files

In Windows, the source code files listed in Table 3 are located in:

C:\Program Files\Dialogic\Demos\IPDemo\

Table 3. Files Used by the IP Media Server (Global Call) Demo

Directory

File Name

Purpose

 

 

 

IPMediaServer

CConfig.cpp

Implements the operations of the Configuration

 

 

class

 

 

 

IPMediaServer

CConfig.h

Function prototype for config.cpp

 

 

 

IPMediaServer

CEventRouter.cpp

Implements the operations of the EventRouter class

 

 

 

IPMediaServer

CEventRouter.h

Function prototype for ceventrouter.cpp

 

 

 

IPMediaServer

IPMediaServer.cfg

Demo configuration file

 

 

 

IPMediaServer

IPMediaServer.dsp

Visual C++ project file

 

 

 

IPMediaServer

IPMediaServer.dsw

Visual C++ project workspace

 

 

 

IPMediaServer

main.cpp

Contains the main function and the WaitForKey

 

 

 

IPMediaServer

main.h

Function prototype for main.cpp

 

 

 

IPMediaServer\release

unavConf.vox

Voice file

 

 

 

IPMediaServer\Release

cspPrompt.vox

Voice file

 

 

 

IP Media Server (Global Call) Demo Guide — November 2003

25

Image 25
Contents For Windows Operating Systems IP Media Server Global Call Demo GuideIP Media Server Global Call Demo Guide November Contents Contents Figures Tables Document No Publication Date Description of Revisions Revision HistoryRevision History About This Publication How to Use This PublicationPurpose Intended AudienceAbout This Publication Related InformationDemo1 Description Demo Description Hardware Requirements System2 RequirementsSoftware Requirements System Requirements Editing the IPMediaServer.cfg Configuration File Editing Configuration FilesPreparing To Run the Demo File LocationSample Configuration File Compiling and Linking Preparing to Run the Demo Running4 Demo Command Line SwitchesStarting the Demo Demo OptionsKeyboard Commands Using the DemoUsing the Media Server Runtime Keyboard CommandsConfirm Message Saved StopRecMenu Demo Voice Menu Flowchart Stopping the Demo Running the Demo Files Used by the Demo Demo5 DetailsDemo Source Code Files Files Used by the IP Media Server Global Call DemoDemo Details PDL Files Used by the IP Media Server Global Call Demo PDL FilesModule Structure Programming ModelIP Media Server Global Call Demo Architecture EventRouterEventRouter InterfacesApplication Classes ClassesIP Module Classes GetNumOfDevicesOnBoard Board CIPTBoard InitCIPMBoard Init Connect Device CIPDevice InitDisconnect GetXmitSlotModule CVoiceModule Init Voice Module ClassesBoard CVoiceBoard Init Play Device CVoiceDevice InitOnPlayComplete RecordThreads Initialization Event Mechanism Event HandlingHandling SRL Events Handling Keyboard Input EventsHandling Application Exit Events TSUsrEvent StructureDemo Details Demo Details Glossary IP Media Server Global Call Demo Guide November IP Media Server Global Call Demo Guide November IP Media Server Global Call Demo Guide November Index SymbolsIP Media Server Global Call Demo Guide November