/* Afelio Master Configuration File * * afelio.plist * * Created by Sunrise Telephone Systems Ltd. * */ // --------------------------------------------------------------------------- // Directories and filenames // --------------------------------------------------------------------------- Directories = { BinDir = "/usr/sbin"; CfgDir = "/etc/afelio"; DBDir = "/var/lib/afelio/db"; ImgDir = "/var/lib/afelio/images"; KeyDir = "/var/lib/afelio/keys"; LogDir = "/var/log/afelio"; ModDir = "/usr/lib/afelio/modules"; MDepDir = "/usr/lib/afelio/mod_deps"; NumDir = "/var/lib/afelio/numberingplans"; AgiDir = "/var/lib/afelio/agi-bin"; RunDir = "/var/run"; SoundsDir = "/var/lib/afelio/sounds"; SpoolDir = "/var/spool/afelio"; VarLibDir = "/var/lib/afelio"; } /* Directories */ ; Filenames = { Database = "afeliodb"; Executable = "afelio"; PIDFile = "afelio.pid"; Socket = "afelio.ctl"; } /* Filenames */ ; // --------------------------------------------------------------------------- // Default launch options // --------------------------------------------------------------------------- Options = { AppendHostToLogFiles = no; AutoLoadModules = yes; AutoLoadNumberingPlans = yes; AutoRotateQueueLog = no; DumpCoreOnCrash = no; ExtendedDebugMode = no; InitCryptoKeysOnLaunch = no; PseudoRealtimeMode = no; RecSoundsAsTempFiles = yes; RunAsUser = afelio; RunAsGroup = afelio; SystemLoadLimit = 0; TimestampedLogging = yes; TimestampFormatString = "%F %T"; } /* Options */ ; // --------------------------------------------------------------------------- // Dialplan location and parameters // --------------------------------------------------------------------------- Dialplan = { Engine = "legacy_dialplan"; // Legacy mode is roughly compatible with the asterisk 1.2 diaplan engine // Asterisk is a trademark of Digium Inc., used here for reference only // if a flat file is used to store the dialplan ... ConfigurationMethod = ini; Filename = "extensions.conf"; // or if a database is used to store the dialplan ... ConfigurationMethod = odbc; DSN = "pgsql://foo:bar@jurassic/configs/dialplan"; // case sense CaseSensitiveApplicationNames = yes; CaseSensitiveVariableNames = yes; } /* Dialplan */ ; // --------------------------------------------------------------------------- // Console logging and logfiles // --------------------------------------------------------------------------- // // Settings previously located in logger.conf Logfiles = { // logging to the console console = { Enabled = yes; LogLevels = (notice, warning, error); }; debug = { Enabled = no; LogLevels = debug; }; // logging to the default log file messages = { Enabled = yes; LogLevels = (notice, warning, error); }; // logging to syslog daemon syslog.local0 = { Enabled = no; LogLevels = (notice, warning, error); }; // example of log file with all log levels verbose = { Enabled = no; LogLevels = (notice, warning, error, debug, verbose); }; } /* Logfiles */ ; // --------------------------------------------------------------------------- // Modules to load // --------------------------------------------------------------------------- // // Settings previously located in modules.conf and extconfig.conf // // The filename of a module is used as key for its entry // LoadOnLaunch determines whether or not to load the module // ConfigurationMethod can be any of: none, plist, ini, odbc, odbx // A DSN parameter must be specified if a database method is used. Modules = { Defaults = { // defaults to be used if omitted ConfigurationMethod = odbc; DSN = "pgsql://foo:bar@jurassic/configs"; // module names will be used as dbtable names }; app_conference.so = { LoadOnLaunch = yes; ConfigurationMethod = none; // no config file }; res_shadowconf.so = { LoadOnLaunch = yes; ConfigurationMethod = plist; // property list format }; res_zeroconf.so = { LoadOnLaunch = yes; ConfigurationMethod = plist; // property list format }; res_sucky_module.so { LoadOnLaunch = no; ConfigurationMethod = ini; // legacy ast ini format }; res_fred_flintstone.so = { LoadOnLaunch = yes; ConfigurationMethod = odbc; // stored in external database DSN = "pgsql://foo:bar@jurassic/configs/res_fred_flintstone"; } /* Modules */ ; // --------------------------------------------------------------------------- // Numbering plans to load // --------------------------------------------------------------------------- NumberingPlans = { au_numplan.plist = { Enabled = yes; Domain = AU; }; jp_numplan.plist = { Enabled = yes; Domain = JP; }; us_numplan.plist = { Enabled = yes; Domain = US; }; } /* NumberingPlans */ ; /* END OF FILE */