| 
									
										
										
										
											2010-05-05 20:48:15 +00:00
										 |  |  | [directories](!) | 
					
						
							| 
									
										
										
										
											2020-10-29 12:25:27 +01:00
										 |  |  | astcachedir => /var/cache/asterisk | 
					
						
							| 
									
										
										
										
											2010-05-05 20:48:15 +00:00
										 |  |  | astetcdir => /etc/asterisk | 
					
						
							|  |  |  | astmoddir => /usr/lib/asterisk/modules | 
					
						
							|  |  |  | astvarlibdir => /var/lib/asterisk | 
					
						
							|  |  |  | astdbdir => /var/lib/asterisk | 
					
						
							|  |  |  | astkeydir => /var/lib/asterisk | 
					
						
							|  |  |  | astdatadir => /var/lib/asterisk | 
					
						
							|  |  |  | astagidir => /var/lib/asterisk/agi-bin | 
					
						
							|  |  |  | astspooldir => /var/spool/asterisk | 
					
						
							|  |  |  | astrundir => /var/run/asterisk | 
					
						
							|  |  |  | astlogdir => /var/log/asterisk | 
					
						
							| 
									
										
										
										
											2011-12-07 20:15:29 +00:00
										 |  |  | astsbindir => /usr/sbin | 
					
						
							| 
									
										
										
										
											2010-05-05 00:22:32 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | [options] | 
					
						
							|  |  |  | ;verbose = 3 | 
					
						
							|  |  |  | ;debug = 3 | 
					
						
							| 
									
										
										
										
											2020-05-14 12:24:19 -06:00
										 |  |  | ;trace = 0              ; Set the trace level. | 
					
						
							| 
									
										
										
										
											2015-04-17 03:16:59 -04:00
										 |  |  | ;refdebug = yes			; Enable reference count debug logging. | 
					
						
							| 
									
										
										
										
											2010-05-05 00:22:32 +00:00
										 |  |  | ;alwaysfork = yes		; Same as -F at startup. | 
					
						
							|  |  |  | ;nofork = yes			; Same as -f at startup. | 
					
						
							|  |  |  | ;quiet = yes			; Same as -q at startup. | 
					
						
							|  |  |  | ;timestamp = yes		; Same as -T at startup. | 
					
						
							|  |  |  | ;execincludes = yes		; Support #exec in config files. | 
					
						
							|  |  |  | ;console = yes			; Run as console (same as -c at startup). | 
					
						
							|  |  |  | ;highpriority = yes		; Run realtime priority (same as -p at | 
					
						
							|  |  |  | 				; startup). | 
					
						
							|  |  |  | ;initcrypto = yes		; Initialize crypto keys (same as -i at | 
					
						
							|  |  |  | 				; startup). | 
					
						
							|  |  |  | ;nocolor = yes			; Disable console colors. | 
					
						
							|  |  |  | ;dontwarn = yes			; Disable some warnings. | 
					
						
							|  |  |  | ;dumpcore = yes			; Dump core on crash (same as -g at startup). | 
					
						
							|  |  |  | ;languageprefix = yes		; Use the new sound prefix path syntax. | 
					
						
							|  |  |  | ;systemname = my_system_name	; Prefix uniqueid with a system name for | 
					
						
							|  |  |  | 				; Global uniqueness issues. | 
					
						
							|  |  |  | ;autosystemname = yes		; Automatically set systemname to hostname, | 
					
						
							|  |  |  | 				; uses 'localhost' on failure, or systemname if | 
					
						
							|  |  |  | 				; set. | 
					
						
							| 
									
										
										
										
											2012-04-25 09:32:21 +00:00
										 |  |  | ;mindtmfduration = 80		; Set minimum DTMF duration in ms (default 80 ms) | 
					
						
							|  |  |  | 				; If we get shorter DTMF messages, these will be | 
					
						
							|  |  |  | 				; changed to the minimum duration | 
					
						
							| 
									
										
										
										
											2010-05-05 00:22:32 +00:00
										 |  |  | ;maxcalls = 10			; Maximum amount of calls allowed. | 
					
						
							|  |  |  | ;maxload = 0.9			; Asterisk stops accepting new calls if the | 
					
						
							|  |  |  | 				; load average exceed this limit. | 
					
						
							|  |  |  | ;maxfiles = 1000		; Maximum amount of openfiles. | 
					
						
							|  |  |  | ;minmemfree = 1			; In MBs, Asterisk stops accepting new calls if | 
					
						
							|  |  |  | 				; the amount of free memory falls below this | 
					
						
							|  |  |  | 				; watermark. | 
					
						
							| 
									
										
										
										
											2017-11-11 13:01:47 -06:00
										 |  |  | ;cache_media_frames = yes	; Cache media frames for performance | 
					
						
							|  |  |  | 				; Disable this option to help track down media frame | 
					
						
							|  |  |  | 				; mismanagement when using valgrind or MALLOC_DEBUG. | 
					
						
							|  |  |  | 				; The cache gets in the way of determining if the | 
					
						
							|  |  |  | 				; frame is used after being freed and who freed it. | 
					
						
							|  |  |  | 				; NOTE: This option has no effect when Asterisk is | 
					
						
							|  |  |  | 				; compiled with the LOW_MEMORY compile time option | 
					
						
							|  |  |  | 				; enabled because the cache code does not exist. | 
					
						
							|  |  |  | 				; Default yes | 
					
						
							| 
									
										
										
										
											2010-05-05 00:22:32 +00:00
										 |  |  | ;cache_record_files = yes	; Cache recorded sound files to another | 
					
						
							|  |  |  | 				; directory during recording. | 
					
						
							|  |  |  | ;record_cache_dir = /tmp	; Specify cache directory (used in conjunction | 
					
						
							|  |  |  | 				; with cache_record_files). | 
					
						
							|  |  |  | ;transmit_silence = yes		; Transmit silence while a channel is in a | 
					
						
							|  |  |  | 				; waiting state, a recording only state, or | 
					
						
							|  |  |  | 				; when DTMF is being generated.  Note that the | 
					
						
							|  |  |  | 				; silence internally is generated in raw signed | 
					
						
							|  |  |  | 				; linear format. This means that it must be | 
					
						
							|  |  |  | 				; transcoded into the native format of the | 
					
						
							|  |  |  | 				; channel before it can be sent to the device. | 
					
						
							|  |  |  | 				; It is for this reason that this is optional, | 
					
						
							|  |  |  | 				; as it may result in requiring a temporary | 
					
						
							|  |  |  | 				; codec translation path for a channel that may | 
					
						
							|  |  |  | 				; not otherwise require one. | 
					
						
							|  |  |  | ;transcode_via_sln = yes	; Build transcode paths via SLINEAR, instead of | 
					
						
							|  |  |  | 				; directly. | 
					
						
							|  |  |  | ;runuser = asterisk		; The user to run as. | 
					
						
							|  |  |  | ;rungroup = asterisk		; The group to run as. | 
					
						
							|  |  |  | ;lightbackground = yes		; If your terminal is set for a light-colored | 
					
						
							|  |  |  | 				; background. | 
					
						
							| 
									
										
										
										
											2017-12-22 09:23:22 -05:00
										 |  |  | ;forceblackbackground = yes     ; Force the background of the terminal to be | 
					
						
							| 
									
										
										
										
											2011-08-09 15:53:26 +00:00
										 |  |  |                                 ; black, in order for terminal colors to show | 
					
						
							|  |  |  |                                 ; up properly. | 
					
						
							|  |  |  | ;defaultlanguage = en           ; Default language | 
					
						
							| 
									
										
										
										
											2010-05-05 00:22:32 +00:00
										 |  |  | documentation_language = en_US	; Set the language you want documentation | 
					
						
							|  |  |  | 				; displayed in. Value is in the same format as | 
					
						
							|  |  |  | 				; locale names. | 
					
						
							|  |  |  | ;hideconnect = yes		; Hide messages displayed when a remote console | 
					
						
							|  |  |  | 				; connects and disconnects. | 
					
						
							|  |  |  | ;lockconfdir = no		; Protect the directory containing the | 
					
						
							|  |  |  | 				; configuration files (/etc/asterisk) with a | 
					
						
							|  |  |  | 				; lock. | 
					
						
							| 
									
										
										
										
											2012-04-12 16:29:52 +00:00
										 |  |  | ;stdexten = gosub		; How to invoke the extensions.conf stdexten. | 
					
						
							|  |  |  | 				; gosub - Invoke the stdexten using a gosub as | 
					
						
							|  |  |  | 				;         documented in extensions.conf.sample. | 
					
						
							|  |  |  | 				; Default gosub. | 
					
						
							| 
									
										
										
										
											2013-12-16 19:11:51 +00:00
										 |  |  | ;live_dangerously = no		; Enable the execution of 'dangerous' dialplan | 
					
						
							| 
									
										
										
										
											2022-10-03 12:54:40 -06:00
										 |  |  | 				; functions and configuration file access from | 
					
						
							|  |  |  | 				; external sources (AMI, etc.) These functions | 
					
						
							|  |  |  | 				; (such as SHELL) are considered dangerous | 
					
						
							|  |  |  | 				; because they can allow privilege escalation. | 
					
						
							|  |  |  | 				; Configuration files are considered dangerous | 
					
						
							|  |  |  | 				; if they exist outside of the Asterisk | 
					
						
							|  |  |  | 				; configuration directory. | 
					
						
							| 
									
										
										
										
											2013-12-17 14:41:59 +00:00
										 |  |  | 				; Default no | 
					
						
							| 
									
										
										
										
											2016-08-10 15:41:38 -04:00
										 |  |  | ;entityid=00:11:22:33:44:55	; Entity ID. | 
					
						
							|  |  |  | 				; This is in the form of a MAC address. | 
					
						
							|  |  |  | 				; It should be universally unique. | 
					
						
							|  |  |  | 				; It must be unique between servers communicating | 
					
						
							|  |  |  | 				; with a protocol that uses this value. | 
					
						
							|  |  |  | 				; This is currently is used by DUNDi and | 
					
						
							|  |  |  | 				; Exchanging Device and Mailbox State | 
					
						
							|  |  |  | 				; using protocols: XMPP, Corosync and PJSIP. | 
					
						
							| 
									
										
										
										
											2017-03-20 13:27:31 -05:00
										 |  |  | ;rtp_use_dynamic = yes          ; When set to "yes" RTP dynamic payload types | 
					
						
							|  |  |  |                                 ; are assigned dynamically per RTP instance vs. | 
					
						
							|  |  |  |                                 ; allowing Asterisk to globally initialize them | 
					
						
							|  |  |  |                                 ; to pre-designated numbers (defaults to "yes"). | 
					
						
							| 
									
										
										
										
											2016-09-13 11:08:34 +02:00
										 |  |  | ;rtp_pt_dynamic = 35		; Normally the Dynamic RTP Payload Type numbers | 
					
						
							|  |  |  | 				; are 96-127, which allow just 32 formats. The | 
					
						
							|  |  |  | 				; starting point 35 enables the range 35-63 and | 
					
						
							|  |  |  | 				; allows 29 additional formats. When you use | 
					
						
							|  |  |  | 				; more than 32 formats in the dynamic range and | 
					
						
							|  |  |  | 				; calls are not accepted by a remote | 
					
						
							|  |  |  | 				; implementation, please report this and go | 
					
						
							|  |  |  | 				; back to value 96. | 
					
						
							| 
									
										
										
										
											2020-02-03 09:24:58 -07:00
										 |  |  | ;hide_messaging_ami_events = no;  This option, if enabled, will | 
					
						
							|  |  |  |                 ; suppress all of the Message/ast_msg_queue channel's | 
					
						
							|  |  |  |                 ; housekeeping AMI and ARI channel events.  This can | 
					
						
							|  |  |  |                 ; reduce the load on the manager and ARI applications | 
					
						
							|  |  |  |                 ; when the Digium Phone Module for Asterisk is in use. | 
					
						
							| 
									
										
										
										
											2023-09-11 08:27:41 -06:00
										 |  |  | ;sounds_search_custom_dir = no;  This option, if enabled, will | 
					
						
							|  |  |  |                 ; cause Asterisk to search for sounds files in | 
					
						
							|  |  |  |                 ; AST_DATA_DIR/sounds/custom before searching the | 
					
						
							|  |  |  |                 ; normal directories like AST_DATA_DIR/sounds/<lang>. | 
					
						
							| 
									
										
										
										
											2010-05-05 00:22:32 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; Changing the following lines may compromise your security. | 
					
						
							|  |  |  | ;[files] | 
					
						
							|  |  |  | ;astctlpermissions = 0660 | 
					
						
							|  |  |  | ;astctlowner = root | 
					
						
							|  |  |  | ;astctlgroup = apache | 
					
						
							|  |  |  | ;astctl = asterisk.ctl |