Add option to specify codecs on "outgoing" profile
This commit is contained in:
parent
020284bf96
commit
f709539b0b
3 changed files with 15 additions and 0 deletions
|
@ -118,6 +118,7 @@ class rhizo_base::freeswitch::common {
|
|||
$sip_central_ip_address = $rhizo_base::sip_central_ip_address
|
||||
$reg_provider = $rhizo_base::reg_provider
|
||||
$mncc_ip_address = $rhizo_base::mncc_ip_address
|
||||
$upstream_codec = $rhizo_base::upstream_codec
|
||||
|
||||
$fs_version = "${lsbdistcodename}" ? {
|
||||
'buster' => '1.8.6',
|
||||
|
@ -185,6 +186,14 @@ class rhizo_base::freeswitch::common {
|
|||
ensure => directory,
|
||||
}
|
||||
|
||||
file { '/etc/freeswitch/sip_profiles/outgoing.xml':
|
||||
content => template('rhizo_base/outgoing.xml.erb'),
|
||||
require =>
|
||||
[ Package[ 'freeswitch' ],
|
||||
File[ '/etc/freeswitch/' ] ],
|
||||
}
|
||||
|
||||
|
||||
file { '/etc/freeswitch/sip_profiles/extrtp/rhizoextrtp.xml':
|
||||
content => template('rhizo_base/rhizoextrtp.xml.erb'),
|
||||
require =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue