The FreeSWITCH core configuration is contained in autoload_configs/switch.conf.xml

Default key bindings

Function keys can be mapped to API commands using the following configuration:The default keybindings are;F1 = helpF2 = statusF3 = show channelsF4 = show callsF5 = sofia statusF6 = reloadxmlF7 = console loglevel 0F8 = console loglevel 7F9 = sofia status profile internalF10 = sofia profile internal siptrace onF11 = sofia profile internal siptrace offF12 = versionBeware that the option loglevel is actually setting the minimum hard_log_Level in the application. What this means is if you set this to something other than DEBUG no matter what log level you set the console to one you start up you will not be able to get any log messages below the level you set. Also be careful of mis-typing a log level, if the log level is not correct it will default to a hard_log_level of 0. This means that virtually no log messages will show up anywhere.

Core parameters

core-db-dsn

Allows to use ODBC database instead of sqlite3 for freeswitch core.Syntaxdsn:user:pass

max-db-handlesMaximum number of simultaneous DB handles open

db-handle-timeout

Maximum number of seconds to wait for a new DB handle before failing

disable-monotonic-timing

(bool) disables monotonic timer/clock support if it is broken on your system.

enable-use-system-time

Enables FreeSWITCH to use system time.

initial-event-threads

Number of event dispatch threads to allocate in the core. Default is 1.If you see the WARNING “Create additional event dispatch thread” on a heavily loaded server, you could increase the number of threads to prevent the system from falling behind.

loglevel

amount of detail to show in log

max-sessions

limits the total number of concurrent channels on your FreeSWITCH™ system.

sessions-per-second

throttling mechanism, the switch will only create this many channels at most, per second.

rtp-start-port

RTP port range begin

rtp-end-port

RTP port range end

Variables

Variables are default channel variables set on each channel automatically. 

Example config