Split out Asterisk module

Depends-on: Idf1e8c20197fe88cfad22eea932afa3da9b0131e
Change-Id: I0762b10f449f7567b8d6668d16e307d0a1e8f07a
This commit is contained in:
Ramy Asselin 2015-01-28 09:23:30 -08:00
parent 570abf2dce
commit 92af6a744d
54 changed files with 1 additions and 3662 deletions

View File

@ -56,6 +56,7 @@ SOURCE_MODULES["https://github.com/puppet-community/puppet-module-puppetboard"]=
# Add modules that should be part of the openstack-infra integration test here
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-asterisk"]="origin/master"
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-elasticsearch"]="origin/master"
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-storyboard"]="origin/master"
INTEGRATION_MODULES["https://git.openstack.org/openstack-infra/puppet-kibana"]="origin/master"

View File

@ -1,9 +0,0 @@
; 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

@ -1,56 +0,0 @@
; 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

@ -1,7 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,87 +0,0 @@
; 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

@ -1,7 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,16 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,41 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,7 +0,0 @@
; 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

@ -1,22 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,7 +0,0 @@
; 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

@ -1,357 +0,0 @@
[general]
; The general section of this config
; is not currently used, but reserved
; for future use.
;
; --- Default Information ---
; The default_user and default_bridge sections are applied
; automatically to all ConfBridge instances invoked without
; a user, or bridge argument. No menu is applied by default.
;
; Note that while properties of the default_user or default_bridge
; profile can be overridden, if removed, they will be automatically
; added and made available to the dialplan upon module load.
;
; --- ConfBridge User Profile Options ---
[default_user]
type=user
;admin=yes ; Sets if the user is an admin or not. Off by default.
;marked=yes ; Sets if this is a marked user or not. Off by default.
;startmuted=yes; Sets if all users should start out muted. Off by default
;music_on_hold_when_empty=yes ; Sets whether MOH should be played when only
; one person is in the conference or when the
; the user is waiting on a marked user to enter
; the conference. Off by default.
;music_on_hold_class=default ; The MOH class to use for this user.
;quiet=yes ; When enabled enter/leave prompts and user intros are not played.
; There are some prompts, such as the prompt to enter a PIN number,
; that must be played regardless of what this option is set to.
; Off by default
;announce_user_count=yes ; Sets if the number of users should be announced to the
; caller. Off by default.
;announce_user_count_all=yes ; Sets if the number of users should be announced to
; all the other users in the conference when someone joins.
; This option can be either set to 'yes' or a number.
; When set to a number, the announcement will only occur
; once the user count is above the specified number.
;announce_only_user=yes ; Sets if the only user announcement should be played
; when a channel enters a empty conference. On by default.
;wait_marked=yes ; Sets if the user must wait for a marked user to enter before
; joining the conference. Off by default.
;end_marked=yes ; This option will kick every user with this option set in their
; user profile after the last Marked user exists the conference.
dsp_drop_silence=yes ; This option drops what Asterisk detects as silence from
; entering into the bridge. Enabling this option will drastically
; improve performance and help remove the buildup of background
; noise from the conference. Highly recommended for large conferences
; due to its performance enhancements.
;dsp_talking_threshold=128 ; The time in milliseconds of sound above what the dsp has
; established as base line silence for a user before a user
; is considered to be talking. This value affects several
; operations and should not be changed unless the impact on
; call quality is fully understood.
;
; What this value affects internally:
;
; 1. Audio is only mixed out of a user's incoming audio stream
; if talking is detected. If this value is set too
; loose the user will hear themselves briefly each
; time they begin talking until the dsp has time to
; establish that they are in fact talking.
; 2. When talk detection AMI events are enabled, this value
; determines when talking has begun which results in
; an AMI event to fire. If this value is set too tight
; AMI events may be falsely triggered by variants in
; room noise.
; 3. The drop_silence option depends on this value to determine
; when the user's audio should be mixed into the bridge
; after periods of silence. If this value is too loose
; the beginning of a user's speech will get cut off as they
; transition from silence to talking.
;
; By default this value is 160 ms. Valid values are 1 through 2^31
dsp_silence_threshold=1000 ; The time in milliseconds of sound falling within the what
; the dsp has established as baseline silence before a user
; is considered be silent. This value affects several
; operations and should not be changed unless the impact
; on call quality is fully understood.
;
; What this value affects internally:
;
; 1. When talk detection AMI events are enabled, this value
; determines when the user has stopped talking after a
; period of talking. If this value is set too low
; AMI events indicating the user has stopped talking
; may get falsely sent out when the user briefly pauses
; during mid sentence.
; 2. The drop_silence option depends on this value to
; determine when the user's audio should begin to be
; dropped from the conference bridge after the user
; stops talking. If this value is set too low the user's
; audio stream may sound choppy to the other participants.
; This is caused by the user transitioning constantly from
; silence to talking during mid sentence.
;
; The best way to approach this option is to set it slightly above
; the maximum amount of ms of silence a user may generate during
; natural speech.
;
; By default this value is 2500ms. Valid values are 1 through 2^31
;talk_detection_events=yes ; This option sets whether or not notifications of when a user
; begins and ends talking should be sent out as events over AMI.
; By default this option is off.
denoise=yes ; Sets whether or not a denoise filter should be applied
; to the audio before mixing or not. Off by default. Requires
; codec_speex to be built and installed. Do not confuse this option
; with drop_silence. Denoise is useful if there is a lot of background
; noise for a user as it attempts to remove the noise while preserving
; the speech. This option does NOT remove silence from being mixed into
; the conference and does come at the cost of a slight performance hit.
jitterbuffer=yes ; Enabling this option places a jitterbuffer on the user's audio stream
; before audio mixing is performed. This is highly recommended but will
; add a slight delay to the audio. This option is using the JITTERBUFFER
; dialplan function's default adaptive jitterbuffer. For a more fine tuned
; jitterbuffer, disable this option and use the JITTERBUFFER dialplan function
; on the user before entering the ConfBridge application.
;pin=1234 ; Sets if this user must enter a PIN number before entering
; the conference. The PIN will be prompted for.
;announce_join_leave=yes ; When enabled, this option will prompt the user for a
; name when entering the conference. After the name is
; recorded, it will be played as the user enters and exists
; the conference. This option is off by default.
;dtmf_passthrough=yes ; Sets whether or not DTMF should pass through the conference.
; This option is off by default.
;announcement=</path/to/file> ; Play a sound file to the user when they join the conference.
; --- ConfBridge Bridge Profile Options ---
[default_bridge]
type=bridge
;max_members=50 ; This option limits the number of participants for a single
; conference to a specific number. By default conferences
; have no participant limit. After the limit is reached, the
; conference will be locked until someone leaves. Note however
; that an Admin user will always be alowed to join the conference
; regardless if this limit is reached or not.
;record_conference=yes ; Records the conference call starting when the first user
; enters the room, and ending when the last user exits the room.
; The default recorded filename is
; 'confbridge-<name of conference bridge>-<start time>.wav
; and the default format is 8khz slinear. This file will be
; located in the configured monitoring directory in asterisk.conf.
;record_file=</path/to/file> ; When record_conference is set to yes, the specific name of the
; record file can be set using this option. Note that since multiple
; conferences may use the same bridge profile, this may cause issues
; depending on the configuration. It is recommended to only use this
; option dynamically with the CONFBRIDGE() dialplan function. This
; allows the record name to be specified and a unique name to be chosen.
; By default, the record_file is stored in Asterisk's spool/monitor directory
; with a unique filename starting with the 'confbridge' prefix.
;internal_sample_rate=auto ; Sets the internal native sample rate the
; conference is mixed at. This is set to automatically
; adjust the sample rate to the best quality by default.
; Other values can be anything from 8000-192000. If a
; sample rate is set that Asterisk does not support, the
; closest sample rate Asterisk does support to the one requested
; will be used.
;mixing_interval=40 ; Sets the internal mixing interval in milliseconds for the bridge. This
; number reflects how tight or loose the mixing will be for the conference.
; In order to improve performance a larger mixing interval such as 40ms may
; be chosen. Using a larger mixing interval comes at the cost of introducing
; larger amounts of delay into the bridge. Valid values here are 10, 20, 40,
; or 80. By default 20ms is used.
;video_mode = follow_talker; Sets how confbridge handles video distribution to the conference participants.
; Note that participants wanting to view and be the source of a video feed
; _MUST_ be sharing the same video codec. Also, using video in conjunction with
; with the jitterbuffer currently results in the audio being slightly out of sync
; with the video. This is a result of the jitterbuffer only working on the audio
; stream. It is recommended to disable the jitterbuffer when video is used.
;
; --- MODES ---
; none: No video sources are set by default in the conference. It is still
; possible for a user to be set as a video source via AMI or DTMF action
; at any time.
;
; follow_talker: The video feed will follow whoever is talking and providing video.
;
; last_marked: The last marked user to join the conference with video capabilities
; will be the single source of video distributed to all participants.
; If multiple marked users are capable of video, the last one to join
; is always the source, when that user leaves it goes to the one who
; joined before them.
;
; first_marked: The first marked user to join the conference with video capabilities
; is the single source of video distribution among all participants. If
; that user leaves, the marked user to join after them becomes the source.
; All sounds in the conference are customizable using the bridge profile options below.
; Simply state the option followed by the filename or full path of the filename after
; the option. Example: sound_had_joined=conf-hasjoin This will play the conf-hasjoin
; sound file found in the sounds directory when announcing someone's name is joining the
; conference.
;sound_join ; The sound played to everyone when someone enters the conference.
;sound_leave ; The sound played to everyone when someone leaves the conference.
;sound_has_joined ; The sound played before announcing someone's name has
; joined the conference. This is used for user intros.
; Example "_____ has joined the conference"
;sound_has_left ; The sound played when announcing someone's name has
; left the conference. This is used for user intros.
; Example "_____ has left the conference"
;sound_kicked ; The sound played to a user who has been kicked from the conference.
;sound_muted ; The sound played when the mute option it toggled on.
;sound_unmuted ; The sound played when the mute option it toggled off.
;sound_only_person ; The sound played when the user is the only person in the conference.
;sound_only_one ; The sound played to a user when there is only one other
; person is in the conference.
;sound_there_are ; The sound played when announcing how many users there
; are in a conference.
;sound_other_in_party; ; This file is used in conjunction with 'sound_there_are"
; when announcing how many users there are in the conference.
; The sounds are stringed together like this.
; "sound_there_are" <number of participants> "sound_other_in_party"
;sound_place_into_conference ; The sound played when someone is placed into the conference
; after waiting for a marked user.
;sound_wait_for_leader ; The sound played when a user is placed into a conference that
; can not start until a marked user enters.
;sound_leader_has_left ; The sound played when the last marked user leaves the conference.
;sound_get_pin ; The sound played when prompting for a conference pin number.
;sound_invalid_pin ; The sound played when an invalid pin is entered too many times.
;sound_locked ; The sound played to a user trying to join a locked conference.
;sound_locked_now ; The sound played to an admin after toggling the conference to locked mode.
;sound_unlocked_now; The sound played to an admin after toggling the conference to unlocked mode.
;sound_error_menu ; The sound played when an invalid menu option is entered.
; --- ConfBridge Menu Options ---
; The ConfBridge application also has the ability to
; apply custom DTMF menus to each channel using the
; application. Like the User and Bridge profiles
; a menu is passed in to ConfBridge as an argument in
; the dialplan.
;
; Below is a list of menu actions that can be assigned
; to a DTMF sequence.
;
; A single DTMF sequence can have multiple actions associated with it. This is
; accomplished by stringing the actions together and using a ',' as the delimiter.
; Example: Both listening and talking volume is reset when '5' is pressed.
; 5=reset_talking_volume, reset_listening_volume
;
; playback(<name of audio file>&<name of audio file>)
; Playback will play back an audio file to a channel
; and then immediately return to the conference.
; This file can not be interupted by DTMF.
; Mutliple files can be chained together using the
; '&' character.
; playback_and_continue(<name of playback prompt>&<name of playback prompt>)
; playback_and_continue will
; play back a prompt while continuing to
; collect the dtmf sequence. This is useful
; when using a menu prompt that describes all
; the menu options. Note however that any DTMF
; during this action will terminate the prompts
; playback. Prompt files can be chained together
; using the '&' character as a delimiter.
; toggle_mute ; Toggle turning on and off mute. Mute will make the user silent
; to everyone else, but the user will still be able to listen in.
; continue to collect the dtmf sequence.
; no_op ; This action does nothing (No Operation). Its only real purpose exists for
; being able to reserve a sequence in the config as a menu exit sequence.
; decrease_listening_volume ; Decreases the channel's listening volume.
; increase_listening_volume ; Increases the channel's listening volume.
; reset_listening_volume ; Reset channel's listening volume to default level.
; decrease_talking_volume ; Decreases the channel's talking volume.
; increase_talking_volume ; Icreases the channel's talking volume.
; reset_talking_volume ; Reset channel's talking volume to default level.
;
; dialplan_exec(context,exten,priority) ; The dialplan_exec action allows a user
; to escape from the conference and execute
; commands in the dialplan. Once the dialplan
; exits the user will be put back into the
; conference. The possibilities are endless!
; leave_conference ; This action allows a user to exit the conference and continue
; execution in the dialplan.
;
; admin_kick_last ; This action allows an Admin to kick the last participant from the
; conference. This action will only work for admins which allows
; a single menu to be used for both users and admins.
;
; admin_toggle_conference_lock ; This action allows an Admin to toggle locking and
; unlocking the conference. Non admins can not use
; this action even if it is in their menu.
; set_as_single_video_src ; This action allows any user to set themselves as the
; single video source distributed to all participants.
; This will make the video feed stick to them regardless
; of what the video_mode is set to.
; release_as_single_video_src ; This action allows a user to release themselves as
; the video source. If video_mode is not set to "none"
; this action will result in the conference returning to
; whatever video mode the bridge profile is using.
;
; Note that this action will have no effect if the user
; is not currently the video source. Also, the user is
; not guaranteed by using this action that they will not
; become the video source again. The bridge will return
; to whatever operation the video_mode option is set to
; upon release of the video src.
; admin_toggle_mute_participants ; This action allows an administrator to toggle the mute
; state for all non-admins within a conference. All
; admin users are unaffected by this option. Note that all
; users, regardless of their admin status, are notified
; that the conference is muted.
; participant_count ; This action plays back the number of participants currently
; in a conference
[sample_user_menu]
type=menu
*=playback_and_continue(conf-usermenu)
*1=toggle_mute
1=toggle_mute
*4=decrease_listening_volume
4=decrease_listening_volume
*6=increase_listening_volume
6=increase_listening_volume
*7=decrease_talking_volume
7=decrease_talking_volume
*8=leave_conference
8=leave_conference
*9=increase_talking_volume
9=increase_talking_volume
[sample_user_menu]
type=menu
*=playback_and_continue(conf-adminmenu)
*1=toggle_mute
1=toggle_mute
*2=admin_toggle_conference_lock ; only applied to admin users
2=admin_toggle_conference_lock ; only applied to admin users
*3=admin_kick_last ; only applied to admin users
3=admin_kick_last ; only applied to admin users
*4=decrease_listening_volume
4=decrease_listening_volume
*6=increase_listening_volume
6=increase_listening_volume
*7=decrease_talking_volume
7=decrease_talking_volume
*8=no_op
8=no_op
*9=increase_talking_volume
9=increase_talking_volume

