Set up basic Asterisk configuration

This commit sets up the basic configuration for Asterisk.  It will allow
Asterisk to run, but it won't do anything useful yet.

Change-Id: I7975082ff5351db4dc6e3c8cf9dd2d90675e3108
This commit is contained in:
Russell Bryant 2013-07-17 14:10:38 +00:00
parent 2e2211cf69
commit d4ec2e00a9
100 changed files with 2959 additions and 0 deletions

View File

@ -0,0 +1,9 @@
; File: ais.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
#tryinclude "ais.conf.d/*.conf"

View File

View File

@ -0,0 +1,56 @@
; File: amd.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: initial_silence
; Section: general
; Description:
; Default: 2500
initial_silence = 2500
; Value: greeting
; Section: general
; Description:
; Default: 1500
greeting = 1500
; Value: after_greeting_silence
; Section: general
; Description:
; Default: 800
after_greeting_silence = 800
; Value: total_analysis_time
; Section: general
; Description:
; Default: 5000
total_analysis_time = 5000
; Value: min_word_length
; Section: general
; Description:
; Default: 100
min_word_length = 100
; Value: between_words_silence
; Section: general
; Description:
; Default: 50
between_words_silence = 50
; Value: maximum_number_of_words
; Section: general
; Description:
; Default: 3
maximum_number_of_words = 3
; Value: silence_threshold
; Section: general
; Description:
; Default: 256
silence_threshold = 256
#tryinclude "amd.conf.d/*.conf"

View File

View File

@ -0,0 +1,7 @@
; File: calendar.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
#tryinclude "calendar.conf.d/*.conf"

View File

View File

@ -0,0 +1,9 @@
; File: ccss.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
#tryinclude "ccss.conf.d/*.conf"

View File

View File

@ -0,0 +1,87 @@
; File: cdr.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: enable
; Section: general
; Description:
; Default: no
enable = no
; Value: unanswered
; Section: general
; Description:
; Default: no
unanswered = no
; Value: endbeforehexten
; Section: general
; Description:
; Default: no
endbeforehexten = no
; Value: initiatedseconds
; Section: general
; Description:
; Default: no
initiatedseconds = no
; Value: batch
; Section: general
; Description:
; Default: no
batch = no
; Value: size
; Section: general
; Description:
; Default: 100
size = 100
; Value: time
; Section: general
; Description:
; Default: no
time = 300
; Value: scheduleronly
; Section: general
; Description:
; Default: no
scheduleronly = no
; Value: safeshutdown
; Section: general
; Description:
; Default: no
safeshutdown = yes
[csv]
; Value: usegmtime
; Section: csv
; Description:
; Default: yes
usegmtime = yes
; Value: loguniqueid
; Section: csv
; Description:
; Default: yes
loguniqueid = yes
; Value: loguserfield
; Section: csv
; Description:
; Default: yes
loguserfield = yes
; Value: accountlogs
; Section: csv
; Description:
; Default: yes
accountlogs = yes
#tryinclude "cdr.conf.d/*.conf"

View File

View File

@ -0,0 +1,7 @@
; File: cdr_adaptive_odbc.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
#tryinclude "cdr_adaptive_odbc.conf.d/*.conf"

View File

@ -0,0 +1,9 @@
; File: cdr_custom.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[mappings]
#tryinclude "cdr_custom.conf.d/*.conf"

View File

View File

@ -0,0 +1,16 @@
; File: cdr_manager.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: enabled
; Section: general
; Description:
; Default: no
enabled = no
[mappings]
#tryinclude "cdr_manager.conf.d/*.conf"

View File

View File

@ -0,0 +1,9 @@
; File: cdr_syslog.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
#tryinclude "cdr_syslog.conf.d/*.conf"

View File

View File

@ -0,0 +1,41 @@
; File: cel.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: enable
; Section: general
; Description:
; Default: no
enable = no
; Value: events
; Section: general
; Description:
; Default: APP_START,APP_END,CHAN_START,CHAN_END
events = APP_START,APP_END,CHAN_START,CHAN_END
; Value: apps
; Section: general
; Description:
; Default: dial
apps = dial
; Value: dateformat
; Section: general
; Description:
; Default: %F %T
dateformat = %F %T
[manager]
; Value: enabled
; Section: manager
; Description:
; Default: no
enabled = no
[radius]
#tryinclude "cel.conf.d/*.conf"

View File

View File

@ -0,0 +1,9 @@
; File: cel_custom.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[mappings]
#tryinclude "cel_custom.conf.d/*.conf"

View File

View File

@ -0,0 +1,7 @@
; File: cel_odbc.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
#tryinclude "cel_odbc.conf.d/*.conf"

View File

View File

@ -0,0 +1,22 @@
; File: chan_dahdi.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[trunkgroups]
[channels]
; Value: language
; Section: channels
; Description:
; Default: en
language = en
; Value: context
; Section: channels
; Description:
; Default: public
context = public
#tryinclude "chan_dahdi.conf.d/*.conf"

View File

View File

@ -0,0 +1,9 @@
; File: cli.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[startup_commands]
#tryinclude "cli.conf.d/*.conf"

View File

View File

@ -0,0 +1,9 @@
; File: cli_permissions.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
#tryinclude "cli_permissions.conf.d/*.conf"

View File

@ -0,0 +1,7 @@
; File: codecs.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
#tryinclude "codecs.conf.d/*.conf"

View File

View File

@ -0,0 +1,20 @@
; File: dnsmgr.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: enable
; Section: general
; Description: Enable creation of managed DNS lookups.
; Default: no
enable = no
; Value: refreshinterval
; Section: general
; Description: Refresh managed DNS lookups every <x> seconds.
; Default: 300
refreshinterval = 300
#tryinclude "dnsmgr.conf.d/*.conf"

View File

View File

@ -0,0 +1,14 @@
; File: dsp.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[default]
; Value: silencethreshold
; Section: default
; Description:
; Default: 256
silencethreshold = 256
#tryinclude "dsp.conf.d/*.conf"

View File

View File

