/* Afelio Master Configuration File * * afelio.plist * * Created by Sunrise Telephone Systems Ltd. * */ // --------------------------------------------------------------------------- // Launch parameters // --------------------------------------------------------------------------- Launch = { // heartbeat interval in milliseconds Heartbeat = 2500; // server process priority ProcessPriority = 0; // server user RunAsUser = "afelio"; // server group RunAsGroup = "afelio"; // server load limit SystemLoadLimit = 0; // whether to write a core file in the event of a crash WriteCoreOnCrash = no; } /* Launch */ ; // --------------------------------------------------------------------------- // Directory paths // --------------------------------------------------------------------------- Directories = { // where to find helper utilities Binaries = "/usr/sbin"; // where to find configuration data Configs = "/etc/afelio"; // where to find daemons to start Daemons = "/usr/libexec"; // where to find databases Databases = "/var/lib/afelio/db"; // where to find log files Logfiles = "/var/log/afelio"; // where to find loadable modules Modules = "/usr/lib/afelio/modules"; // where to find numbering plans NumberingPlans = "/var/lib/afelio/nnp"; // where to create sockets Sockets = "/var/lib/afelio/sockets"; // where to find and create sound files Sounds = "/var/lib/afelio/sounds"; // where to scan for spool files Spoolfiles = "/var/spool/afelio"; } /* Directories */ ; // --------------------------------------------------------------------------- // Log settings // --------------------------------------------------------------------------- ServerLog = { // log mode: file | syslog LogMode = file; // log file name, when log mode is file Filename = "afelio.log"; // log facility, when log mode is syslog // any of: console, local0, local1, local2 ... local7 Facility = local0; // log levels // any combination of: info, notice, warning, error, debug Levels = ( notice, warning, error ); // inlcude hostname in log messages IncludeHostname = no; // include time stamps in log messages IncludeTimestamps = yes; } /* ServerLog */ ; // changes to configuration log settings do NOT take effect // until AFTER the configuration engine has read this file! ConfigLog = { // log mode: file | syslog LogMode = file; // log file name, when log mode is file Filename = "afelio_config_engine.log"; // log facility, when log mode is syslog // any of: console, local0, local1, local2 ... local7 Facility = local0; // log levels // any combination of: info, notice, warning, error, debug Levels = ( info, notice, warning, error ); // inlcude hostname in log messages IncludeHostname = no; // include time stamps in log messages IncludeTimestamps = yes; } /* ConfigLog */ ; // debug logging is activated and deactivated using afelioctl DebugLog = { // log mode: file | syslog LogMode = file; // log file name, when log mode is file Filename = "afelio_debug.log"; // log facility, when log mode is syslog // any of: console, local0, local1, local2 ... local7 Facility = local0; // log levels // any combination of: info, notice, warning, error, debug Levels = ( info, notice, warning, error, debug ); // inlcude hostname in log messages IncludeHostname = no; // include time stamps in log messages IncludeTimestamps = yes; } /* DebugLog */ ; // --------------------------------------------------------------------------- // Dialplan engine and parameters // --------------------------------------------------------------------------- Dialplan = { // Diaplan engine Engine = default; // Diaplan located in the config directory Filename = "dialplan.plist"; } /* Dialplan */ ; NumberingPlans = { // whether to load numbering plans automatically AutoLoad = yes; // National numbering plan for Australia AU = { Enabled = yes; Filename = "au_numplan.plist"; }; // National numbering plan for Japan JP = { Enabled = yes; Filename = "jp_numplan.plist"; }; // National numbering plan for the US US = { Enabled = yes; Filename = "us_numplan.plist"; }; } /* NumberingPlans */ ; // --------------------------------------------------------------------------- // Modules to load // --------------------------------------------------------------------------- Modules = { // whether to load modules automatically AutoLoad = no; // Automatic call distribution module ACD = { LoadOnLaunch = no; Filename = "acd.so"; Configuration = "acd.plist"; }; // Basic IVR module Autoattendant = { LoadOnLaunch = yes; Filename = "autoattendant.so"; Configuration = none; }; // Multi-party voice conference module Conference = { LoadOnLaunch = yes; Filename = "conference.so"; Configuration = "conference.plist"; }; // Cluster communications module ClusterInterconnect = { LoadOnLaunch = no; Filename = "clustering.so"; Configuration = "clustering.plist"; }; // Music on hold module MusicOnHold = { LoadOnLaunch = yes; Filename = "musiconhold.so"; Configuration = "musiconhold.plist"; }; // Inbound call screening module PrivacyManager = { LoadOnLaunch = yes; Filename = "privacymanager.so"; Configuration = "privacymanager.plist"; }; // Scripting engine module ScriptingEngine = { LoadOnLaunch = yes; Filename = "scripting_io.so"; Configuration = "scripting.plist"; }; // Spooler module Spooler = { LoadOnLaunch = no; Filename = "spooler.so"; Configuration = "spooler.plist"; }; // Text-to-Speech module TTS = { LoadOnLaunch = no; Filename = "tts_cepstral.so"; Configuration = "tts.plist"; }; // Voicemail module Voicemail = { LoadOnLaunch = yes; Filename = "voicemail.so"; Configuration = "voicemail.plist"; }; } /* Modules */ ; // --------------------------------------------------------------------------- // Media Servers to start // --------------------------------------------------------------------------- MediaServers = { // Apple modem fxo server AppleUSBModem = { Enabled = no; Daemon = "applemodem_fxo"; Protocols = FXO; }; // LTP server AfelioLTP = { Enabled = yes; Daemon = "afelio_ltp"; Protocols = LTP; }; // ISDN server ISDN = { Enabled = yes; Daemon = "afelio_isdn"; Protocols = ISDN; }; // OPAL server OPAL = { Enabled = yes; Daemon = "afelio_opal"; Protocols = ( H323, SIP, IAX ); }; // Sofia SIP server Sofia = { Enabled = no; Daemon = "afelio_sofia"; Protocols = SIP; }; } /* MediaServers */ ; // --------------------------------------------------------------------------- // Server Control Agents to start // --------------------------------------------------------------------------- ControlAgents = { // CLI agent CLI = { Enabled = yes; Daemon = "afelio_cli"; }; // XML-RPC agent XMLRPC = { Enabled = yes; Daemon = "afelio_xmlrpc"; }; // SOAP agent SOAP = { Enabled = yes; Daemon = "afelio_soap"; }; // AMI agent AstMgr = { Enabled = no; Daemon = "afelio_astmgr"; }; } /* ControlAgents */ ; /* END OF FILE */