Intel 05-2065-002 manual Compiling and Linking

Page 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 isn't needed, default= 30ms.

#

If capability is gsm

==> FramesPerPkt = 1, 2, 3 .

#

 

FrameSize isn't needed, default= 20ms.

#

If capability is gsmEFR

==> FramesPerPkt = 1, 2, 3 .

#

 

FrameSize isn't needed, default= 20ms.

#

If capability is g729a

==> FramesPerPkt = 3, 4 .

#

 

FrameSize isn't needed, default= 10ms.

#

 

VAD disable, the VAD parameter is ignored

#

If capability is g729ab

==>FramesPerPkt = 3, 4 .

#

 

FrameSize isn't needed, default= 10ms.

#

 

VAD enable, the VAD parameter is ignored

#

 

 

################################################################################################

ipProtocolName = H323

 

 

 

DTMFmode = inBand

 

 

 

Channel = 1-120

 

 

 

{

 

 

 

Capability

 

 

 

{

 

 

 

TxType = g711Mulaw

 

 

TxFramesPerPkt =

30

 

 

TxVAD = 0

 

 

 

RxType = g711Mulaw

 

 

RxFramesPerPkt =

30

 

 

RxVAD = 0

 

 

 

}

 

 

 

MediaAlarmLostPackets

 

 

{

 

 

 

Threshold

= 20

# Threshold value

DebounceOn

= 10000 # Threshold debounce ON

DebounceOff

= 10000 # Threshold debounce OFF

Interval

= 1000

# Threshold Time Interval (ms)

PercentSuccess

= 60

# Threshold Success Percent

PercentFail

= 40

# Threshold Fail Percent

}

 

 

 

MediaAlarmJitter

 

 

 

{

 

 

 

Threshold

= 60

# Threshold value

DebounceOn

= 20000 # Threshold debounce ON

DebounceOff

= 60000 # Threshold debounce OFF

Interval

= 5000

# Threshold Time Interval (ms)

PercentSuccess

= 60

# Threshold Success Percent

PercentFail

= 40

# Threshold Fail Percent

}

 

 

 

# MediaAlarmResetAlarmState = 0

}

3.2Compiling and Linking

Compile the project within the following environments:

Microsoft Visual Studio® 6.0 with Service Pack 5

If you have added or changed files, to compile the project put the files in C:\Program

Files\Dialogic\Demos\IPDemos\IPMediaServer.

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

17

Image 17
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 Software Requirements System2 RequirementsHardware 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 CIPMBoard Init Board CIPTBoard InitGetNumOfDevicesOnBoard Connect Device CIPDevice InitDisconnect GetXmitSlotBoard CVoiceBoard Init Voice Module ClassesModule CVoiceModule 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