From b9120383c57d8f16fcd5eee9e43f1b719b4db355 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 15 Jun 2017 12:21:13 -0700 Subject: [PATCH] Update dsn.sh --- debian/resources/postgresql/dsn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/resources/postgresql/dsn.sh b/debian/resources/postgresql/dsn.sh index 7178e36..13e1c88 100755 --- a/debian/resources/postgresql/dsn.sh +++ b/debian/resources/postgresql/dsn.sh @@ -45,7 +45,7 @@ sudo -u postgres psql -d fusionpbx -c "update v_sip_profile_settings set sip_pro #add the dsn variables sudo -u postgres psql -d fusionpbx -c "insert into v_vars (var_uuid, var_name, var_value, var_cat, var_enabled, var_order, var_description, var_hostname) values ('785d7013-1152-4a44-aa15-28336d9b36f9', 'dsn_system', 'pgsql://hostaddr=127.0.0.1 dbname=fusionpbx user=fusionpbx password=$database_password options=', 'DSN', 'true', '0', null, null);"; sudo -u postgres psql -d fusionpbx -c "insert into v_vars (var_uuid, var_name, var_value, var_cat, var_enabled, var_order, var_description, var_hostname) values ('0170e737-b453-40ea-99f2-f1375474e5ce', 'dsn', 'pgsql://hostaddr=127.0.0.1 dbname=freeswitch user=fusionpbx password=$database_password options=', 'DSN', 'true', '0', null, null);"; -sudo -u postgres psql -d fusionpbx -c "insert into v_vars (var_uuid, var_name, var_value, var_cat, var_enabled, var_order, var_description, var_hostname) values ('32e3e364-a8ef-4fe0-9d02-c652d5122bbf', 'dsn_callcenter', 'sqlite:///var/lib/freeswitch/db/call_center.db', 'DSN', 'true', '0', null, null);"; +sudo -u postgres psql -d fusionpbx -c "insert into v_vars (var_uuid, var_name, var_value, var_cat, var_enabled, var_order, var_description, var_hostname) values ('32e3e364-a8ef-4fe0-9d02-c652d5122bbf', 'dsn_callcenter', 'sqlite:///var/lib/freeswitch/db/callcenter.db', 'DSN', 'true', '0', null, null);"; #add the echo "" >> /etc/freeswitch/vars.xml