View File

@ -1,20 +0,0 @@
; 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

@ -1,14 +0,0 @@
; 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

@ -1,100 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,40 +0,0 @@
; 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

@ -1,13 +0,0 @@
; 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

@ -1,7 +0,0 @@
; 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

@ -1,26 +0,0 @@
; 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

@ -1,40 +0,0 @@
; 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

@ -1,344 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,27 +0,0 @@
; 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

@ -1,44 +0,0 @@
; 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

@ -1,69 +0,0 @@
; 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

@ -1,125 +0,0 @@
; 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

@ -1,46 +0,0 @@
; 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

@ -1,135 +0,0 @@
; File: modules.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.
[modules]
; Value: autoload
; Section: modules
; Description:
; Default: no
autoload = no
; Applications
load => app_authenticate.so
load => app_chanisavail.so
load => app_chanspy.so
load => app_dial.so
load => app_directory.so
load => app_echo.so
load => app_exec.so
load => app_macro.so
load => app_originate.so
load => app_playback.so
load => app_playtones.so
load => app_queue.so
load => app_read.so
load => app_record.so
load => app_sayunixtime.so
load => app_senddtmf.so
load => app_softhangup.so
load => app_stack.so
load => app_system.so
load => app_transfer.so
load => app_userevent.so
load => app_verbose.so
load => app_while.so
; Bridge
load => bridge_builtin_features.so
load => bridge_multiplexed.so
load => bridge_simple.so
load => bridge_softmix.so
; CDR
; CEL
; Channels
load => chan_local.so
load => chan_sip.so
; Codec
load => codec_adpcm.so
load => codec_alaw.so
load => codec_a_mu.so
load => codec_g722.so
load => codec_g726.so
load => codec_gsm.so
load => codec_lpc10.so
load => codec_ulaw.so
; Formats
load => format_g719.so
load => format_g723.so
load => format_g726.so
load => format_g729.so
load => format_gsm.so
load => format_h263.so
load => format_h264.so
load => format_ilbc.so
load => format_jpeg.so
load => format_pcm.so
load => format_siren14.so
load => format_siren7.so
load => format_sln.so
load => format_vox.so
load => format_wav_gsm.so
load => format_wav.so
; Functions
load => func_aes.so
load => func_audiohookinherit.so
load => func_base64.so
load => func_blacklist.so
load => func_callcompletion.so
load => func_callerid.so
load => func_cdr.so
load => func_channel.so
load => func_config.so
load => func_cut.so
load => func_db.so
load => func_devstate.so
load => func_dialgroup.so
load => func_dialplan.so
load => func_enum.so
load => func_env.so
load => func_extstate.so
load => func_frame_trace.so
load => func_global.so
load => func_groupcount.so
load => func_iconv.so
load => func_lock.so
load => func_logic.so
load => func_math.so
load => func_md5.so
load => func_module.so
load => func_pitchshift.so
load => func_rand.so
load => func_realtime.so
load => func_sha1.so
load => func_shell.so
load => func_sprintf.so
load => func_srv.so
load => func_strings.so
load => func_timeout.so
load => func_uri.so
load => func_version.so
load => func_vmcount.so
load => func_volume.so
; PBX
load => pbx_config.so
load => pbx_loopback
; Resource
load => res_agi.so
load => res_crypto.so
load => res_monitor.so
load => res_musiconhold.so
load => res_rtp_asterisk.so
load => res_security_log.so
load => res_timing_timerfd.so
#tryinclude "modules.conf.d/*.conf"

