Mod console
From FreeSWITCH Wiki
Contents |
In-progress content
Mod_console simply lets the user control the console messages. There are just a few global options in console.conf.xml, which are found in the <settings> section:
<settings>
<param name="colorize" value="true"/>
<param name="loglevel" value="info"/>
</settings>
The colorize parameter can be commented out or set to "false" which will cause all console message to be monochrome.
The loglevel parameter specifies the default log level when starting FreeSWITCH. (See Log Levels below.)
(Michael will return later to discuss the <mappings> section of the console.conf.xml file. In the meantime see the comments in the actual console.conf.xml file for some nice tidbits.)
Hot Keys (defaults)
Note: These can be changed in switch.conf.xml
- F1: 'help'
- F2: 'status'
- F3: 'show channels'
- F4: 'show calls'
- F5: 'sofia status'
- F6: 'reloadxml'
- F7: 'console loglevel 0'
- F8: 'console loglevel 7'
- F9: 'sofia status profile internal'
- F10: 'fsctl pause'
- F11: 'fsctl resume'
- F12: 'version'
General Usage
The console has (customizable) tab completion, as well as aliases, etc. It can be configured to be in colour, or plain.
Most/All of the FSAPI is available at the console, so use it wisely.
Configuration
- See console.conf.xml for some information.
Log Levels
The possible loglevels are:
"CONSOLE" (0), "ALERT" (1), "CRIT" (2), "ERR" (3), "WARNING" (4), "NOTICE" (5), "INFO" (6), "DEBUG", (7+)
