dsn.sh

Status
Not open for further replies.

wouam31

Member
Jul 1, 2022
71
9
8
40
Hello, I have a small issue with dsn.sh
I executed it with the database password, and I think everything is okay, but when I restart freeswitch:


FreeSWITCH Version 1.10.8-release~64bit (-release 64bit)

FreeSWITCH Started
Max Sessions [1000]
Session Rate [30]
SQL [Enabled]

If I look at the SIP Profiles, it has successfully added odbc-dsn - $${dsn} - true.

However, if I look in /etc/freeswitch/vars.xml, I have two instances of dsn:

<!-- DSN -->
<X-PRE-PROCESS cmd="set" data="dsn_system=pgsql://hostaddr=127.0.0.1 port=5432 dbname=fusionpbx user=fusionpbx password=**** options=" />
<X-PRE-PROCESS cmd="set" data="dsn=pgsql://hostaddr=127.0.0.1 port=5432 dbname=freeswitch user=fusionpbx password=***** options=" />
<X-PRE-PROCESS cmd="set" data="dsn_callcenter=sqlite:///var/lib/freeswitch/db/callcenter.db" />
<!-- DSN -->
<X-PRE-PROCESS cmd="set" data="dsn_system=pgsql://hostaddr=127.0.0.1 port=5432 dbname=fusionpbx user=fusionpbx password=***** options=" />
<X-PRE-PROCESS cmd="set" data="dsn=sqlite:///dev/shm/core.db" />
<X-PRE-PROCESS cmd="set" data="dsn_callcenter=sqlite:///dev/shm/callcenter.db" />

I have the impression that he is still working with SQL. Any idea?
Thank you.
 
Status
Not open for further replies.