@ -0,0 +1,100 @@
; File: dundi.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: bindaddr
; Section: general
; Description:
; Default: 127.0.0.1
bindaddr = 127.0.0.1
; Value: port
; Section: general
; Description:
; Default: 4520
port = 4520
; Value: port
; Section: general
; Description:
; Default: <empty>
department =
; Value: organization
; Section: general
; Description:
; Default: <empty>
organization =
; Value: locality
; Section: general
; Description:
; Default: <empty>
locality =
; Value: stateprov
; Section: general
; Description:
; Default: <empty>
stateprov =
; Value: country
; Section: general
; Description:
; Default: <empty>
country =
; Value: email
; Section: general
; Description:
; Default: <empty>
email =
; Value: phone
; Section: general
; Description:
; Default: <empty>
phone =
; Value: entityid
; Section: general
; Description:
; Default: <empty>
entityid =
; Value: cachetime
; Section: general
; Description:
; Default: 3600
cachetime = 3600
; Value: ttl
; Section: general
; Description:
; Default: 32
ttl = 32
; Value: autokill
; Section: general
; Description:
; Default: yes
autokill = yes
; Value: secretpath
; Section: general
; Description:
; Default: dundi
secretpath = dundi
; Value: storehistory
; Section: general
; Description:
; Default: no
storehistory = no
[mappings]
#tryinclude "dundi.conf.d/*.conf"

View File

View File

@ -0,0 +1,9 @@
; File: enum.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
#tryinclude "enum.conf.d/*.conf"

View File

View File

@ -0,0 +1,9 @@
; File: extconfig.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[settings]
#tryinclude "extconfig.conf.d/*.conf"

View File

View File

@ -0,0 +1,40 @@
; File: extensions.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: writeprotect
; Section: general
; Description:
; Default: no
writeprotect = no
; Value: autofallthrough
; Section: general
; Description:
; Default: yes
autofallthrough = yes
; Value: extenpatternmatchnew
; Section: general
; Description:
; Default: no
extenpatternmatchnew = no
; Value: clearglobalvars
; Section: general
; Description:
; Default: no
clearglobalvars = no
; Value: usercontext
; Section: general
; Description:
; Default: public
userscontext = public
[globals]
#tryinclude "extensions.conf.d/*.conf"

View File

View File

@ -0,0 +1,13 @@
; File: features.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
[featuremap]
[applicationmap]
#tryinclude "features.conf.d/*.conf"

View File

View File

@ -0,0 +1,7 @@
; File: func_odbc.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
#tryinclude "func_odbc.conf.d/*.conf"

View File

View File

@ -0,0 +1,26 @@
; File: gtalk.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: binaddr
; Section: general
; Description:
; Default: 127.0.0.1
bindaddr = 127.0.0.1
; Value: context
; Section: general
; Description:
; Default: public
context = public
; Value: allowguest
; Section: general
; Description:
; Default: no
allowguest = no
#tryinclude "gtalk.conf.d/*.conf"

View File

View File

@ -0,0 +1,40 @@
; File: http.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: enabled
; Section: general
; Description:
; Default: no
enabled = no
; Value: bindaddr
; Section: general
; Description:
; Default: 127.0.0.1
bindaddr = 127.0.0.1
; Value: bindport
; Section: general
; Description:
; Default: 8088
bindport = 8088
; Value: prefix
; Section: general
; Description:
; Default: asterisk
prefix = asterisk
; Value: enablestatic
; Section: general
; Description:
; Default: no
enablestatic = no
[post_mappings]
#tryinclude "http.conf.d/*.conf"

View File

View File

@ -0,0 +1,344 @@
; File: iax.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: bindaddr
; Section: general
; Description:
; Default: 127.0.0.1
bindaddr = 127.0.0.1
; Value: bindport
; Section: general
; Description:
; Default: 4569
bindport = 4569
; Value: iaxcompat
; Section: general
; Description:
; Default: no
iaxcompat = no
; Value: nochecksums
; Section: general
; Description:
; Default: no
nochecksums = no
; Value: delayreject
; Section: general
; Description:
; Default: no
delayreject = no
; Value: amaflags
; Section: general
; Description:
; Default: default
amaflags = default
; Value: adsi
; Section: general
; Description:
; Default: no
adsi = no
; Value: srvlookup
; Section: general
; Description:
; Default: no
srvlookup = no
; Value: accountcode
; Section: general
; Description:
; Default: <empty>
accountcode =
; Value: language
; Section: general
; Description:
; Default: en
language = en
; Value: mohinterpret
; Section: general
; Description:
; Default: default
mohinterpret = default
; Value: mohsuggest
; Section: general
; Description:
; Default: <empty>
mohsuggest =
; Value: bandwidth
; Section: general
; Description:
; Default: high
bandwidth = high
; Value: disallow
; Section: general
; Description:
; Default: all
disallow = all
; Value: allow
; Section: general
; Description:
; Default: gsm
allow = gsm
; Value: codecpriority
; Section: general
; Description:
; Default: host
codecpriority = host
; Value: allowfwdownload
; Section: general
; Description:
; Default: no
allowfwdownload = no
; Value: requirecalltoken
; Section: general
; Description:
; Default: yes
requirecalltoken = yes
; Value: tos
; Section: general
; Description:
; Default: CS0
tos = CS0
; Value: cos
; Section: general
; Description:
; Default: 0
cos = 0
; Value: pingtime
; Section: general
; Description:
; Default: 21
pingtime = 21
; Value: iaxthreadcount
; Section: general
; Description:
; Default: 10
iaxthreadcount = 10
; Value: iaxmaxthreadcount
; Section: general
; Description:
; Default: 100
iaxmaxthreadcount = 100
; Value: jitterbuffer
; Section: general
; Description:
; Default: no
jitterbuffer = no
; Value: forcejitterbuffer
; Section: general
; Description:
; Default: no
forcejitterbuffer = no
; Value: maxjitterbuffer
; Section: general
; Description:
; Default: 1000
maxjitterbuffer = 1000
; Value: resyncthreshold
; Section: general
; Description:
; Default: 1000
resyncthreshold = 1000
; Value: maxjitterinterps
; Section: general
; Description:
; Default: 10
maxjitterinterps = 10
; Value: jittertargetextra
; Section: general
; Description:
; Default: 40
jittertargetextra = 40
; Value: lagrqtime
; Section: general
; Description:
; Default: 10
lagrqtime = 10
; Value: maxregexpire
; Section: general
; Description:
; Default: 60
maxregexpire = 60
; Value: minregexpire
; Section: general
; Description:
; Default: 60
mixregexpire = 60
; Value: authdebug
; Section: general
; Description:
; Default: no
authdebug = no
; Value: encryption
; Section: general
; Description:
; Default: no
encryption = no
; Value: forceencryption
; Section: general
; Description:
; Default: no
forceencryption = no
; Value: transfer
; Section: general
; Description:
; Default: no
transfer = no
; Value: codecpriority
; Section: general
; Description:
; Default: host
codecpriority = host
; Value: rtcachefriends
; Section: general
; Description:
; Default: no
rtcachefriends = no
; Value: rtignoreregexpire
; Section: general
; Description:
; Default: no
rtignorereexpire = no
; Value: rtupdate
; Section: general
; Description:
; Default: yes
rtupdate = yes
; Value: rtsavesysname
; Section: general
; Description:
; Default: no
rtsavesysname = no
; Value: rtautoclear
; Section: general
; Description:
; Default: 120
rtautoclear = 120
; Value: trunktimestamps
; Section: general
; Description:
; Default: no
trunktimestamps = no
; Value: trunkfreq
; Section: general
; Description:
; Default: 20
trunkfreq = 20
; Value: trunkmtu
; Section: general
; Description:
; Default: 1240
trunkmtu = 1240
; Value: trunkmaxsize
; Section: general
; Description:
; Default: 128000
trunkmaxsize = 128000
; Value: autokill
; Section: general
; Description:
; Default: 2000
autokill = 2000
; Value: register
; Section: general
; Description:
; Default: <unset>
;register =
; Value: regcontext
; Section: general
; Description:
; Default: regcontext-public
regcontext = regcontext-public
; Value: parkinglot
; Section: general
; Description:
; Default: parkinglot-public
parkinglot = parkinglot-public
; Value: maxauthreq
; Section: general
; Description:
; Default: 3
maxauthreq = 3
; Value: connectedline
; Section: general
; Description:
; Default: no
connectedline = no
; Value: maxcallnumbers
; Section: general
; Description:
; Default: 2048
maxcallnumbers = 2048
; Value: maxcallnumbers_nonvalidated
; Section: general
; Description:
; Default: 8192
maxcallnumbers_nonvalidated = 8192
; Value: subscribe_network_change_event
; Section: general
; Description:
; Default: yes
subscribe_network_change_event = yes
; Value: shrinkcallerid
; Section: general
; Description:
; Default: yes
shrinkcallerid = yes
#tryinclude "iax.conf.d/*.conf"

