[OpenSIPS-Users] problem getting db_text to work

P Perazim perazim at inbox.lt
Fri Jan 23 11:41:53 CET 2015


Been running opensips for several years using
mysql. Very simple config. No problems.

Now I need to make it even simpler and use db_text
so I can deinstall mysql.

Problem is that after looking at the docs and
examples for db_text I am having no joy getting
this to work. Seems as though the docs may be out
of date now. I tried using an opensips.cfg sample
from the dbtext docs but it produced many errors.

So, to start: Is the db_text mode still supported?
Where are the most current docs and examples?

The first thing that errors is that I cannot seem
to set the location of the db_text files. Using 
db_default_url="text:///etc/opensips/dbtext", the
syslog shows: INFO:db_text:dbt_init using database
at: /etc/opensips  -  NOT the location that is set
with db_default_url="text:///etc/opensips/dbtext"
 Thi8s location exists and two files called
location and subscriber are there setup as docs
indicate.

Any ideas?

Thanks in advance,

Perazim




More information about the Users mailing list