OpenSIPS / opensips-cli

OpenSIPS CLI tool - an interactive command line tool that can be used to control and monitor OpenSIPS servers.
GNU General Public License v3.0
83 stars 46 forks source link

Default opensips-cli config #126

Open Ali-Dogan opened 2 months ago

Ali-Dogan commented 2 months ago

Hello Team,

I have compiled both Opensips and opensips-cli from source code. However, when tried to run "opensips-cli -x database create" I got following errors;

ERROR: path '/usr/share/opensips' to OpenSIPS DB scripts does not exist! fixed with adding following line to config file "database_schema_path: /usr/local/share/opensips"

After that I found that some tables missing after running the table and fixed the issue with adding following line to config file as well; database_modules: All

I think both of those parameters should be in default config.

version: opensips 3.2.18 (x86_64/linux) and using Mysql.

liviuchircu commented 1 month ago

Hi @Ali-Dogan and thanks for the report! While I fixed problem 1, do you remember which tables it complained about, with regards to problem 2? Because the issue might be somewhere else and we should perhaps update the STANDARD_DB_MODULES global variable inside the CLI.