From b16e3e3b0ba524658f0db2406ce01011d2213caf Mon Sep 17 00:00:00 2001 From: Monocots Date: Fri, 10 Apr 2020 16:50:27 +0000 Subject: [PATCH] FS, Add Opus codec on outgoing profile --- .../freeswitch/autoload_configs/modules.conf.xml | 2 +- .../etc/freeswitch/autoload_configs/opus.conf.xml | 15 +++++++++++++++ .../etc/freeswitch/sip_profiles/outgoing.xml | 4 ++-- modules/rhizo_base/manifests/freeswitch.pp | 6 ++++++ 4 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 modules/rhizo_base/files/etc/freeswitch/autoload_configs/opus.conf.xml diff --git a/modules/rhizo_base/files/etc/freeswitch/autoload_configs/modules.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/modules.conf.xml index db427dd..d8ed83b 100644 --- a/modules/rhizo_base/files/etc/freeswitch/autoload_configs/modules.conf.xml +++ b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/modules.conf.xml @@ -95,7 +95,7 @@ - + diff --git a/modules/rhizo_base/files/etc/freeswitch/autoload_configs/opus.conf.xml b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/opus.conf.xml new file mode 100644 index 0000000..7b8ce25 --- /dev/null +++ b/modules/rhizo_base/files/etc/freeswitch/autoload_configs/opus.conf.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/modules/rhizo_base/files/etc/freeswitch/sip_profiles/outgoing.xml b/modules/rhizo_base/files/etc/freeswitch/sip_profiles/outgoing.xml index 648bf91..cf70c65 100644 --- a/modules/rhizo_base/files/etc/freeswitch/sip_profiles/outgoing.xml +++ b/modules/rhizo_base/files/etc/freeswitch/sip_profiles/outgoing.xml @@ -29,8 +29,8 @@ - - + + diff --git a/modules/rhizo_base/manifests/freeswitch.pp b/modules/rhizo_base/manifests/freeswitch.pp index dadcec8..81a2e3c 100644 --- a/modules/rhizo_base/manifests/freeswitch.pp +++ b/modules/rhizo_base/manifests/freeswitch.pp @@ -72,6 +72,12 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common { require => Class['rhizo_base::apt'], } + package { + [ 'freeswitch-mod-opus' ]: + ensure => installed, + require => Class['rhizo_base::apt'], + } + file { '/etc/default/freeswitch': source => 'puppet:///modules/rhizo_base/etc/default/freeswitch', require => Package['freeswitch'],