FS: Rename SIP Profiles

This commit is contained in:
Keith Whyte 2023-08-02 05:52:08 +02:00
parent 0e24b1e31b
commit 1fbe4aef12
10 changed files with 333 additions and 514 deletions

View file

@ -173,56 +173,40 @@ class rhizo_base::freeswitch::common {
require => Package['freeswitch'],
}
file {'/etc/freeswitch/sip_profiles/extrtp':
file {'/etc/freeswitch/sip_profiles/gateways':
ensure => directory,
}
file { '/etc/freeswitch/sip_profiles/outgoing.xml':
content => template('rhizo_base/outgoing.xml.erb'),
file { '/etc/freeswitch/sip_profiles/extrtp.xml':
content => template('rhizo_base/extrtp.xml.erb'),
require =>
[ Package[ 'freeswitch' ],
File[ '/etc/freeswitch/' ] ],
}
file { '/etc/freeswitch/sip_profiles/extrtp/rhizoextrtp.xml':
content => template('rhizo_base/rhizoextrtp.xml.erb'),
file { '/etc/freeswitch/sip_profiles/rem_xcode.xml':
content => template('rhizo_base/rem_xcode.xml.erb'),
require =>
[ Package['freeswitch'],
File['/etc/freeswitch/sip_profiles/extrtp'] ],
File['/etc/freeswitch/'] ],
}
file {'/etc/freeswitch/sip_profiles/external':
ensure => directory,
file { '/etc/freeswitch/sip_profiles/GERAN.xml':
content => template('rhizo_base/GERAN.xml.erb'),
}
file { '/etc/freeswitch/sip_profiles/external/provider.xml':
content => template('rhizo_base/provider.xml.erb'),
require =>
[ Package['freeswitch'],
File['/etc/freeswitch/sip_profiles/external'] ],
}
file { '/etc/freeswitch/sip_profiles/internal.xml':
content => template('rhizo_base/internal.xml.erb'),
}
file {'/etc/freeswitch/sip_profiles/outgoing':
ensure => directory,
}
file { '/etc/freeswitch/sip_profiles/outgoing/rhizomatica.xml':
file { '/etc/freeswitch/sip_profiles/gateways/rhizomatica.xml':
content => template('rhizo_base/rhizomatica.xml.erb'),
require =>
[ Package['freeswitch'],
File['/etc/freeswitch/sip_profiles/outgoing'] ],
File['/etc/freeswitch/sip_profiles/gateways'] ],
}
file { '/etc/freeswitch/sip_profiles/outgoing/rhizoalt.xml':
file { '/etc/freeswitch/sip_profiles/gateways/rhizoalt.xml':
content => template('rhizo_base/rhizoalt.xml.erb'),
require =>
[ Package['freeswitch'],
File['/etc/freeswitch/sip_profiles/outgoing'] ],
File['/etc/freeswitch/sip_profiles/gateways'] ],
}
file { '/etc/freeswitch/autoload_configs/acl.conf.xml':