Add gateway to Ext RTP profile

This commit is contained in:
Keith Whyte 2020-05-22 05:46:41 +02:00
parent 85b3ab856c
commit e1581b5a88
2 changed files with 21 additions and 0 deletions

View file

@ -172,6 +172,17 @@ class rhizo_base::freeswitch::common {
require => Package['freeswitch'],
}
file {'/etc/freeswitch/sip_profiles/extrtp':
ensure => directory,
}
file { '/etc/freeswitch/sip_profiles/extrtp/rhizoextrtp.xml':
content => template('rhizo_base/rhizoextrtp.xml.erb'),
require =>
[ Package['freeswitch'],
File['/etc/freeswitch/sip_profiles/outgoing'] ],
}
file {'/etc/freeswitch/sip_profiles/external':
ensure => directory,
}