IP Media Server (Global Call) Demo Guide — August 2005 27
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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
• Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
• Threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
• Initialization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
• Event Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
5.1 Files 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.1 Demo Source Code Files
In Windows, the IP Media Server (Global Call) demo files listed in Table 5 are located within:
$(INTEL_DIALOGIC_DIR)\Demos\IPMediaServer
In Linux, the IP Media Server (Global Call) demo files listed in Table 5 are located within:
$(INTEL_DIALOGIC_DIR)/demos/IPMediaServer
Table 5. Files in IPMediaServer Folder Used by the IP Media Server (Global Call) Demo
Sub-Directory (if any) File Name Purpose
CConfig.cpp Implements the operations of the Configuration
class
CConfig.h Function prototype for config.cpp
CEventRouter.cpp Implements the operations of the EventRouter class
CEventRouter.h Function prototype for ceventrouter.cpp
IPMediaServer.dsp Visual C++ project file
IPMediaServer.dsw Visual C++ project workspace
main.cpp Contains the main function and the WaitForKey
main.h Function prototype for main.cpp
makefile Top-level make file (Linux only)