4.2 Demo Options
To specify
certain options at run-time, launch the demo from a command line, using any
of the switches listed in Table 1.
Table 1.
Command Line Switches
|
|
|
|
|
-c <filename>
|
Configuration file name
|
-c gateway_r4.cfg
|
|
-d<n>
|
Sets Debug Level (0-4):
- 0-FATAL
- used when one or more channels are deadlocked.
- 1-ERROR
- used when the application receives a failure which doesn't cause the channel to be deadlocked.
- 2-WARNING
- used when some problem or failure occurred without affecting the channel's usual action.
- 3-TRACE
- used at the start of the application entrance or the start of any function.
- 4-INFO
- prints data related to a specific action.
Note: Debug level is inclusive; higher levels include all lower levels |
-d0 (Fatal)
|
|
-h or ?
|
Prints the command syntax to the screen
|
Off
|
|
-l<n,...>
|
Printouts will be printed into channel log files.
If 'all' follows the -l, log files will be created for all available channels.
If a list of channels in the following format: C1-C2, C3-C4, C5 follows the -l, log files are created for the channel ranges or specific channels specified in the list.
If the "-l" option is not used, prints go to the stdout, for the first 2 channels only (to keep from overloading the CPU, and more convenient for viewing printouts).
|
Disabled
|
|
-m<n,...>
|
Enables printing channel information to the monitor, in addition to printing to the log file. A maximum of 2 channels may be printed.
|
Disabled
|
|
-n<n>
|
Sets the number of gateway channels
|
The lesser of Voice Devices or IP devices
|
|
-q
|
Activates Quality of Service
|
Disabled
|