View File

View File

@ -0,0 +1,9 @@
; File: iaxprov.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[default]
#tryinclude "iaxprov.conf.d/*.conf"

View File

View File

@ -0,0 +1,27 @@
; File: indications.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: country
; Section: general
; Description:
; Default: us
country = us
[us]
description = United States / North America
ringcadence = 2000,4000
dial = 350+440
busy = 480+620/500,0/500
ring = 440+480/2000,0/4000
congestion = 480+620/250,0/250
callwaiting = 440/300,0/10000
dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
record = 1400/500,0/15000
info = !950/330,!1400/330,!1800/330,0
stutter = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
#tryinclude "indications.conf.d/*.conf"

View File

View File

@ -0,0 +1,44 @@
; File: jabber.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: auth_policy
; Section: general
; Description:
; Default: accept
auth_policy = accept
; Value: autoprune
; Section: general
; Description:
; Default: no
autoprune = no
; Value: autoregister
; Section: general
; Description:
; Default: yes
autoregister = yes
; Value: collection_nodes
; Section: general
; Description:
; Default: no
collection_nodes = no
; Value: debug
; Section: general
; Description:
; Default: no
debug = no
; Value: pubsub_autocreate
; Section: general
; Description:
; Default: no
pubsub_autocreate = no
#tryinclude "jabber.conf.d/*.conf"

View File

View File

@ -0,0 +1,69 @@
; File: logger.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: dateformat
; Section: general
; Description:
; Default: %F %T.%3q
dateformat = %F %T.%3q
; Value: appendhostname
; Section: general
; Description: Append the system hostname to the end of the logs filename.
; Default: no
appendhostname = no
; Value: queue_log
; Section: general
; Description:
; Default: yes
queue_log = yes
; Value: queue_log_to_file
; Section: general
; Description:
; Default: no
queue_log_to_file = no
; Value: queue_log_name
; Section: general
; Description:
; Default: queue_log
queue_log_name = queue_log
; Value: queue_log_realtime_use_gmt
; Section: general
; Description:
; Default: yes
queue_log_realtime_use_gmt = yes
; Value: rotatestrategy
; Section: general
; Description:
; Default: rotate
rotatestrategy = rotate
; Value: exec_after_rotate
; Section: general
; Description:
; Default: gzip -9 ${filename}.2
exec_after_rotate = gzip -9 ${filename}.2
[logfiles]
; Value: console
; Section: logfiles
; Description:
; Default: notice,warning,error
console => notice,warning,error
; Value: messages
; Section: logfiles
; Description:
; Default: notice,warning,error
messages => notice,warning,error
#tryinclude "logger.conf.d/*.conf"

View File

View File