View File

@ -1,13 +0,0 @@
; 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

@ -1,7 +0,0 @@
; 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

@ -1,44 +0,0 @@
; 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

@ -1,20 +0,0 @@
; 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

@ -1,38 +0,0 @@
; 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

@ -1,7 +0,0 @@
; 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

@ -1,9 +0,0 @@
; 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

@ -1,20 +0,0 @@
; 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

@ -1,44 +0,0 @@
; 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

@ -1,14 +0,0 @@
; 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

@ -1,892 +0,0 @@
; 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

@ -1,10 +0,0 @@
; 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

@ -1,11 +0,0 @@
; 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

@ -1,44 +0,0 @@
; 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

@ -1,302 +0,0 @@
; 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

@ -1,44 +0,0 @@
# == Define: asterisk::function::customdir
#
# This class manages the asterisk server
#
# === Examples
#
# asterisk::function::customdir { 'cdr.conf': }
#
# === Authors
#
# Paul Belanger <paul.belanger@polybeacon.com>
#
# === Copyright
#
# Copyright (C) 2012, PolyBeacon, Inc.
#
# This program is free software, distributed under the terms
# of the Apache License, Version 2.0. See the LICENSE file at
# the top of the source tree.
#
define asterisk::function::customdir(
) {
include asterisk
File {
group => 'asterisk',
mode => '0640',
owner => 'asterisk',
}
$basedir = '/etc/asterisk'
$base = "${basedir}/${name}.d"
file { $base:
ensure => directory,
force => true,
notify => Exec["asterisk-module-reload-${name}"],
purge => true,
recurse => true,
require => File[$basedir],
}
}
# vim:sw=2:ts=2:expandtab

