Intel 05-2065-002 manual Running4 Demo, Starting the Demo, Demo Options, Command Line Switches

Page 19

Running4.

the Demo

4

This chapter discusses how to run the IP Media Server (Global Call) demo. It contains the following topics:

Starting the Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Demo Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Using the Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Stopping the Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

4.1Starting the Demo

Select Run from the Start Menu. The demo executable file can be found in: C:\Program Files\Dialogic\Demos\IPDemos\IPMediaServer\Release\IPMediaServer.exe. Click OK to run the IP Media Server (Global Call) demo using the default settings.

4.2Demo Options

To specify certain options at run-time, launch the demo from a command line, using any of the switches listed in Table 1.

Table 1. Command Line Switches

Switch

 

Action

Default

 

 

 

-c<filename>

Configuration file name

-cIPMediaServer.cfg

 

 

 

-e<encoding

Sets the encoding type:

-em

type>

m – muLaw

 

 

a – A-Law

 

 

 

 

-h or ?

Prints the command syntax to the screen

Off

 

 

 

-n<n>

Sets the number of channels

The lesser of Voice

 

 

 

Devices or IP

 

 

 

devices

 

 

 

-q

Activates Quality of Service

Disabled

 

 

 

 

Example

The following example shows how to launch the demo from a command line with options:

IPMediaServer -n64 -cmyconfig.cfg -ea

This command launches the demo with 64 channels, using the myconfig.cfg configuration file and A-Law encoding.

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

19

Image 19
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 Intended Audience How to Use This PublicationAbout This Publication PurposeAbout This Publication Related InformationDemo1 Description Demo Description Hardware Requirements System2 RequirementsSoftware Requirements System Requirements File Location Editing Configuration FilesEditing the IPMediaServer.cfg Configuration File Preparing To Run the DemoSample Configuration File Compiling and Linking Preparing to Run the Demo Demo Options Command Line SwitchesRunning4 Demo Starting the DemoRuntime Keyboard Commands Using the DemoKeyboard Commands Using the Media ServerConfirm Message Saved StopRecMenu Demo Voice Menu Flowchart Stopping the Demo Running the Demo Files Used by the IP Media Server Global Call Demo Demo5 DetailsFiles Used by the Demo Demo Source Code FilesDemo 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 GetXmitSlot Device CIPDevice InitConnect DisconnectModule CVoiceModule Init Voice Module ClassesBoard CVoiceBoard Init Record Device CVoiceDevice InitPlay OnPlayCompleteThreads Initialization Event Mechanism Event HandlingTSUsrEvent Structure Handling Keyboard Input EventsHandling SRL Events Handling Application Exit EventsDemo 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