@ -0,0 +1,125 @@
; File: manager.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: enabled
; Section: general
; Description: Provides access to the Asterisk Manager Interface (AMI) over
; TCP.
; Default: no
enabled = no
; Value: webenabled
; Section: general
; Description: Provides access to the Asterisk Manager Interface (AMI) over
; HTTP.
; Default: no
webenabled = no
; Value: binaddr
; Section: general
; Description: The IP address the AMI uses.
; Default: 127.0.0.1
bindaddr = 127.0.0.1
; Value: port
; Section: general
; Description: The TCP port the AMI uses.
; Default: 5038
port = 5038
; Value: tlsenable
; Section: general
; Description: Provides access to the Asterisk Manager Interface (AMI) over
; SSL.
; Default: no
tlsenable = no
; Value: tlsbindaddr
; Section: general
; Description: The IP address and TCP port the AMI uses.
; Default: 127.0.0.1:5039
tlsbindaddr = 127.0.0.1:5039
; Value: tlscertfile
; Section: general
; Description: Path and filename of SSL certificate.
; Default: /tmp/asterisk.pem
tlscertfile = /tmp/asterisk.pem
; Value: tlsprivatekey
; Section: general
; Description: Path and filename of private SSL key.
; Default: /tmp/private.pem
tlsprivatekey = /tmp/private.pem
; Value: tlscipher
; Section: general
; Description: SSL cipher for private key.
; Default: mysecret
tlscipher = mysecret
; Value: allowmultiplelogin
; Section: general
; Description: Allow multiple AMI logins for manager users.
; Default: yes
allowmultiplelogin = yes
; Value: displayconnects
; Section: general
; Description: Log AMI connections to the Asterisk CLI.
; Default: yes
displayconnects = yes
; Value: timestampevents
; Section: general
; Description: Add an Unix epoch timestamp to AMI events.
; Default: yes
timestampevents = yes
; Value: brokeneventsaction
; Section: general
; Description: Restore previous behavior that caused the events action to not
; return a response in certian circumstances.
; Default: no
brokeneventsaction = no
; Value: channelvars
; Section: general
; Description: Default channel variables every time a channel-oriented event
; is emitted.
; Default: var1,var2,var3
channelvars = var1,var2,var3
; Value: debug
; Section: general
; Description: AMI debugging information.
; Default: off
debug = off
; Value: authtimeout
; Section: general
; Description: Specify the maximum number of seconds a client has to
; authenticate. If the client does not authenticate before this timeout,
; they will be disconnected.
; Default: 30
authtimeout = 30
; Value: authlimit
; Section: general
; Description: Specify the maximum number of unauthenticated sessions that
; will be allowed to connect to the AMI at any given time.
; Default: 50
authlimit = 50
; Value: httptimeout
; Section: general
; Description: Sets the max-age of the HTTP cookie and amount of time the
; webserver keeps a HTTP session alive.
; Default: 60
httptimeout = 60
#tryinclude "manager.conf.d/*.conf"

View File

View File

@ -0,0 +1,46 @@
; File: meetme.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: audiobuffers
; Section: general
; Description:
; Default: 32
audiobuffers = 32
; Value: schedule
; Section: general
; Description: Allow conferences to be scheduled from realtime.
; Default: no
schedule = no
; Value: logmembercount
; Section: general
; Description: Update realtime when members login/logout of a conference.
; Default: no
logmembercount = no
; Value: fuzzystart
; Section: general
; Description:
; Default: 300
fuzzystart = 300
; Value: earlyalert
; Section: general
; Description:
; Default: 3600
earlyalert = 3600
; Value: endalert
; Section: general
; Description:
; Default: 120
endalert = 120
[rooms]
#tryinclude "meetme.conf.d/*.conf"

View File

View File

@ -0,0 +1,13 @@
; File: musiconhold.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
[default]
mode = files
directory = moh
#tryinclude "musiconhold.conf.d/*.conf"

View File

View File

@ -0,0 +1,7 @@
; File: queuerules.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
#tryinclude "queuerules.conf.d/*.conf"

View File

View File

@ -0,0 +1,44 @@
; File: queues.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: persistentmembers
; Section: general
; Description:
; Default: yes
persistentmembers = yes
; Value: autofill
; Section: general
; Description:
; Default: yes
autofill = yes
; Value: monitor-type
; Section: general
; Description:
; Default: MixMonitor
monitor-type = MixMonitor
; Value: updatecdr
; Section: general
; Description:
; Default: yes
updatecdr = yes
; Value: shared_lastcall
; Section: general
; Description:
; Default: yes
shared_lastcall = yes
; Value: log_membername_as_agent
; Section: general
; Description:
; Default: yes
log_membername_as_agent = yes
#tryinclude "queues.conf.d/*.conf"

View File

View File

@ -0,0 +1,20 @@
; File: res_curl.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[globals]
; Value: proxytype
; Section: globals
; Description:
; Default: http
proxytype = http
; Value: proxyport
; Section: globals
; Description:
; Default: 8001
proxyport = 8001
#tryinclude "res_curl.conf.d/*.conf"

View File

View File

@ -0,0 +1,38 @@
; File: res_fax.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: maxrate
; Section: general
; Description:
; Default: 14400
maxrate = 14400
; Value: minrate
; Section: general
; Description:
; Default: 2400
minrate = 2400
; Value: statusevents
; Section: general
; Description:
; Default: yes
statusevents = yes
; Value: modems
; Section: general
; Description:
; Default: v17,v27,v29
modems = v17,v27,v29
; Value: ecm
; Section: general
; Description:
; Default: yes
ecm = yes
#tryinclude "res_fax.conf.d/*.conf"

View File

View File

@ -0,0 +1,7 @@
; File: res_ldap.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
#tryinclude "res_ldap.conf.d/*.conf"

View File

View File

@ -0,0 +1,9 @@
; File: res_odbc.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[ENV]
#tryinclude "res_odbc.conf.d/*.conf"

View File

View File

@ -0,0 +1,20 @@
; File: res_stun_monitor.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: stunaddr
; Section: general
; Description:
; Default: stun.ekiga.net
stunaddr = stun.ekiga.net
; Value: stunrefresh
; Section: general
; Description:
; Default: 30
stunrefresh = 30
#tryinclude "res_stun_monitor.conf.d/*.conf"

View File

@ -0,0 +1,44 @@
; File: rtp.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: rtpstart
; Section: general
; Description:
; Default: 10000
rtpstart = 10000
; Value: rtpend
; Section: general
; Description:
; Default: 20000
rtpend = 20000
; Value: rtpchecksums
; Section: general
; Description:
; Default: no
rtpchecksums = no
; Value: dtmftimeout
; Section: general
; Description:
; Default: 3000
dtmftimeout = 3000
; Value: rtcpinterval
; Section: general
; Description:
; Default: 5000
rtcpinterval = 5000
; Value: strictrtp
; Section: general
; Description:
; Default: no
strictrtp = no
#tryinclude "rtp.conf.d/*.conf"

View File

View File

@ -0,0 +1,14 @@
; File: say.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: mode
; Section: general
; Description:
; Default: old
mode = old
#tryinclude "say.conf.d/*.conf"

View File

View File