View File

@ -1,127 +0,0 @@
# Copyright 2013 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# 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 = '',
) {
include asterisk::server::command
yumrepo { 'asteriskcurrent':
baseurl => 'http://packages.asterisk.org/centos/$releasever/current/$basearch/',
descr => 'Asterisk supporting packages produced by Digium',
enabled => 1,
gpgcheck => 0,
}
yumrepo { 'asterisk11':
baseurl => 'http://packages.asterisk.org/centos/$releasever/asterisk-11/$basearch/',
descr => 'Asterisk packages produced by Digium',
enabled => 1,
gpgcheck => 0,
require => Yumrepo['asteriskcurrent'],
}
package { 'asterisknow-version' :
ensure => present,
require => [
Yumrepo['asteriskcurrent'],
],
}
package { 'asterisk' :
ensure => present,
require => [
Yumrepo['asterisk11'],
Package['asterisknow-version'],
],
}
$sounds = [
'asterisk-sounds-core-en-g722',
'asterisk-sounds-core-en-ulaw',
'asterisk-sounds-core-en-gsm',
'asterisk-sounds-extra-en-ulaw',
'asterisk-sounds-extra-en-gsm',
'asterisk-sounds-moh-opsound-wav',
'asterisk-sounds-moh-opsound-ulaw',
]
package { $sounds :
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.d/modules.conf':
ensure => present,
owner => 'asterisk',
group => 'asterisk',
mode => '0660',
source => $modules_conf_source,
}
file { '/etc/asterisk':
ensure => present,
recurse => true,
purge => true,
force => true,
owner => 'asterisk',
group => 'asterisk',
mode => '0660',
source => 'puppet:///modules/asterisk/',
require => Package['asterisk'],
}
$files = [
'ais.conf', 'amd.conf', 'asterisk.conf', 'calendar.conf', 'ccss.conf',
'cdr_adaptive_odbc.conf', 'cdr.conf', 'cdr_custom.conf',
'cdr_manager.conf', 'cdr_syslog.conf', 'cel.conf', 'cel_custom.conf',
'cel_odbc.conf', 'chan_dahdi.conf', 'cli.conf', 'cli_permissions.conf',
'codecs.conf', 'dnsmgr.conf', 'dsp.conf', 'dundi.conf', 'enum.conf',
'extconfig.conf', 'extensions.conf', 'features.conf', 'func_odbc.conf',
'gtalk.conf', 'http.conf', 'iax.conf', 'iaxprov.conf',
'indications.conf', 'jabber.conf', 'logger.conf', 'manager.conf',
'meetme.conf', 'modules.conf', 'musiconhold.conf', 'queuerules.conf',
'queues.conf', 'res_curl.conf', 'res_fax.conf', 'res_ldap.conf',
'res_odbc.conf', 'res_stun_monitor.conf', 'rtp.conf', 'say.conf',
'sip.conf', 'sip_notify.conf', 'smdi.conf', 'udptl.conf',
'voicemail.conf',
]
asterisk::function::customdir { $files: }
service { 'asterisk':
ensure => running,
enable => true,
require => [
Package['asterisk'],
File['/etc/asterisk/'],
]
}
}

