Add Fallback Outgoing SIP Profile
This commit is contained in:
parent
765196882d
commit
e73425ed2e
2 changed files with 17 additions and 1 deletions
|
@ -189,7 +189,7 @@ class rhizo_base::freeswitch::common {
|
||||||
content => template('rhizo_base/rhizoextrtp.xml.erb'),
|
content => template('rhizo_base/rhizoextrtp.xml.erb'),
|
||||||
require =>
|
require =>
|
||||||
[ Package['freeswitch'],
|
[ Package['freeswitch'],
|
||||||
File['/etc/freeswitch/sip_profiles/outgoing'] ],
|
File['/etc/freeswitch/sip_profiles/extrtp'] ],
|
||||||
}
|
}
|
||||||
|
|
||||||
file {'/etc/freeswitch/sip_profiles/external':
|
file {'/etc/freeswitch/sip_profiles/external':
|
||||||
|
@ -218,6 +218,13 @@ class rhizo_base::freeswitch::common {
|
||||||
File['/etc/freeswitch/sip_profiles/outgoing'] ],
|
File['/etc/freeswitch/sip_profiles/outgoing'] ],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { '/etc/freeswitch/sip_profiles/outgoing/rhizoalt.xml':
|
||||||
|
content => template('rhizo_base/rhizoalt.xml.erb'),
|
||||||
|
require =>
|
||||||
|
[ Package['freeswitch'],
|
||||||
|
File['/etc/freeswitch/sip_profiles/outgoing'] ],
|
||||||
|
}
|
||||||
|
|
||||||
file { '/etc/freeswitch/autoload_configs/acl.conf.xml':
|
file { '/etc/freeswitch/autoload_configs/acl.conf.xml':
|
||||||
content => template('rhizo_base/acl.conf.xml.erb'),
|
content => template('rhizo_base/acl.conf.xml.erb'),
|
||||||
require => Package['freeswitch'],
|
require => Package['freeswitch'],
|
||||||
|
|
9
modules/rhizo_base/templates/rhizoalt.xml.erb
Normal file
9
modules/rhizo_base/templates/rhizoalt.xml.erb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<include>
|
||||||
|
<gateway name="rhizoalt">
|
||||||
|
<param name="username" value="rhizomatica"/>
|
||||||
|
<param name="from-user" value="<%= @voip_fromuser %>"/>
|
||||||
|
<param name="password" value="<%= @voip_password %>"/>
|
||||||
|
<param name="proxy" value="<%= @sip_central_ip_address[1] %>"/>
|
||||||
|
<param name="register" value="false"/>
|
||||||
|
</gateway>
|
||||||
|
</include>
|
Loading…
Add table
Add a link
Reference in a new issue