36 ;nofork = no |
36 ;nofork = no |
37 ;console = no |
37 ;console = no |
38 ;dontwarn = no |
38 ;dontwarn = no |
39 |
39 |
40 </file> |
40 </file> |
|
41 <file name="amd.conf"> |
|
42 ;; |
|
43 ;; amd.conf -- Answering Machine Detection configuration |
|
44 ;; |
|
45 |
|
46 [general] |
|
47 initial_silence = 2500 ; Maximum silence duration before the greeting. |
|
48 ; If exceeded then MACHINE. |
|
49 greeting = 1500 ; Maximum length of a greeting. |
|
50 ;If exceeded then MACHINE. |
|
51 after_greeting_silence = 800 ; Silence after detecting a greeting. |
|
52 ; If exceeded then HUMAN. |
|
53 total_analysis_time = 5000 ; Maximum time allowed for the algorithm to |
|
54 ; decide on a HUMAN or MACHINE. |
|
55 min_word_length = 100 ; Minimum duration of Voice to considered a word. |
|
56 between_words_silence = 50 ; Minimum duration of silence after a word to |
|
57 ; consider the audio what follows as a new word. |
|
58 maximum_number_of_words = 3 ; Maximum number of words in the greeting. |
|
59 ; If exceeded then MACHINE. |
|
60 silence_threshold = 256 |
|
61 |
|
62 </file> |
41 <file name="modules.conf"> |
63 <file name="modules.conf"> |
42 ;; |
64 ;; |
43 ;; modules.conf -- Asterisk functionality module configuration |
65 ;; modules.conf -- Asterisk functionality module configuration |
44 ;; |
66 ;; |
45 |
67 |
46 [modules] |
68 [modules] |
47 autoload = yes |
69 autoload = yes |
48 noload = chan_iax2.so |
|
49 noload = chan_mgcp.so |
|
50 noload = chan_skinny.so |
|
51 noload = chan_gtalk.so |
|
52 noload = chan_ooh323.so |
|
53 |
70 |
54 [global] |
71 [global] |
55 |
72 |
56 </file> |
73 </file> |
57 <file name="logger.conf"> |
74 <file name="logger.conf"> |
253 ;bindaddr=127.0.0.1 ; more than once to bind to multiple |
270 ;bindaddr=127.0.0.1 ; more than once to bind to multiple |
254 ; ; addresses, but the first will be the |
271 ; ; addresses, but the first will be the |
255 ; ; default |
272 ; ; default |
256 |
273 |
257 </file> |
274 </file> |
|
275 <file name="iaxprov.conf"> |
|
276 ;; |
|
277 ;; iaxprov.conf -- IAX2 provisioning information |
|
278 ;; |
|
279 |
|
280 ; Contains provisioning information for templates and for specific service |
|
281 ; entries. |
|
282 ; |
|
283 ; Templates provide a group of settings from which provisioning takes place. |
|
284 ; A template may be based upon any template that has been specified before |
|
285 ; it. If the template that an entry is based on is not specified then it is |
|
286 ; presumed to be 'default' (unless it is the first of course). |
|
287 ; |
|
288 ; Templates which begin with 'si-' are used for provisioning units with |
|
289 ; specific service identifiers. For example the entry "si-000364000126" |
|
290 ; would be used when the device with the corresponding service identifier of |
|
291 ; "000364000126" attempts to register or make a call. |
|
292 ; |
|
293 [default] |
|
294 port=4569 ; the port number the device should bind to (default 4569) |
|
295 server=127.0.0.1 ; our PRIMARY server for registration and placing calls |
|
296 |
|
297 ; altserver is the BACKUP server for registration and placing calls in the |
|
298 ; event the primary server is unavailable. |
|
299 ; |
|
300 altserver=127.0.0.2 |
|
301 |
|
302 ; port is the port number to use for IAX2 outbound. The connections to the |
|
303 ; server and altserver (default 4569) |
|
304 ; |
|
305 serverport=4569 |
|
306 language=es ; the preferred language for the device |
|
307 codec=ulaw ; requested codec, the iaxy supports ulaw and adpcm |
|
308 |
|
309 ; flags is a comma separated list of flags which the device should |
|
310 ; use and may contain any of the following keywords: |
|
311 ; |
|
312 ; "register" - Register with server |
|
313 ; "secure" - Do not accept calls / provisioning not originated by server |
|
314 ; "heartbeat" - Generate status packets on port 9999 sent to 255.255.255.255 |
|
315 ; "debug" - Output extra debugging to port 9999 |
|
316 ; |
|
317 ; Note that use can use += and -= to adjust parameters |
|
318 ; |
|
319 flags=register |
|
320 |
|
321 tos=ef ; see doc/ip-tos.txt |
|
322 |
|
323 ; Example iaxy provisioning |
|
324 ; |
|
325 ;[si-000364000126] |
|
326 ;user=iaxy |
|
327 ;pass=bitsy |
|
328 ;flags += debug |
|
329 |
|
330 ;[si-000364000127] |
|
331 ;user=iaxy2 |
|
332 ;pass=bitsy2 |
|
333 ;template=si-000364000126 |
|
334 ;flags += debug |
|
335 |
|
336 |
|
337 ; If specified, the '*' provisioning is used for all devices which do not |
|
338 ; have another provisioning entry within the file. If unspecified, no |
|
339 ; provisioning will take place for devices which have no entry. DO NOT |
|
340 ; USE A '*' PROVISIONING ENTRY UNLESS YOU KNOW WHAT YOU'RE DOING. |
|
341 ; |
|
342 ;[*] |
|
343 |
|
344 ;template=default |
|
345 </file> |
258 <file name="rtp.conf"> |
346 <file name="rtp.conf"> |
259 ;; |
347 ;; |
260 ;; rtp.conf -- Asterisk RTP configuration |
348 ;; rtp.conf -- Asterisk RTP configuration |
261 ;; |
349 ;; |
262 |
350 |
313 Event=>reboot |
401 Event=>reboot |
314 |
402 |
315 ; Cisco |
403 ; Cisco |
316 [cisco-check-cfg] |
404 [cisco-check-cfg] |
317 Event=>check-sync |
405 Event=>check-sync |
|
406 |
|
407 </file> |
|
408 <file name="extconfig.conf"> |
|
409 ;; |
|
410 ;; extconfig.conf -- Static and realtime external configuration engine |
|
411 ;; |
|
412 |
|
413 [settings] |
|
414 ; |
|
415 ; Static configuration files: |
|
416 ; |
|
417 ; file.conf => driver,database[,table[,priority]] |
|
418 ; |
|
419 ; maps a particular configuration file to the given |
|
420 ; database driver, database and table (or uses the |
|
421 ; name of the file as the table if not specified) |
|
422 ; |
|
423 ;uncomment to load queues.conf via the odbc engine. |
|
424 ; |
|
425 ;queues.conf => odbc,asterisk,ast_config |
|
426 ;extensions.conf => sqlite,asterisk,ast_config |
|
427 ; |
|
428 ; The following files CANNOT be loaded from Realtime storage: |
|
429 ; asterisk.conf |
|
430 ; extconfig.conf (this file) |
|
431 ; logger.conf |
|
432 ; |
|
433 ; Additionally, the following files cannot be loaded from |
|
434 ; Realtime storage unless the storage driver is loaded |
|
435 ; early using 'preload' statements in modules.conf: |
|
436 ; manager.conf |
|
437 ; cdr.conf |
|
438 ; rtp.conf |
|
439 ; |
|
440 ; |
|
441 ; Realtime configuration engine |
|
442 ; |
|
443 ; maps a particular family of realtime |
|
444 ; configuration to a given database driver, |
|
445 ; database and table (or uses the name of |
|
446 ; the family if the table is not specified |
|
447 ; |
|
448 ;example => odbc,asterisk,alttable,1 |
|
449 ;example => mysql,asterisk,alttable,2 |
|
450 ;example2 => ldap,"dc=oxymium,dc=net",example2 |
|
451 ; |
|
452 ; Additionally, priorities are now supported for use as failover methods |
|
453 ; for retrieving realtime data. If one connection fails to retrieve any |
|
454 ; information, the next sequential priority will be tried next. This |
|
455 ; especially works well with ODBC connections, since res_odbc now caches |
|
456 ; when connection failures occur and prevents immediately retrying those |
|
457 ; connections until after a specified timeout. Note: priorities must |
|
458 ; start at 1 and be sequential (i.e. if you have only priorities 1, 2, |
|
459 ; and 4, then 4 will be ignored, because there is no 3). |
|
460 ; |
|
461 ; "odbc" is shown in the examples below, but is not the only valid realtime |
|
462 ; engine. There is: |
|
463 ; odbc ... res_config_odbc |
|
464 ; sqlite ... res_config_sqlite |
|
465 ; pgsql ... res_config_pgsql |
|
466 ; curl ... res_config_curl |
|
467 ; ldap ... res_config_ldap |
|
468 ; |
|
469 ;iaxusers => odbc,asterisk |
|
470 ;iaxpeers => odbc,asterisk |
|
471 ;sippeers => odbc,asterisk |
|
472 ;sipregs => odbc,asterisk ; (avoid sipregs if possible, e.g. by using a view) |
|
473 ;voicemail => odbc,asterisk |
|
474 ;extensions => odbc,asterisk |
|
475 ;meetme => mysql,general |
|
476 ;queues => odbc,asterisk |
|
477 ;queue_members => odbc,asterisk |
|
478 ;musiconhold => mysql,general |
|
479 ;queue_log => mysql,general |
|
480 ; |
|
481 ; |
|
482 ; While most dynamic realtime engines are automatically used when defined in |
|
483 ; this file, 'extensions', distinctively, is not. To activate dynamic realtime |
|
484 ; extensions, you must turn them on in each respective context within |
|
485 ; extensions.conf with a switch statement. The syntax is: |
|
486 ; switch => Realtime/[[db_context@]tablename]/<opts> |
|
487 ; The only option available currently is the 'p' option, which disallows |
|
488 ; extension pattern queries to the database. If you have no patterns defined |
|
489 ; in a particular context, this will save quite a bit of CPU time. However, |
|
490 ; note that using dynamic realtime extensions is not recommended anymore as a |
|
491 ; best practice; instead, you should consider writing a static dialplan with |
|
492 ; proper data abstraction via a tool like func_odbc. |
318 |
493 |
319 </file> |
494 </file> |
320 <file name="extensions.conf"> |
495 <file name="extensions.conf"> |
321 ;; |
496 ;; |
322 ;; extensions.conf -- Asterisk inbound & outbound call configuration |
497 ;; extensions.conf -- Asterisk inbound & outbound call configuration |
699 ;dtmf_generate = yes |
874 ;dtmf_generate = yes |
700 |
875 |
701 </file> |
876 </file> |
702 <file name="features.conf"> |
877 <file name="features.conf"> |
703 ;; |
878 ;; |
704 ;; features.conf -- Asterisk Call Features configuration |
879 ;; features.conf -- Asterisk call features configuration |
705 ;; |
880 ;; |
706 |
881 |
707 [general] |
882 [general] |
708 ;parkext = 700 |
883 ;parkext = 700 |
709 ;parkpos = 701-720 |
884 ;parkpos = 701-720 |
710 ;context = parkedcalls |
885 ;context = parkedcalls |
|
886 |
|
887 </file> |
|
888 <file name="festival.conf"> |
|
889 ;; |
|
890 ;; festival.conf -- Asterisk festival configuration |
|
891 ;; |
|
892 |
|
893 [general] |
|
894 host = localhost ; default 'localhost' |
|
895 port = 1314 ; default '1314' |
|
896 usecache = no ; default 'no' |
|
897 |
|
898 ; If usecache=yes, a directory to store waveform cache files. |
|
899 ; The cache is never cleared (yet), so you must take care of cleaning it |
|
900 ; yourself (just delete any or all files from the cache). |
|
901 ; THIS DIRECTORY *MUST* EXIST and must be writable from the asterisk process. |
|
902 ; Defaults to /tmp/ |
|
903 ; |
|
904 ;cachedir = /opsw/var/asterisk/festivalcache/ |
|
905 ; |
|
906 ; Festival command to send to the server. |
|
907 ; Defaults to: (tts_textasterisk "%s" 'file)(quit)\n |
|
908 ; %s is replaced by the desired text to say. The command MUST end with a |
|
909 ; (quit) directive, or the cache handling mechanism will hang. Do not |
|
910 ; forget the \n at the end. |
|
911 ; |
|
912 festivalcommand = (tts_textasterisk "%s" 'file)(quit)\n |
711 |
913 |
712 </file> |
914 </file> |
713 <file name="gtalk.conf"> |
915 <file name="gtalk.conf"> |
714 ;; |
916 ;; |
715 ;; gtalk.conf -- Asterisk GTalk configuration |
917 ;; gtalk.conf -- Asterisk GTalk configuration |