Merge "Invert modules.conf logic"

This commit is contained in:
Jenkins 2013-08-11 16:45:12 +00:00 committed by Gerrit Code Review
commit 5512c483b5
3 changed files with 4 additions and 91 deletions

View File

@ -37,10 +37,7 @@ define asterisk::function::customdir(
notify => Exec["asterisk-module-reload-${name}"],
purge => true,
recurse => true,
require => [
File[$basedir],
Service['asterisk'],
]
require => File[$basedir],
}
}

View File

@ -183,8 +183,10 @@ class asterisk::server::command {
refreshonly => true,
}
# Force asterisk to restart to load / unload modules.
exec { 'asterisk-module-reload-modules.conf':
command => '/bin/true',
notify => Service['asterisk'],
refreshonly => true,
}

View File

@ -1,89 +1,3 @@
; 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
load => app_confbridge.so