#!/usr/bin/env python # -*- coding: utf-8 -*- # Configuration settings use_nitb_osmo_stack = False reload_on_call = 0 default_log_level = '<%= @default_log_level %>' lcls = <%= @lcls %> # Jitter Buffers JB_in = '<%= @jb_in %>' JB_out = '<%= @jb_out %>' rhizomatica_dir = '<%= @rhizomatica_dir %>' sq_hlr_path = '<%= @hlr_db %>' sms_db = '<%= @sms_db %>' bts_defs = '<%= @rhizomatica_dir %>/bts_defs.json' use_sip = '<%= @use_sip %>' advice_email = <%= @advice_email %> test_playback = '<%= @test_playback %>' mncc_codec = '<%= @mncc_codec %>' # database pgsql_db = '<%= @pgsql_db %>' pgsql_user = '<%= @pgsql_user %>' pgsql_pwd = '<%= @pgsql_pwd %>' pgsql_host = '<%= @pgsql_host %>' db_revision = '14' # SITE site_name = "<%= @site_name %>" postcode = "<%= @postcode %>" pbxcode = "<%= @pbxcode %>" # network name network_name = "<%= @network_name %>" # VPN ip address vpn_ip_address = "<%= @vpn_ip_address %>" wan_ip_address = "<%= @wan_ip_address %>" riak_ip_address = "<%= @riak_ip_address %>" mncc_ip_address = "<%= @mncc_ip_address %>" sip_central_ip_address = <%= @sip_central_ip_address %> webphone_prefix = <%= @webphone_prefix %> has_vsat = <%= @has_vsat %> site_routing = [ <%= @site_routing %> ] # SITE settings # rate type can be "call" or "min" limit_local_calls = "<%= @limit_local_calls %>" limit_local_minutes = "<%= @limit_local_minutes %>" charge_local_calls = "<%= @charge_local_calls %>" charge_local_rate = "<%= @charge_local_rate %>" charge_local_rate_type = "<%= @charge_local_rate_type %>" charge_internal_calls = "<%= @charge_internal_calls %>" charge_internal_rate = "<%= @charge_internal_rate %>" charge_internal_rate_type = "<%= @charge_internal_rate_type %>" charge_inbound_calls = "<%= @charge_inbound_calls %>" charge_inbound_rate = "<%= @charge_inbound_rate %>" charge_inbound_rate_type = "<%= @charge_inbound_rate_type %>" charge_outbound_rate_type = "<%= @charge_outbound_rate_type %>" free_numbers = <%= @free_numbers %> smsc_shortcode = "<%= @smsc_shortcode %>" sms_sender_unauthorized = '<%= @sms_sender_unauthorized %>' sms_destination_unauthorized = '<%= @sms_destination_unauthorized %>' sms_welcome_roaming = '<%= @sms_welcome_roaming %>' % site_name sms_credit_added = '<%= @sms_credit_added %>' <% if @welcome_sms != '' -%> welcome_sms = u'<%= @welcome_sms %>' <% end -%> rai_admin_user = '<%= @rai_admin_user %>' rai_admin_pwd = '<%= @rai_admin_pwd %>' use_kannel = 'no' kannel_server = '<%= @kannel_server %>' kannel_port = '<%= @kannel_port %>' kannel_username = '<%= @kannel_username %>' kannel_password = '<%= @kannel_sendsms_password %>' # VOIP provider voip_provider_name = "<%= @voip_provider_name %>" voip_username = "<%= @voip_username %>" voip_fromuser = "<%= @voip_fromuser %>" voip_password = "<%= @voip_password %>" voip_proxy = "<%= @voip_proxy %>" voip_did = "<%= @voip_did %>" 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 %>' reminder_msg = '<%= @reminder_msg %>' deactivate_msg = '<%= @deactivate_msg %>' emergency_contact = '<%= @emergency_contact %>' support_contact = '<%= @support_contact %>' admin_numbers = <%= @admin_numbers %> admin_pin = '<%= @admin_pin %>'