Page tree
Skip to end of metadata
Go to start of metadata

About

Here we provide a list of Global Variables that the FreeSWITCH core pre-defines and assigns a default value. You can override it in your configuration or from the API. The default for some of these are calculated dynamically.

 

 Click here to expand Table of Contents

Networking & SIP Related

hostname

string This global variable is set dynamically by the FreeSWITCH core and is set to the host name of the server on which FreeSWITCH is running. You cannot override the value of this variable by setting it. However if you change the host name of the server the value of the variable will be updated.

local_ip_v4

string

local_ip_v6

string

local_mask_v4

string

zrtp_enabled

string

nat_public_addr

string

nat_private_addr

string

nat_type

string

Directories

These variables are used to set the default directory used by FreeSWITCH for certain files.


base_dir

string

cache_dir

string

certs_dir

string

conf_dir

string

db_dir

string

grammar_dir

string

htdocs_dir

string

log_dir

string

mod_dir

string

recordings_dir

string

run_dir

string

script_dir

string

sounds_dir

string

 

sound_prefix

string Directory prefix where the sounds lives.

storage_dir

string

 

 

temp_dir

string

Others

core_uuid

string

switch_serial

string

 

 

 

 

  • No labels