| 1 |
; In order for Asterisk to process the [directories](!) stanza below, |
| 2 |
; you will need to remove the (!) suffix, which marks this as a template. |
| 3 |
; The compiled-in defaults are typically sufficient, so most users will |
| 4 |
; not have to do this. |
| 5 |
[directories](!) |
| 6 |
astcachedir => /var/cache/asterisk |
| 7 |
astetcdir => /etc/asterisk |
| 8 |
astmoddir => /usr/lib/asterisk/modules |
| 9 |
astvarlibdir => /var/lib/asterisk |
| 10 |
astdbdir => /var/lib/asterisk |
| 11 |
astkeydir => /var/lib/asterisk |
| 12 |
astdatadir => /var/lib/asterisk |
| 13 |
astagidir => /var/lib/asterisk/agi-bin |
| 14 |
astspooldir => /var/spool/asterisk |
| 15 |
astrundir => /var/run/asterisk |
| 16 |
astlogdir => /var/log/asterisk |
| 17 |
astsbindir => /usr/sbin |
| 18 |
|
| 19 |
[options] |
| 20 |
;verbose = 3 |
| 21 |
;debug = 3 |
| 22 |
;trace = 0 ; Set the trace level. |
| 23 |
;refdebug = yes ; Enable reference count debug logging. |
| 24 |
;alwaysfork = yes ; Same as -F at startup. |
| 25 |
;nofork = yes ; Same as -f at startup. |
| 26 |
;quiet = yes ; Same as -q at startup. |
| 27 |
;timestamp = yes ; Same as -T at startup. |
| 28 |
;execincludes = yes ; Support #exec in config files. |
| 29 |
;console = yes ; Run as console (same as -c at startup). |
| 30 |
;highpriority = yes ; Run realtime priority (same as -p at |
| 31 |
; startup). |
| 32 |
;initcrypto = yes ; Initialize crypto keys (same as -i at |
| 33 |
; startup). |
| 34 |
;nocolor = yes ; Disable console colors. |
| 35 |
;dontwarn = yes ; Disable some warnings. |
| 36 |
;dumpcore = yes ; Dump core on crash (same as -g at startup). |
| 37 |
;languageprefix = yes ; Use the new sound prefix path syntax. |
| 38 |
;systemname = my_system_name ; Prefix uniqueid with a system name for |
| 39 |
; Global uniqueness issues. |
| 40 |
;autosystemname = yes ; Automatically set systemname to hostname, |
| 41 |
; uses 'localhost' on failure, or systemname if |
| 42 |
; set. |
| 43 |
;mindtmfduration = 80 ; Set minimum DTMF duration in ms (default 80 ms) |
| 44 |
; If we get shorter DTMF messages, these will be |
| 45 |
; changed to the minimum duration |
| 46 |
;maxcalls = 10 ; Maximum amount of calls allowed. |
| 47 |
;maxload = 0.9 ; Asterisk stops accepting new calls if the |
| 48 |
; load average exceed this limit. |
| 49 |
;maxfiles = 1000 ; Maximum amount of openfiles. |
| 50 |
;minmemfree = 1 ; In MBs, Asterisk stops accepting new calls if |
| 51 |
; the amount of free memory falls below this |
| 52 |
; watermark. |
| 53 |
;cache_media_frames = yes ; Cache media frames for performance |
| 54 |
; Disable this option to help track down media frame |
| 55 |
; mismanagement when using valgrind or MALLOC_DEBUG. |
| 56 |
; The cache gets in the way of determining if the |
| 57 |
; frame is used after being freed and who freed it. |
| 58 |
; NOTE: This option has no effect when Asterisk is |
| 59 |
; compiled with the LOW_MEMORY compile time option |
| 60 |
; enabled because the cache code does not exist. |
| 61 |
; Default yes |
| 62 |
;cache_record_files = yes ; Cache recorded sound files to another |
| 63 |
; directory during recording. |
| 64 |
;record_cache_dir = /tmp ; Specify cache directory (used in conjunction |
| 65 |
; with cache_record_files). |
| 66 |
;transmit_silence = yes ; Transmit silence while a channel is in a |
| 67 |
; waiting state, a recording only state, or |
| 68 |
; when DTMF is being generated. Note that the |
| 69 |
; silence internally is generated in raw signed |
| 70 |
; linear format. This means that it must be |
| 71 |
; transcoded into the native format of the |
| 72 |
; channel before it can be sent to the device. |
| 73 |
; It is for this reason that this is optional, |
| 74 |
; as it may result in requiring a temporary |
| 75 |
; codec translation path for a channel that may |
| 76 |
; not otherwise require one. |
| 77 |
;transcode_via_sln = yes ; Build transcode paths via SLINEAR, instead of |
| 78 |
; directly. |
| 79 |
;runuser = asterisk ; The user to run as. |
| 80 |
;rungroup = asterisk ; The group to run as. |
| 81 |
;lightbackground = yes ; If your terminal is set for a light-colored |
| 82 |
; background. |
| 83 |
;forceblackbackground = yes ; Force the background of the terminal to be |
| 84 |
; black, in order for terminal colors to show |
| 85 |
; up properly. |
| 86 |
;defaultlanguage = en ; Default language |
| 87 |
documentation_language = en_US ; Set the language you want documentation |
| 88 |
; displayed in. Value is in the same format as |
| 89 |
; locale names. |
| 90 |
;hideconnect = yes ; Hide messages displayed when a remote console |
| 91 |
; connects and disconnects. |
| 92 |
;lockconfdir = no ; Protect the directory containing the |
| 93 |
; configuration files (/etc/asterisk) with a |
| 94 |
; lock. |
| 95 |
;stdexten = gosub ; How to invoke the extensions.conf stdexten. |
| 96 |
; gosub - Invoke the stdexten using a gosub as |
| 97 |
; documented in extensions.conf.sample. |
| 98 |
; Default gosub. |
| 99 |
;live_dangerously = no ; Enable the execution of 'dangerous' dialplan |
| 100 |
; functions and configuration file access from |
| 101 |
; external sources (AMI, etc.) These functions |
| 102 |
; (such as SHELL) are considered dangerous |
| 103 |
; because they can allow privilege escalation. |
| 104 |
; Configuration files are considered dangerous |
| 105 |
; if they exist outside of the Asterisk |
| 106 |
; configuration directory. |
| 107 |
; Default no |
| 108 |
;entityid=00:11:22:33:44:55 ; Entity ID. |
| 109 |
; This is in the form of a MAC address. |
| 110 |
; It should be universally unique. |
| 111 |
; It must be unique between servers communicating |
| 112 |
; with a protocol that uses this value. |
| 113 |
; This is currently is used by DUNDi and |
| 114 |
; Exchanging Device and Mailbox State |
| 115 |
; using protocols: XMPP, Corosync and PJSIP. |
| 116 |
;rtp_use_dynamic = yes ; When set to "yes" RTP dynamic payload types |
| 117 |
; are assigned dynamically per RTP instance vs. |
| 118 |
; allowing Asterisk to globally initialize them |
| 119 |
; to pre-designated numbers (defaults to "yes"). |
| 120 |
;rtp_pt_dynamic = 35 ; Normally the Dynamic RTP Payload Type numbers |
| 121 |
; are 96-127, which allow just 32 formats. The |
| 122 |
; starting point 35 enables the range 35-63 and |
| 123 |
; allows 29 additional formats. When you use |
| 124 |
; more than 32 formats in the dynamic range and |
| 125 |
; calls are not accepted by a remote |
| 126 |
; implementation, please report this and go |
| 127 |
; back to value 96. |
| 128 |
;hide_messaging_ami_events = no; This option, if enabled, will |
| 129 |
; suppress all of the Message/ast_msg_queue channel's |
| 130 |
; housekeeping AMI and ARI channel events. This can |
| 131 |
; reduce the load on the manager and ARI applications |
| 132 |
; when the Digium Phone Module for Asterisk is in use. |
| 133 |
;sounds_search_custom_dir = no; This option, if enabled, will |
| 134 |
; cause Asterisk to search for sounds files in |
| 135 |
; AST_DATA_DIR/sounds/custom before searching the |
| 136 |
; normal directories like AST_DATA_DIR/sounds/<lang>. |
| 137 |
;channel_storage_backend = ao2_legacy ; Select the channel storage backend |
| 138 |
; to use for live operation. |
| 139 |
; ao2_legacy: Original implementation (default) |
| 140 |
; Depending on compile options, the following may also be |
| 141 |
; available: |
| 142 |
; cpp_map_name_id: Use C++ Maps to index both |
| 143 |
; channel name and channel uniqueid. |
| 144 |
; See http://s.asterisk.net/dc679ec3 for more information. |
| 145 |
;disable_remote_console_shell = no; Prevent remote console CLI sessions |
| 146 |
; from executing shell commands with the '!' prefix. |
| 147 |
; Default: no |
| 148 |
|
| 149 |
; Changing the following lines may compromise your security. |
| 150 |
;[files] |
| 151 |
;astctlpermissions = 0660 |
| 152 |
;astctlowner = root |
| 153 |
;astctlgroup = apache |
| 154 |
;astctl = asterisk.ctl |