80 lines
2.6 KiB
Text
80 lines
2.6 KiB
Text
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Configuration settings
|
|
default_log_level = '<%= @default_log_level %>'
|
|
|
|
rhizomatica_dir = '<%= @rhizomatica_dir %>'
|
|
sq_hlr_path = '<%= @sq_hlr_path %>'
|
|
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 = '12'
|
|
|
|
# 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 %>
|
|
|
|
# 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 %>"
|
|
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 %>'
|
|
|
|
rai_admin_user = '<%= @rai_admin_user %>'
|
|
rai_admin_pwd = '<%= @rai_admin_pwd %>'
|
|
|
|
kannel_server = '<%= @kannel_server %>'
|
|
kannel_port = <%= @kannel_port %>
|
|
kannel_username = '<%= @kannel_username %>'
|
|
kannel_password = '<%= @kannel_sendsms_password %>'
|
|
use_kannel = '<%= @use_kannel %>'
|
|
|
|
# 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 %>"
|
|
voip_chans_max = <%= @voip_chans_max %>
|
|
voip_mod = <%= @voip_mod %>
|
|
|
|
# Subscription SMS notification
|
|
notice_msg = "<%= @notice_msg %>"
|
|
reminder_msg = "<%= @reminder_msg %>"
|
|
deactivate_msg = "<%= @deactivate_msg %>"
|
|
|
|
emergency_contact = '<%= @emergency_contact %>'
|
|
support_contact = '<%= @support_contact %>'
|