diff --git a/modules/rhizo_base/files/mod_amr.so b/modules/rhizo_base/files/mod_amr.so new file mode 100644 index 0000000..e5c8d10 Binary files /dev/null and b/modules/rhizo_base/files/mod_amr.so differ diff --git a/modules/rhizo_base/manifests/freeswitch.pp b/modules/rhizo_base/manifests/freeswitch.pp index 5c417f6..7beede6 100644 --- a/modules/rhizo_base/manifests/freeswitch.pp +++ b/modules/rhizo_base/manifests/freeswitch.pp @@ -63,6 +63,16 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common { require => Package['freeswitch'], } + file { '/usr/lib/freeswitch/mod/mod_amr.so': + source => 'puppet:///modules/rhizo_base/mod_amr.so', + require => Package['freeswitch'], + } + + file { '/etc/freeswitch/autoload_configs/amr.conf.xml': + content => template('rhizo_base/amr.conf.xml.erb'), + require => Package['freeswitch'], + } + file { '/etc/freeswitch/autoload_configs/modules.conf.xml': content => template('rhizo_base/modules.conf.xml.erb'), require => Package['freeswitch'], diff --git a/modules/rhizo_base/templates/amr.conf.xml.erb b/modules/rhizo_base/templates/amr.conf.xml.erb new file mode 100644 index 0000000..04f19e5 --- /dev/null +++ b/modules/rhizo_base/templates/amr.conf.xml.erb @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + +