1.1 --- a/asterisk/asterisk.txt Sat Mar 24 21:00:00 2012 +0100 1.2 +++ b/asterisk/asterisk.txt Sat Mar 24 21:40:49 2012 +0100 1.3 @@ -38,6 +38,28 @@ 1.4 ;dontwarn = no 1.5 1.6 </file> 1.7 +<file name="amd.conf"> 1.8 +;; 1.9 +;; amd.conf -- Answering Machine Detection configuration 1.10 +;; 1.11 + 1.12 +[general] 1.13 +initial_silence = 2500 ; Maximum silence duration before the greeting. 1.14 + ; If exceeded then MACHINE. 1.15 +greeting = 1500 ; Maximum length of a greeting. 1.16 + ;If exceeded then MACHINE. 1.17 +after_greeting_silence = 800 ; Silence after detecting a greeting. 1.18 + ; If exceeded then HUMAN. 1.19 +total_analysis_time = 5000 ; Maximum time allowed for the algorithm to 1.20 + ; decide on a HUMAN or MACHINE. 1.21 +min_word_length = 100 ; Minimum duration of Voice to considered a word. 1.22 +between_words_silence = 50 ; Minimum duration of silence after a word to 1.23 + ; consider the audio what follows as a new word. 1.24 +maximum_number_of_words = 3 ; Maximum number of words in the greeting. 1.25 + ; If exceeded then MACHINE. 1.26 +silence_threshold = 256 1.27 + 1.28 +</file> 1.29 <file name="modules.conf"> 1.30 ;; 1.31 ;; modules.conf -- Asterisk functionality module configuration 1.32 @@ -45,11 +67,6 @@ 1.33 1.34 [modules] 1.35 autoload = yes 1.36 -noload = chan_iax2.so 1.37 -noload = chan_mgcp.so 1.38 -noload = chan_skinny.so 1.39 -noload = chan_gtalk.so 1.40 -noload = chan_ooh323.so 1.41 1.42 [global] 1.43 1.44 @@ -106,7 +123,7 @@ 1.45 </file> 1.46 <file name="http.conf"> 1.47 ;; 1.48 -;; http.conf -- Asterisk HTTP Server Interface 1.49 +;; http.conf -- Asterisk HTTP server interface 1.50 ;; 1.51 1.52 [general] 1.53 @@ -255,6 +272,77 @@ 1.54 ; ; default 1.55 1.56 </file> 1.57 +<file name="iaxprov.conf"> 1.58 +;; 1.59 +;; iaxprov.conf -- IAX2 provisioning information 1.60 +;; 1.61 + 1.62 +; Contains provisioning information for templates and for specific service 1.63 +; entries. 1.64 +; 1.65 +; Templates provide a group of settings from which provisioning takes place. 1.66 +; A template may be based upon any template that has been specified before 1.67 +; it. If the template that an entry is based on is not specified then it is 1.68 +; presumed to be 'default' (unless it is the first of course). 1.69 +; 1.70 +; Templates which begin with 'si-' are used for provisioning units with 1.71 +; specific service identifiers. For example the entry "si-000364000126" 1.72 +; would be used when the device with the corresponding service identifier of 1.73 +; "000364000126" attempts to register or make a call. 1.74 +; 1.75 +[default] 1.76 +port=4569 ; the port number the device should bind to (default 4569) 1.77 +server=127.0.0.1 ; our PRIMARY server for registration and placing calls 1.78 + 1.79 +; altserver is the BACKUP server for registration and placing calls in the 1.80 +; event the primary server is unavailable. 1.81 +; 1.82 +altserver=127.0.0.2 1.83 + 1.84 +; port is the port number to use for IAX2 outbound. The connections to the 1.85 +; server and altserver (default 4569) 1.86 +; 1.87 +serverport=4569 1.88 +language=es ; the preferred language for the device 1.89 +codec=ulaw ; requested codec, the iaxy supports ulaw and adpcm 1.90 + 1.91 +; flags is a comma separated list of flags which the device should 1.92 +; use and may contain any of the following keywords: 1.93 +; 1.94 +; "register" - Register with server 1.95 +; "secure" - Do not accept calls / provisioning not originated by server 1.96 +; "heartbeat" - Generate status packets on port 9999 sent to 255.255.255.255 1.97 +; "debug" - Output extra debugging to port 9999 1.98 +; 1.99 +; Note that use can use += and -= to adjust parameters 1.100 +; 1.101 +flags=register 1.102 + 1.103 +tos=ef ; see doc/ip-tos.txt 1.104 + 1.105 +; Example iaxy provisioning 1.106 +; 1.107 +;[si-000364000126] 1.108 +;user=iaxy 1.109 +;pass=bitsy 1.110 +;flags += debug 1.111 + 1.112 +;[si-000364000127] 1.113 +;user=iaxy2 1.114 +;pass=bitsy2 1.115 +;template=si-000364000126 1.116 +;flags += debug 1.117 + 1.118 + 1.119 +; If specified, the '*' provisioning is used for all devices which do not 1.120 +; have another provisioning entry within the file. If unspecified, no 1.121 +; provisioning will take place for devices which have no entry. DO NOT 1.122 +; USE A '*' PROVISIONING ENTRY UNLESS YOU KNOW WHAT YOU'RE DOING. 1.123 +; 1.124 +;[*] 1.125 + 1.126 +;template=default 1.127 +</file> 1.128 <file name="rtp.conf"> 1.129 ;; 1.130 ;; rtp.conf -- Asterisk RTP configuration 1.131 @@ -317,6 +405,93 @@ 1.132 Event=>check-sync 1.133 1.134 </file> 1.135 +<file name="extconfig.conf"> 1.136 +;; 1.137 +;; extconfig.conf -- Static and realtime external configuration engine 1.138 +;; 1.139 + 1.140 +[settings] 1.141 +; 1.142 +; Static configuration files: 1.143 +; 1.144 +; file.conf => driver,database[,table[,priority]] 1.145 +; 1.146 +; maps a particular configuration file to the given 1.147 +; database driver, database and table (or uses the 1.148 +; name of the file as the table if not specified) 1.149 +; 1.150 +;uncomment to load queues.conf via the odbc engine. 1.151 +; 1.152 +;queues.conf => odbc,asterisk,ast_config 1.153 +;extensions.conf => sqlite,asterisk,ast_config 1.154 +; 1.155 +; The following files CANNOT be loaded from Realtime storage: 1.156 +; asterisk.conf 1.157 +; extconfig.conf (this file) 1.158 +; logger.conf 1.159 +; 1.160 +; Additionally, the following files cannot be loaded from 1.161 +; Realtime storage unless the storage driver is loaded 1.162 +; early using 'preload' statements in modules.conf: 1.163 +; manager.conf 1.164 +; cdr.conf 1.165 +; rtp.conf 1.166 +; 1.167 +; 1.168 +; Realtime configuration engine 1.169 +; 1.170 +; maps a particular family of realtime 1.171 +; configuration to a given database driver, 1.172 +; database and table (or uses the name of 1.173 +; the family if the table is not specified 1.174 +; 1.175 +;example => odbc,asterisk,alttable,1 1.176 +;example => mysql,asterisk,alttable,2 1.177 +;example2 => ldap,"dc=oxymium,dc=net",example2 1.178 +; 1.179 +; Additionally, priorities are now supported for use as failover methods 1.180 +; for retrieving realtime data. If one connection fails to retrieve any 1.181 +; information, the next sequential priority will be tried next. This 1.182 +; especially works well with ODBC connections, since res_odbc now caches 1.183 +; when connection failures occur and prevents immediately retrying those 1.184 +; connections until after a specified timeout. Note: priorities must 1.185 +; start at 1 and be sequential (i.e. if you have only priorities 1, 2, 1.186 +; and 4, then 4 will be ignored, because there is no 3). 1.187 +; 1.188 +; "odbc" is shown in the examples below, but is not the only valid realtime 1.189 +; engine. There is: 1.190 +; odbc ... res_config_odbc 1.191 +; sqlite ... res_config_sqlite 1.192 +; pgsql ... res_config_pgsql 1.193 +; curl ... res_config_curl 1.194 +; ldap ... res_config_ldap 1.195 +; 1.196 +;iaxusers => odbc,asterisk 1.197 +;iaxpeers => odbc,asterisk 1.198 +;sippeers => odbc,asterisk 1.199 +;sipregs => odbc,asterisk ; (avoid sipregs if possible, e.g. by using a view) 1.200 +;voicemail => odbc,asterisk 1.201 +;extensions => odbc,asterisk 1.202 +;meetme => mysql,general 1.203 +;queues => odbc,asterisk 1.204 +;queue_members => odbc,asterisk 1.205 +;musiconhold => mysql,general 1.206 +;queue_log => mysql,general 1.207 +; 1.208 +; 1.209 +; While most dynamic realtime engines are automatically used when defined in 1.210 +; this file, 'extensions', distinctively, is not. To activate dynamic realtime 1.211 +; extensions, you must turn them on in each respective context within 1.212 +; extensions.conf with a switch statement. The syntax is: 1.213 +; switch => Realtime/[[db_context@]tablename]/<opts> 1.214 +; The only option available currently is the 'p' option, which disallows 1.215 +; extension pattern queries to the database. If you have no patterns defined 1.216 +; in a particular context, this will save quite a bit of CPU time. However, 1.217 +; note that using dynamic realtime extensions is not recommended anymore as a 1.218 +; best practice; instead, you should consider writing a static dialplan with 1.219 +; proper data abstraction via a tool like func_odbc. 1.220 + 1.221 +</file> 1.222 <file name="extensions.conf"> 1.223 ;; 1.224 ;; extensions.conf -- Asterisk inbound & outbound call configuration 1.225 @@ -509,7 +684,7 @@ 1.226 </file> 1.227 <file name="musiconhold.conf"> 1.228 ;; 1.229 -;; musiconhold.conf -- Asterisk music-on-hold configuration 1.230 +;; musiconhold.conf -- Asterisk music on hold configuration 1.231 ;; 1.232 1.233 [default] 1.234 @@ -701,7 +876,7 @@ 1.235 </file> 1.236 <file name="features.conf"> 1.237 ;; 1.238 -;; features.conf -- Asterisk Call Features configuration 1.239 +;; features.conf -- Asterisk call features configuration 1.240 ;; 1.241 1.242 [general] 1.243 @@ -710,6 +885,33 @@ 1.244 ;context = parkedcalls 1.245 1.246 </file> 1.247 +<file name="festival.conf"> 1.248 +;; 1.249 +;; festival.conf -- Asterisk festival configuration 1.250 +;; 1.251 + 1.252 +[general] 1.253 +host = localhost ; default 'localhost' 1.254 +port = 1314 ; default '1314' 1.255 +usecache = no ; default 'no' 1.256 + 1.257 +; If usecache=yes, a directory to store waveform cache files. 1.258 +; The cache is never cleared (yet), so you must take care of cleaning it 1.259 +; yourself (just delete any or all files from the cache). 1.260 +; THIS DIRECTORY *MUST* EXIST and must be writable from the asterisk process. 1.261 +; Defaults to /tmp/ 1.262 +; 1.263 +;cachedir = /opsw/var/asterisk/festivalcache/ 1.264 +; 1.265 +; Festival command to send to the server. 1.266 +; Defaults to: (tts_textasterisk "%s" 'file)(quit)\n 1.267 +; %s is replaced by the desired text to say. The command MUST end with a 1.268 +; (quit) directive, or the cache handling mechanism will hang. Do not 1.269 +; forget the \n at the end. 1.270 +; 1.271 +festivalcommand = (tts_textasterisk "%s" 'file)(quit)\n 1.272 + 1.273 +</file> 1.274 <file name="gtalk.conf"> 1.275 ;; 1.276 ;; gtalk.conf -- Asterisk GTalk configuration 1.277 @@ -765,7 +967,7 @@ 1.278 </file> 1.279 <file name="indications.conf"> 1.280 ;; 1.281 -;; indications.conf -- Asterisk Tone Indications 1.282 +;; indications.conf -- Asterisk tone indications 1.283 ;; 1.284 1.285 [general]