@ -0,0 +1,892 @@
; File: sip.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: udpbindaddr
; Section: general
; Description:
; Default: 127.0.0.1:5060
udpbindaddr = 127.0.0.1:5060
; Value: transport
; Section: general
; Description:
; Default: udp
transport = udp
; Value: tcpenable
; Section: general
; Description:
; Default: no
tcpenable = no
; Value: tcpbindaddr
; Section: general
; Description:
; Default: 127.0.0.1
tcpbindaddr = 127.0.0.1
; Value: tlsenable
; Section: general
; Description:
; Default: no
tlsenable = no
; Value: tlsbindaddr
; Section: general
; Description:
; Default: 127.0.0.1
tlsbindaddr = 127.0.0.1
; Value: context
; Section: general
; Description:
; Default: public
context = public
; Value: subscribecontext
; Section: general
; Description:
; Default: subscribe-public
subscribecontext = subscribe-public
; Value: callcounter
; Section: general
; Description:
; Default: no
callcounter = no
; Value: allowguest
; Section: general
; Description:
; Default: no
allowguest = no
; Value: realm
; Section: general
; Description:
; Default: asterisk
realm = asterisk
; Value: domainsasrealm
; Section: general
; Description:
; Default: no
domainsasrealm = no
; Value: useragent
; Section: general
; Description:
; Default: <unset>
;useragent =
; Value: sdpsession
; Section: general
; Description:
; Default: <unset>
;sdpsession =
; Value: sdpowner
; Section: general
; Description:
; Default: <unset>
;sdpowner
; Value: allowtransfer
; Section: general
; Description:
; Default: Yes
allowtransfer = yes
; Value: rtcachefriends
; Section: general
; Description:
; Default: Yes
rtcachefriends = yes
; Value: rtsavesysname
; Section: general
; Description:
; Default: no
rtsavesysname = no
; Value: rtupdate
; Section: general
; Description:
; Default: yes
rtupdate = yes
; Value: rtautoclear
; Section: general
; Description:
; Default: 120
rtautoclear = 120
; Value: ignoreregexpire
; Section: general
; Description:
; Default: no
ignoreregexpire = no
; Value: disallow
; Section: general
; Description:
; Default: all
disallow = all
; Value: allow
; Section: general
; Description:
; Default: ulaw,alaw
allow = ulaw,alaw
; Value: t1min
; Section: general
; Description:
; Default: 100
t1min = 100
; Value: timert1
; Section: general
; Description:
; Default: 500
timert1 = 500
; Value: timerb
; Section: general
; Description:
; Default: 32000
timerb = 32000
; Value: rtptimeout
; Section: general
; Description:
; Default: 0
rtptimeout = 0
; Value: rtpholdtimeout
; Section: general
; Description:
; Default: 0
rtpholdtimeout = 0
; Value: rtpkeepalive
; Section: general
; Description:
; Default: 0
rtpkeepalive = 0
; Value: session-timers
; Section: general
; Description:
; Default: accept
session-timers = accept
; Value: session-expires
; Section: general
; Description:
; Default: 1800
session-expires = 1800
; Value: session-minse
; Section: general
; Description:
; Default: 90
session-minse = 90
; Value: session-refresher
; Section: general
; Description:
; Default: uas
session-refresher = uas
; Value: sipdebug
; Section: general
; Description:
; Default: no
sipdebug = no
; Value: recordhistory
; Section: general
; Description:
; Default: no
recordhistory = no
; Value: dumphistory
; Section: general
; Description:
; Default: no
dumphistory = no
; Value: dtmfmode
; Section: general
; Description:
; Default: rfc2833
dtmfmode = rfc2833
; Value: alwaysauthreject
; Section: general
; Description:
; Default: yes
alwaysauthreject = yes
; Value: snom_aoc_enabled
; Section: general
; Description:
; Default: no
snom_aoc_enabled = no
; Value: jbenable
; Section: general
; Description:
; Default: no
jbenable = no
; Value: jbforce
; Section: general
; Description:
; Default: no
jbforce = no
; Value: jbmaxsize
; Section: general
; Description:
; Default: 200
jbmaxsize = 200
; Value: jbresyncthreshold
; Section: general
; Description:
; Default: 1000
jbresyncthreshold = 1000
; Value: jbimpl
; Section: general
; Description:
; Default: fixed
jbimpl = fixed
; Value: jbtargetextra
; Section: general
; Description:
; Default: 40
jbtargetextra = 40
; Value: jblog
; Section: general
; Description:
; Default: no
jblog = no
; Value: dynamic_exclude_static
; Section: general
; Description:
; Default: no
dynamic_exclude_static = no
; Value: contactdeny
; Section: general
; Description:
; Default: 0.0.0.0/0.0.0.0
contactdeny = 0.0.0.0/0.0.0.0
; Value: contactpermit
; Section: general
; Description:
; Default: <unset>
;contactpermit =
; Value: usereqphone
; Section: general
; Description:
; Default: no
usereqphone = no
; Value: prematuremedia
; Section: general
; Description:
; Default: yes
prematuremedia = yes
; Value: relaxdtmf
; Section: general
; Description:
; Default: no
relaxdtmf = no
; Value: vmexten
; Section: general
; Description:
; Default: vmexten-public
vmexten = vmexten-public
; Value: compactheaders
; Section: general
; Description:
; Default: no
compactheaders = no
; Value: notifymimetype
; Section: general
; Description:
; Default: application/simple-message-summary
notifymimetype = application/simple-message-summary
; Value: directrtpsetup
; Section: general
; Description:
; Default: no
directrtpsetup = no
; Value: notifyringing
; Section: general
; Description:
; Default: yes
notifyringing = yes
; Value: notifyhold
; Section: general
; Description:
; Default: no
notifyhold = no
; Value: notifycid
; Section: general
; Description:
; Default: no
notifycid = no
; Value: auth_options_request
; Section: general
; Description:
; Default: no
auth_options_request = no
; Value: mohinterpret
; Section: general
; Description:
; Default: default
mohinterpret = default
; Value: mohsuggest
; Section: general
; Description:
; Default: default
mohsuggest = default
; Value: language
; Section: general
; Description:
; Default: en
language = en
; Value: regcontext
; Section: general
; Description:
; Default: <unset>
;regcontext =
; Value: regextenonquality
; Section: general
; Description:
; Default: no
regextenonqualify = no
; Value: legacy_useroption_parsing
; Section: general
; Description:
; Default: no
legacy_useroption_parsing = no
; Value: callerid
; Section: general
; Description:
; Default: asterisk
callerid = asterisk
; Value: mwi_from
; Section: general
; Description:
; Default: <empty>
mwi_from =
; Value: fromdomain
; Section: general
; Description:
; Default: <empty>
fromdomain =
; Value: outboundproxy
; Section: general
; Description:
; Default: <unset>
;outboundproxy =
; Value: autocreatepeer
; Section: general
; Description:
; Default: no
autocreatepeer = no
; Value: match_auth_username
; Section: general
; Description:
; Default: no
match_auth_username = no
; Value: srvlookup
; Section: general
; Description:
; Default: yes
srvlookup = yes
; Value: pedantic
; Section: general
; Description:
; Default: yes
pedantic = yes
; Value: maxexpiry
; Section: general
; Description:
; Default: 3600
maxexpiry = 3600
; Value: minexpiry
; Section: general
; Description:
; Default: 60
minexpiry = 60
; Value: defaultexpiry
; Section: general
; Description:
; Default: 120
defaultexpiry = 120
; Value: mwiexpiry
; Section: general
; Description:
; Default: 3600
mwiexpiry = 3600
; Value: tcpauthtimeout
; Section: general
; Description:
; Default: 30
tcpauthtimeout = 30
; Value: tcpauthlimit
; Section: general
; Description:
; Default: 100
tcpauthlimit = 100
; Value: registertimeout
; Section: general
; Description:
; Default: 20
registertimeout = 20
; Value: registerattempts
; Section: general
; Description:
; Default: 0
registerattempts = 0
; Value: localnet
; Section: general
; Description:
; Default: <unset>
;localnet =
; Value: media_address
; Section: general
; Description:
; Default: <unset>
;media_address =
; Value: externaddr
; Section: general
; Description:
; Default: <unset>
;externaddr =
; Value: externhost
; Section: general
; Description:
; Default: <unset>
;externhost =
; Value: externrefresh
; Section: general
; Description:
; Default: 150
externrefresh = 150
; Value: externtcpport
; Section: general
; Description:
; Default: 5060
externtcpport = 5060
; Value: externtlsport
; Section: general
; Description:
; Default: 5061
externtlsport = 5061
; Value: preferred_codec_only
; Section: general
; Description:
; Default: no
preferred_codec_only = no
; Value: autoframing
; Section: general
; Description:
; Default: no
autoframing = 0
; Value: allowexternaldomains
; Section: general
; Description:
; Default: yes
allowexternaldomains = yes
; Value: autodomain
; Section: general
; Description:
; Default: no
autodomain = no
; Value: domain
; Section: general
; Description:
; Default: <unset>
;domain =
; Value: register
; Section: general
; Description:
; Default: <unset>
;register =
; Value: mwi
; Section: general
; Description:
; Default: <unset>
;mwi =
; Value: tos_sip
; Section: general
; Description:
; Default: cs0
tos_sip = cs0
; Value: tos_audio
; Section: general
; Description:
; Default: cs0
tos_audio = cs0
; Value: tos_video
; Section: general
; Description:
; Default: cs0
tos_video = cs0
; Value: tos_text
; Section: general
; Description:
; Default: cs0
tos_text = cs0
; Value: cos_sip
; Section: general
; Description:
; Default: 4
cos_sip = 4
; Value: cos_audio
; Section: general
; Description:
; Default: 5
cos_audio = 5
; Value: cos_video
; Section: general
; Description:
; Default: 6
cos_video = 6
; Value: cos_text
; Section: general
; Description:
; Default: 5
cos_text = 5
; Value: qualify
; Section: general
; Description:
; Default: yes
qualify = yes
; Value: qualifyfreq
; Section: general
; Description:
; Default: 60
qualifyfreq = 60
; Value: callevents
; Section: general
; Description:
; Default: no
callevents = no
; Value: authfailureevents
; Section: general
; Description:
; Default: no
authfailureevents = no
; Value: maxcallbitrate
; Section: general
; Description:
; Default: 384
maxcallbitrate = 384
; Value: matchexternaddrlocally
; Section: general
; Description:
; Default:
matchexternaddrlocally = no
; Value: storesipcause
; Section: general
; Description:
; Default: no
storesipcause = no
; Value: qualifygap
; Section: general
; Description:
; Default: 100
qualifygap = 100
; Value: qualifypeers
; Section: general
; Description:
; Default: 1
qualifypeers = 1
; Value: disallowed_methods
; Section: general
; Description:
; Default: <unset>
;disallowed_methods =
; Value: shrinkcallerid
; Section: general
; Description:
; Default: yes
shrinkcallerid = yes
; Value: use_q850_reason
; Section: general
; Description:
; Default: no
use_q850_reason = no
; Value: maxforwards
; Section: general
; Description:
; Default: 70
maxforwards = 70
; Value: subscribe_network_change_event
; Section: general
; Description:
; Default: yes
subscribe_network_change_event = yes
; Value: parkinglot
; Section: general
; Description:
; Default: parkinglot-public
parkinglot = parkinglot-public
; Value: trustrpid
; Section: general
; Description:
; Default: no
trustrpid = no
; Value: sendrpid
; Section: general
; Description:
; Default: no
sendrpid = no
; Value: rpid_update
; Section: general
; Description:
; Default: no
rpid_update = no
; Value: rpid_immediate
; Section: general
; Description:
; Default: no
rpid_immediate = no
; Value: g726nonstandard
; Section: general
; Description:
; Default: no
g726nonstandard = no
; Value: useclientcode
; Section: general
; Description:
; Default: no
useclientcode = no
; Value: nat
; Section: general
; Description:
; Default: no
nat = no
; Value: directmedia
; Section: general
; Description:
; Default: yes
directmedia = yes
; Value: insecure
; Section: general
; Description:
; Default: no
insecure = no
; Value: progressinband
; Section: general
; Description:
; Default: never
progressinband = never
; Value: promiscredir
; Section: general
; Description:
; Default: no
promiscredir = no
; Value: videosupport
; Section: general
; Description:
; Default: no
videosupport = no
; Value: textsupport
; Section: general
; Description:
; Default: no
textsupport = no
; Value: allowoverlap
; Section: general
; Description:
; Default: yes
allowoverlap = yes
; Value: allowsubscribe
; Section: general
; Description:
; Default: yes
allowsubscribe = yes
; Value: ignoresdpversion
; Section: general
; Description:
; Default: no
ignoresdpversion = no
; Value: faxdetect
; Section: general
; Description:
; Default: no
faxdetect = no
; Value: rfc2833compensate
; Section: general
; Description:
; Default: no
rfc2833compensate = no
; Value: buggymwi
; Section: general
; Description:
; Default: no
buggymwi = no
; Value: t38pt_udptl
; Section: general
; Description:
; Default: no
t38pt_udptl = no
; Value: t38pt_usertpsource
; Section: general
; Description:
; Default: no
t38pt_usertpsource = no
; Value: tlscertfile
; Section: general
; Description:
; Default: <empty>
tlscertfile =
; Value: tlsprivatekey
; Section: general
; Description:
; Default: <empty>
tlsprivatekey =
; Value: tlscafile
; Section: general
; Description:
; Default: <empty>
tlscafile =
; Value: tlscapath
; Section: general
; Description:
; Default: <empty>
tlscapath =
; Value: tlsdontverifyserver
; Section: general
; Description:
; Default: no
tlsdontverifyserver = no
; Value: tlscipher
; Section: general
; Description:
; Default: <empty>
tlscipher =
; Value: tlsclientmethod
; Section: general
; Description:
; Default: sslv2
tlsclientmethod = sslv2
[authentication]
#tryinclude "sip.conf.d/*.conf"

