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
84 stars 46 forks source link

How to use opensips-cli using db-text? #88

Closed Otoru closed 2 years ago

Otoru commented 2 years ago

For projects where the change I have not foreseen recurring changes (for example a proxy we only use for dispatcher and nat traversal) I like to work with text-db as it is one less component to monitor and maintain. However, I have not found any documentation on how to use opensips-cli to create the tables using text-db.

gallonyin commented 2 years ago

i found it here https://www.opensips.org/Documentation/Install-DBDeployment-3-2#toc2

Note: OpenSIPS CLI searches for its configuration files in ~/.opensips-cli.cfg, /etc/opensips-cli.cfg, /etc/opensips/opensips-cli.cfg, but you can also specify your own configuration file using the -f parameter.

razvancrainea commented 2 years ago

Unfortunately opensips-cli no longer supports db-text. It does, however, support sqlite, so if you prefer using DB files, you can try to migrate your setup to sqlite.