<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi Perazim,</tt><tt><br>
</tt><tt><br>
</tt><tt>Once again ,we will fix those examples - the correct
table definition can be fund in scripts/dbtext/opensips folder (</tt><tt>if
using sources) or </tt><tt><br>
</tt><tt>/usr/share/opensips folder (is installed from packages).</tt><tt><br>
</tt><tt><br>
</tt><tt>Regards,</tt><br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 25.01.2015 14:32, P Perazim wrote:<br>
</div>
<blockquote cite="mid:1422189156.54c4e26448444@mail.inbox.lt"
type="cite">Followup.<br>
<br>
Referencing
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/devel/db_text.html">http://www.opensips.org/html/docs/modules/devel/db_text.html</a> sp
examples 1.1, 1.2 1.3 => these appear to not be the only tables
required. I further reference 1.6, 1.7, 1.8. The definitions for
tables subscriber and location are not the same. Which ones should
I use?
<style type="text/css">
/*<![CDATA[*/
blockquote.c1 {border-left: 1px solid #cccccc; margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex}
/*]]>*/
</style> <br>
<br>
When adding the version table as in example 1.8, I receive the
following error in syslog: Error:core:db_check_table_version:
invalid version 3 for table subscriber found, expected 7.<br>
<br>
Thanks,<br>
<br>
Perazim<br>
<br>
<div>Quoting <strong>Bogdan-Andrei Iancu <a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a></strong>
:</div>
<blockquote class="c1">Hi Perazim,<br>
<br>
The db_text is supported and actively maintained.<br>
<br>
1) Could you point to the docs you found as outdated, so we can
review<br>
and update ?<br>
<br>
2) the message is correct. The last "folder" in the path you
provide is<br>
actually the DB name :<br>
<br>
text:///path/to/dbtext/database<br>
so path is "/etc/opensips" and the name of DB is "dbtext"<br>
<br>
3) what seems to be the part not working ?<br>
<br>
Regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a moz-do-not-send="true" target="_blank"
href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<br>
On 23.01.2015 12:41, P Perazim wrote:<br>
> Been running opensips for several years using<br>
> mysql. Very simple config. No problems.<br>
><br>
> Now I need to make it even simpler and use db_text<br>
> so I can deinstall mysql.<br>
><br>
> Problem is that after looking at the docs and<br>
> examples for db_text I am having no joy getting<br>
> this to work. Seems as though the docs may be out<br>
> of date now. I tried using an opensips.cfg sample<br>
> from the dbtext docs but it produced many errors.<br>
><br>
> So, to start: Is the db_text mode still supported?<br>
> Where are the most current docs and examples?<br>
><br>
> The first thing that errors is that I cannot seem<br>
> to set the location of the db_text files. Using<br>
> db_default_url="text:///etc/opensips/dbtext", the<br>
> syslog shows: <a class="moz-txt-link-freetext" href="INFO:db_text:dbt_init">INFO:db_text:dbt_init</a> using database<br>
> at: /etc/opensips - NOT the location that is set<br>
> with db_default_url="text:///etc/opensips/dbtext"<br>
> Thi8s location exists and two files called<br>
> location and subscriber are there setup as docs<br>
> indicate.<br>
><br>
> Any ideas?<br>
><br>
> Thanks in advance,<br>
><br>
> Perazim<br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a moz-do-not-send="true" target="_blank"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>