View File

View File

@ -0,0 +1,10 @@
; File: sip_notify.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[polycom-check-cfg]
Event=>check-sync
#tryinclude "sip_notify.conf.d/*.conf"

View File

View File

@ -0,0 +1,11 @@
; File: smdi.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[interfaces]
[mailboxes]
#tryinclude "smdi.conf.d/*.conf"

View File

View File

@ -0,0 +1,44 @@
; File: udptl.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: udptlstart
; Section: general
; Description:
; Default: 4000
udptlstart = 4000
; Value: udptlend
; Section: general
; Description:
; Default: 4999
udptlend = 4999
; Value: udptlchecksums
; Section: general
; Description:
; Default: no
udptlchecksums = no
; Value: udptlfecentries
; Section: general
; Description:
; Default: 3
udptlfecentries = 3
; Value: udptlfecspan
; Section: general
; Description:
; Default: 3
udptlfecspan = 3
; Value: use_even_ports
; Section: general
; Description:
; Default: no
use_even_ports = no
#tryinclude "udptl.conf.d/*.conf"

View File

View File

@ -0,0 +1,302 @@
; File: voicemail.conf
; Description:
; Note: Do NOT edit this file.
; See http://wiki.kickstand-project.org/wiki/Asterisk:Configuration_Files for
; more information about using these configuration files.
[general]
; Value: format
; Section: general
; Description:
; Default: wav49
format = wav49
; Value: serveremail
; Section: general
; Description:
; Default: asterisk
serveremail = asterisk
; Value: attach
; Section: general
; Description:
; Default: yes
attach = yes
; Value: maxmsg
; Section: general
; Description:
; Default: 100
maxmsg = 100
; Value: maxsecs
; Section: general
; Description:
; Default:
;maxsecs = 180
; Value: minsecs
; Section: general
; Description:
; Default:
;minsecs = 3
; Value: maxgreet
; Section: general
; Description:
; Default:
;maxgreet = 60
; Value: skipms
; Section: general
; Description:
; Default: 3000
skipms = 3000
; Value: maxsilence
; Section: general
; Description:
; Default: 10
maxsilence = 10
; Value: silencethreshold
; Section: general
; Description:
; Default: 128
silencethreshold = 128
; Value: maxlogins
; Section: general
; Description:
; Default: 3
maxlogins = 3
; Value: moveheard
; Section: general
; Description:
; Default: yes
moveheard = yes
; Value: forward_urgent_auto
; Section: general
; Description:
; Default: no
forward_urgent_auto = no
; Value: userscontext
; Section: general
; Description:
; Default: public
userscontext = public
; Value: externnotify
; Section: general
; Description:
; Default:
;externnotify = /usr/bin/myapp
; Value: smdienable
; Section: general
; Description:
; Default: no
smdienable = no
; Value: smdiport
; Section: general
; Description:
; Default:
;smdiport = /dev/ttyS0
; Value: externpass
; Section: general
; Description:
; Default:
;externpass = /usr/bin/myapp
; Value: externpassnotify
; Section: general
; Description:
; Default:
;externpassnotify = /usr/bin/myapp
; Value: externpasscheck
; Section: general
; Description:
; Default:
;externpasscheck=/usr/local/bin/voicemailpwcheck.py
; Value: directoryintro
; Section: general
; Description:
; Default: <unset>
;directoryintro =
; Value: charset
; Section: general
; Description:
; Default: UTF-8
charset = UTF-8
; Value: adsifdn
; Section: general
; Description:
; Default:
;adsifdn = 0000000F
; Value: adsisec
; Section: general
; Description:
; Default:
;adsisec = 9BDBF7AC
; Value: adsiver
; Section: general
; Description:
; Default:
;adsiver = 1
; Value: pbxskip
; Section: general
; Description:
; Default: no
pbxskip = no
; Value: fromstring
; Section: general
; Description:
; Default: The Asterisk PBX
fromstring = The Asterisk PBX
; Value: usedirectory
; Section: general
; Description:
; Default: no
usedirectory = no
; Value: emailsubject
; Section: general
; Description:
; Default:
emailsubject = [PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
; Value: emailbody
; Section: general
; Description:
; Default:
emailbody = Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE}, so you might\nwant to check it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n
; Value: pagerfromstring
; Section: general
; Description:
; Default: The Asterisk PBX
pagerfromstring = The Asterisk PBX
; Value: pagersubject
; Section: general
; Description:
; Default: New VM
pagersubject = New VM
; Value: pagerbody
; Section: general
; Description:
; Default:
pagerbody = New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE}
; Value: emaildateformat
; Section: general
; Description:
; Default:
emaildateformat = %A, %d %B %Y at %H:%M:%S
; Value: pagerdateformat
; Section: general
; Description:
; Default:
pagerdateformat=%A, %B %d, %Y at %r
; Value: mailcmd
; Section: general
; Description:
; Default:
;mailcmd = /usr/sbin/sendmail -t
; Value: poolmailboxes
; Section: general
; Description:
; Default: no
pollmailboxes = no
; Value: pollfreq
; Section: general
; Description:
; Default: 30
pollfreq = 30
; Value: passwordlocation
; Section: general
; Description:
; Default: spooldir
passwordlocation = spooldir
; Value: forcename
; Section: general
; Description:
; Default: yes
forcename = yes
; Value: forcegreetings
; Section: general
; Description:
; Default: yes
forcegreetings = yes
; Value: nextaftercmd
; Section: general
; Description:
; Default: yes
nextaftercmd = yes
; tz=central
; locale=de_DE.UTF-8
; saycid=yes
; cidinternalcontexts=intern
; sayduration=no
; saydurationm=2
; dialout=fromvm
sendvoicemail=yes
; searchcontexts=yes
; callback=fromvm
; exitcontext=fromvm
; review=yes
; operator=yes
; envelope=no
; delete=yes
; volgain=0.0
; hidefromdir=yes
; tempgreetwarn=yes
; messagewrap=no
; minpassword=0
; vm-password=custom_sound
; vm-newpassword=custom_sound
; vm-passchanged=custom_sound
; vm-reenterpassword=custom_sound
; vm-mismatch=custom_sound
; vm-invalid-password=custom_sound
; vm-pls-try-again=custom_sound
; listen-control-forward-key=#
; listen-control-reverse-key=*
; listen-control-pause-key=0
; listen-control-restart-key=2
; listen-control-stop-key=13456789
backupdeleted = 0
[zonemessages]
#tryinclude "voicemail.conf.d/*.conf"

