Fix sems regex map and config typo

This commit is contained in:
Keith Whyte 2021-03-11 08:30:10 +01:00
parent 5288e0ad98
commit 39c7fa358f
3 changed files with 5 additions and 3 deletions

View file

@ -16,6 +16,7 @@ class rhizo_base::sems {
$vsat_ip_address = hiera('rhizo::vsat_ip_address', '127.0.0.1') $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') $vsat_serv_ip_address = hiera('rhizo::vsat_serv_ip_address', '192.168.12.10')
$rtp_mux_port = hiera('rhizo::rtp_mux_port', '5000') $rtp_mux_port = hiera('rhizo::rtp_mux_port', '5000')
$dids = hiera('rhizo::dids', '')
package { ['sems', ]: package { ['sems', ]:
ensure => installed, ensure => installed,

View file

@ -1,3 +1,4 @@
^.*_9519800748$=>mux-in <% @dids.each do |did| -%>
^.*_9519800756$=>mux-in ^.*_<%= did -%>$=>mux-in
<% end -%>
^rhizomatica_00.*$=>mux-out ^rhizomatica_00.*$=>mux-out

View file

@ -1,7 +1,7 @@
next_hop=<%= @vsat_serv_ip_address %>:5090 next_hop=<%= @vsat_serv_ip_address %>:5090
RURI=sip:$rU@<%= @vsat_serv_ip_address %> RURI=sip:$rU@<%= @vsat_serv_ip_address %>
b_rtp_mux_ip==<%= @vsat_serv_ip_address %> b_rtp_mux_ip=<%= @vsat_serv_ip_address %>
b_rtp_mux_port=<%= @rtp_mux_port %> b_rtp_mux_port=<%= @rtp_mux_port %>
enable_rtprelay=yes enable_rtprelay=yes