5.4 Initialization
This section describes the demo initialization as shown in Figure 4.
Figure 4. IP Media (IPML) System Initialization
The Resource Manager calls the init( ) function, which does the following:
- Reads the command line options
- Reads and parse the configuration file and prints the configuration
- Gets the resources available in the system:
- Gets the number of IP channels in the system
- Gets the number of PSTN channels in the system
- Finds the minimum between the system channels and the user request
- Initializes the IP Protocol Manager
- Looks for a free Ipmedia device and returns a pointer to it
- Opens the Ipmedia device and if the open succeeds returns a pointer to it
- Looks for a free PSTN device and returns a pointer to it
- Opens the PSTN device and if the open success returns a pointer to it
- Looks for a free IP Protocol (IPP) device and returns a pointer to it
- Opens the IPP device and if the open success returns a pointer to it
- Initializes the devices on the channel
Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation