Changes to SEMS config to support multi-peer SEMS
This commit is contained in:
parent
04c1091a10
commit
49faecf734
3 changed files with 7 additions and 0 deletions
|
@ -12,10 +12,12 @@
|
|||
#
|
||||
class rhizo_base::sems {
|
||||
|
||||
$prefix = "$rhizo_base::postcode$rhizo_base::pbxcode"
|
||||
$vpn_ip_address = $rhizo_base::vpn_ip_address
|
||||
$vsat_ip_address = hiera('rhizo::vsat_ip_address', '127.0.0.1')
|
||||
$vsat_serv_ip_address = hiera('rhizo::vsat_serv_ip_address', '192.168.12.10')
|
||||
$rtp_mux_port = hiera('rhizo::rtp_mux_port', '5000')
|
||||
$stream_min = hiera('rhizo::rtp_mux_stream_min', '1')
|
||||
$dids = hiera('rhizo::dids', '')
|
||||
|
||||
package { ['sems', ]:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<% @dids.each do |did| -%>
|
||||
^.*_<%= did -%>$=>mux-in
|
||||
<% end -%>
|
||||
^.*_<%= @prefix %>=>mux-in
|
||||
^rhizomatica_00.*$=>mux-out
|
||||
|
|
|
@ -229,6 +229,10 @@ rtp_mux_max_frame_age_ms=30
|
|||
# b_rtp_mux_port must be configured in the SBC profile.
|
||||
#
|
||||
|
||||
rtp_mux_stream_id_min=<%= @stream_min %>
|
||||
rtp_mux_stream_id_max=<%= @stream_min+30 %>
|
||||
|
||||
|
||||
############################################################
|
||||
# modules and application configuration
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue