[OpenSIPS-Users] Need help transitioning to opensips-cli

Robert Dyck rob.dyck at telus.net
Fri Aug 21 02:12:01 EST 2020


My database was created with the old opensipsdbctl tool. The database 
engine is sqlite. I want to start using opensips-cli to administer the 
subscriber table. The trouble I am having is opensips-cli wants to connect to 
the database named "opensips". How do I associate the sqlite database at /
usr/local/etc/opensips/sqlite with the name "opensips"?

As a learning exercise I wanted to create a new database using opensips-cli 
"database create sqlite:///tmp" or "database create sqlite:///tmp/tmp.db". The 
response was invariably "*ERROR*: Bad URL, it should resemble: sqlite:///
path/to/db". Omitting the path gives the same error message.

What am I missing?
Rob


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200820/00ae8498/attachment.html>


More information about the Users mailing list