View File

View File

@ -14,8 +14,14 @@
#
# Class to configure asterisk on a CentOS node.
#
# Note that every node must provide its own asterisk.conf and modules.conf files.
# All other configuration customizations should be done as overrides to the default
# configuration by dropping files into the appropriate conf.d directory.
#
# == Class: asterisk
class asterisk (
$asterisk_conf_source = '',
$modules_conf_source = '',
) {
yumrepo { 'asteriskcurrent':
baseurl => 'http://packages.asterisk.org/centos/$releasever/current/$basearch/',
@ -56,4 +62,39 @@ class asterisk (
ensure => present,
require => Yumrepo['asteriskcurrent'],
}
file {'/etc/asterisk/asterisk.conf':
ensure => present,
owner => 'asterisk',
group => 'asterisk',
mode => '0660',
source => $asterisk_conf_source,
}
file {'/etc/asterisk/modules.conf':
ensure => present,
owner => 'asterisk',
group => 'asterisk',
mode => '0660',
source => $modules_conf_source,
}
file {'/etc/asterisk/':
ensure => present,
recurse => true,
owner => 'asterisk',
group => 'asterisk',
mode => '0660',
source => 'puppet:///modules/asterisk/',
require => Package['asterisk'],
}
service { 'asterisk':
ensure => running,
enable => true,
require => [
Package['asterisk'],
File['/etc/asterisk/'],
]
}
}

View File

@ -0,0 +1,97 @@
[directories]
astetcdir => /etc/asterisk
astmoddir => /usr/lib64/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
astsbindir => /usr/sbin
[options]
;verbose = 3
;debug = 3
;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.
;internal_timing = yes
;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.
;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
;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.
;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.
;forceblackbackground = yes ; Force the background of the terminal to be
; black, in order for terminal colors to show
; up properly.
;defaultlanguage = en ; Default language
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.
;stdexten = gosub ; How to invoke the extensions.conf stdexten.
; macro - Invoke the stdexten using a macro as
; done by legacy Asterisk versions.
; gosub - Invoke the stdexten using a gosub as
; documented in extensions.conf.sample.
; Default gosub.
; Changing the following lines may compromise your security.
;[files]
;astctlpermissions = 0660
;astctlowner = root
;astctlgroup = apache
;astctl = asterisk.ctl
[compat]
;pbx_realtime=1.6
;res_agi=1.6
;app_set=1.6

View File

@ -0,0 +1,89 @@
; The modules.conf file, used to determine which modules Asterisk should load (or
; not load.
;
[modules]
autoload=yes
; Resource modules
noload => res_speech.so
noload => res_phoneprov.so
noload => res_ael_share.so
noload => res_clialiases.so
noload => res_adsi.so
noload => res_calendar.so
noload => res_fax.so
noload => res_smdi.so
noload => res_timing_pthread.so
; PBX modules
noload => pbx_ael.so
noload => pbx_dundi.so
noload => pbx_realtime.so
; Channel modules
noload => chan_oss.so
noload => chan_mgcp.so
noload => chan_skinny.so
noload => chan_phone.so
noload => chan_agent.so
noload => chan_unistim.so
noload => chan_alsa.so
noload => chan_dahdi.so
noload => chan_multicast_rtp.so
; Application modules
noload => app_nbscat.so
noload => app_amd.so
noload => app_minivm.so
noload => app_zapateller.so
noload => app_ices.so
noload => app_sendtext.so
noload => app_speech_utils.so
noload => app_mp3.so
noload => app_flash.so
noload => app_getcpeid.so
noload => app_setcallerid.so
noload => app_adsiprog.so
noload => app_forkcdr.so
noload => app_sms.so
noload => app_morsecode.so
noload => app_followme.so
noload => app_url.so
noload => app_alarmreceiver.so
noload => app_disa.so
noload => app_dahdiras.so
noload => app_senddtmf.so
noload => app_sayunixtime.so
noload => app_test.so
noload => app_externalivr.so
noload => app_image.so
noload => app_dictate.so
noload => app_festival.so
noload => app_authenticate.so
noload => app_cdr.so
noload => app_celgenuserevent.so
noload => app_chanisavail.so
noload => app_channelredirect.so
noload => app_db.so
noload => app_directed_pickup.so
noload => app_directory.so
noload => app_dumpchan.so
noload => app_meetme.so
noload => app_page.so
noload => app_parkandannounce.so
noload => app_privacy.so
noload => app_queue.so
noload => app_transfer.so
noload => app_voicemail.so
noload => app_waitforring.so
noload => app_waitforsilence.so
noload => app_waituntil.so
; CDR modules
noload => cdr_csv.so
noload => cdr_manager.so
noload => cdr_syslog.so
; CEL modules
noload => cel_custom.so
noload => cel_manager.so

View File

@ -31,5 +31,7 @@ class openstack_project::pbx (
)
class { 'asterisk':
asterisk_conf_source => 'puppet:///modules/openstack_project/pbx/asterisk/asterisk.conf',
modules_conf_source => 'puppet:///modules/openstack_project/pbx/asterisk/modules.conf',
}
}