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 |