Add dids to config and vars
This commit is contained in:
parent
6c834a2c01
commit
ec6278278b
3 changed files with 6 additions and 0 deletions
|
@ -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 %>'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue