Add dids to config and vars

This commit is contained in:
Keith Whyte 2020-05-20 02:55:58 +02:00
parent 6c834a2c01
commit ec6278278b
3 changed files with 6 additions and 0 deletions

View file

@ -80,6 +80,7 @@ voip_cli = "<%= @voip_cli %>"
unlimit_chans_max = 5
voip_chans_max = <%= @voip_chans_max %>
voip_mod = <%= @voip_mod %>
dids = [<% @dids.each do |did| -%>"<%= did -%>", <% end -%>]
# Subscription SMS notification
notice_msg = '<%= @notice_msg %>'

View file

@ -8,6 +8,10 @@ function logc() {
SITE=<%= @site_name %>
<% @dids.each_with_index do |did, index| -%>
DID[<%= index %>]=<%= did %>
<% end -%>
#BTSs IP addresses (for amps etc)
declare -a BTS
declare -a BTS_MASTER