Page 3 - Contents
IP Media Server for HMP Demo Guide – July 2005 3 Contents Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 4 - Figures
4 IP Media Server for HMP Demo Guide – July 2005 Contents Figures 1 Demo Voice Menu Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2 IP Media Server Demo Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 5 - Tables
IP Media Server for HMP Demo Guide – July 2005 5 Contents Tables 1 Command Line Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2 Runtime Keyboard Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 7 - Revision History
IP Media Server for HMP Demo Guide — July 2005 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-2389-003 July 2005 Added updated Linux information. 05-2389-002 April 2005 Globall...
Page 9 - About This Publication; Purpose
IP Media Server for HMP Demo Guide — July 2005 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 Information...
Page 10 - How to Use This Publication; Related Information
10 IP Media Server for HMP Demo Guide — July 2005 About This Publication How to Use This Publication Refer to this publication after you have installed the hardware and the system software. This publication assumes that you are familiar with the Windows or Linux operating system and the C++ programm...
Page 11 - Demo Description
IP Media Server for HMP Demo Guide — July 2005 11 1 1. Demo Description This chapter describes the basic features of the IP Media Server for HMP demo. The IP Media Server for HMP demo is an object-oriented host-based application that demonstrates using the Global Call API to build an IP media server...
Page 13 - System Requirements; Hardware Requirements; Memory Requirements
IP Media Server for HMP Demo Guide — July 2005 13 2 2. System Requirements This chapter discusses the system requirements for running the IP Media Server for HMP demo. It contains the following topics: • Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 14 - Software Requirements
14 IP Media Server for HMP Demo Guide — July 2005 System Requirements 2.2 Software Requirements To run the IP Media Server for HMP demo as documented in this guide, you need one of the following software releases: • Intel NetStructure Host Media Processing Software 1.3 for Windows (or later) • Intel...
Page 15 - Preparing to Run the Demo; Editing Configuration Files; Configuration File Location; Windows; Editing the IPMediaServer.cfg Configuration File
IP Media Server for HMP Demo Guide — July 2005 15 3 3. Preparing to Run the Demo This chapter discusses the preparations necessary to run the IP Media Server for HMP demo. It provides information about the following topics: • Editing Configuration Files . . . . . . . . . . . . . . . . . . . . . . . ...
Page 17 - Sample Configuration File
IP Media Server for HMP Demo Guide — July 2005 17 Preparing to Run the Demo Sample Configuration File ################################################################################################# IP Protocol :# The IP Protocol used for opening the IP Line devices, values: H323, SIP, both## DTMFm...
Page 18 - Compiling and Linking; Linux
18 IP Media Server for HMP Demo Guide — July 2005 Preparing to Run the Demo MediaAlarmLostPackets { Threshold = 20 # Threshold value DebounceOn = 10000 # Threshold debounce ON DebounceOff = 10000 # Threshold debounce OFF Interval = 1000 # Threshold Time Interval (ms) PercentSuccess = 60 # Threshold ...
Page 19 - Running the Demo; Starting the Demo; Demo Options
IP Media Server for HMP Demo Guide — July 2005 19 4 4. Running the Demo This chapter discusses how to run the IP Media Server for HMP demo. It contains the following topics: • Starting the Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 20 - Example; Using the Demo; Keyboard Commands
20 IP Media Server for HMP Demo Guide — July 2005 Running the Demo 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 e...
Page 24 - Stopping the Demo
24 IP Media Server for HMP Demo Guide — July 2005 Running the Demo 4.4 Stopping the Demo The IP Media Server demo runs until it is terminated. Press “q” or “Q” to terminate the demo application.
Page 25 - Demo Details; Files Used by the Demo; Demo Source Code Files
IP Media Server for HMP Demo Guide — July 2005 25 5 5. Demo Details This chapter discusses the IP Media Server for HMP demo in more detail. It contains the following topics: • Files Used by the Demo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 •...
Page 28 - PDL Files; Programming Model
28 IP Media Server for HMP Demo Guide — July 2005 Demo Details 5.1.2 PDL Files In Windows, the PDL files listed in Table 5 are located within the directory: $(INTEL_DIALOGIC_DIR)\Demos\Shared\pdl_win In Linux, the PDL files listed in Table 5 are located within the directory: $(INTEL_DIALOGIC_DIR)/de...
Page 31 - Interfaces
IP Media Server for HMP Demo Guide — July 2005 31 Demo Details 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. A module is treated by the EventRouter as a block box. It has thr...
Page 39 - Threads; Initialization; Keyboard
IP Media Server for HMP Demo Guide — July 2005 39 Demo Details 5.3 Threads The IP Media Server for HMP demo operates with two threads, as shown in Figure 4. Figure 4. IP Media Server Demo Threads The threads are created as follows: 1. The first (main) thread is created by the demo application to get...
Page 41 - Event Handling; Event Mechanism
IP Media Server for HMP Demo Guide — July 2005 41 Demo Details 5.5 Event Handling This section describes how the IP Media Server for HMP demo handles events. It contains the following topics: • Event Mechanism • Handling Keyboard Input Events • Handling SRL Events • Handling Application Exit Events ...
Page 42 - TSUsrEvent Structure; Typical Scenario; Call Offered
42 IP Media Server for HMP Demo Guide — July 2005 Demo Details 5.5.5 TSUsrEvent Structure The TSUsrEvent structure is used by the demo modules to return event processing results to the event router. The TSUserEvt structure is defined as follows: typedef struct{ int event; TDeviceType destination; in...
Page 44 - Play Prompts
44 IP Media Server for HMP Demo Guide — July 2005 Demo Details Play Prompts After the call is connected, the Voice module is notified to play prompts and accept DTMF. Figure 7. Typical Scenario: Play Prompts CEventRouter CIPModule CIPDevice CIPState Machine CVoiceModule USR_CONNECTED TDX_PLAY (finis...
Page 45 - Fax Mailbox
IP Media Server for HMP Demo Guide — July 2005 45 Demo Details Fax Mailbox The user selects to send a fax to mailbox “101”. The Fax module is requested to send a fax. Figure 8. Typical Scenario: Fax Mailbox CEventRouter CIPModule CFaxModule USR_SENDFAX "101" CFaxDevice CFaxState Machine USR_...
Page 46 - Establish Fax Session
46 IP Media Server for HMP Demo Guide — July 2005 Demo Details Establish Fax Session The Fax module requests the front end to get ready to send a fax. If the front end is IP, it should first move from an RTP port to a UDP port in order to send a fax. Figure 9. Typical Scenario: Establish Fax Session...
Page 47 - Fax Session Established
IP Media Server for HMP Demo Guide — July 2005 47 Demo Details Fax Session Established The Fax module gets a reply from the front end that the fax session has been established. Figure 10. Typical Scenario: Fax Session Established CEventRouter CIPModule CFaxModule CFaxDevice CFaxState Machine ... sou...
Page 48 - Fax Sent
48 IP Media Server for HMP Demo Guide — July 2005 Demo Details Fax Sent The fax is sent. The front end is requested to close the fax session. Figure 11. Typical Scenario: Fax Sent CEventRouter CIPModule CIPDevice CIPState Machine 1. Call gc_stop( ) to stop T.38 session 2. Call gc_extension ( ) to st...
Page 49 - Fax Session Closed; Fax Complete
IP Media Server for HMP Demo Guide — July 2005 49 Demo Details Fax Session Closed The Fax module gets a reply from the front end that the fax session has been closed. Figure 12. Typical Scenario: Fax Session Closed Fax Complete The Voice module gets a reply from the Fax module that a fax has been se...
Page 51 - Glossary
IP Media Server for HMP Demo Guide — July 2005 51 Glossary Codec: see COder/DECoder COder/DECoder: A circuit used to convert analog voice data to digital and digital voice data to analog audio. Computer Telephony (CT): Adding computer intelligence to the making, receiving, and managing of telephone ...
Page 55 - Index
IP Media Server for HMP Demo Guide — July 2005 55 Index A application classes 31 application exit events 41 C CallbackHdlr( ) 41 CConfig( ) 39 CEventRouter( ) 39 ChannelNumber( ) 31 CheckAndConvertDigits( ) 37 classes 31 application classes 31Fax module classes 37IP module classes 32 CloseFaxFile( )...