View File

@ -1,269 +0,0 @@
# == Class: asterisk::server::command
#
# === Authors
#
# Paul Belanger <paul.belanger@polybeacon.com>
#
# === Copyright
#
# Copyright (C) 2012, PolyBeacon, Inc.
#
# This program is free software, distributed under the terms
# of the Apache License, Version 2.0. See the LICENSE file at
# the top of the source tree.
#
class asterisk::server::command {
exec { 'asterisk-module-reload-ais.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-amd.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-asterisk.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-calendar.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-ccss.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cdr_adaptive_odbc.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cdr.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cdr_custom.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cdr_manager.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cdr_syslog.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cel.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cel_custom.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cel_odbc.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-chan_dahdi.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cli.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-cli_permissions.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-codecs.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-dnsmgr.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-dsp.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-dundi.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-enum.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-extconfig.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-extensions.conf':
command => '/usr/sbin/asterisk -rx "dialplan reload"',
refreshonly => true,
}
exec { 'asterisk-module-reload-features.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-func_odbc.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-gtalk.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-http.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-iax.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-iaxprov.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-indications.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-jabber.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-logger.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-manager.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-meetme.conf':
command => '/bin/true',
refreshonly => true,
}
# Force asterisk to restart to load / unload modules.
exec { 'asterisk-module-reload-modules.conf':
command => '/bin/true',
notify => Service['asterisk'],
refreshonly => true,
}
exec { 'asterisk-module-reload-musiconhold.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-queuerules.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-queues.conf':
command => '/usr/sbin/asterisk -rx "module reload app_queue.so"',
refreshonly => true,
}
exec { 'asterisk-module-reload-res_curl.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-res_fax.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-res_ldap.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-res_odbc.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-res_stun_monitor.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-rtp.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-say.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-sip.conf':
command => '/usr/sbin/asterisk -rx "module reload chan_sip.so"',
refreshonly => true,
}
exec { 'asterisk-module-reload-sip_notify.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-smdi.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-udptl.conf':
command => '/bin/true',
refreshonly => true,
}
exec { 'asterisk-module-reload-voicemail.conf':
command => '/usr/sbin/asterisk -rx "module reload app_voicemail.so"',
refreshonly => true,
}
}
# vim:sw=2:ts=2:expandtab