<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi Mike,</tt><tt><br>
</tt><tt><br>
</tt><tt>You need first to configure the cachedb_sql, to tell it
where the SQL d</tt><tt>b is:</tt><tt><br>
</tt><tt> </tt><tt>modparam("cachedb_sql",
"db_url","mysql://localhost/my_database");</tt><tt><br>
</tt><tt><br>
</tt><tt>Then, in the dialog module, you need to point the noSQL
connector t</tt><tt>o the previous module:</tt><tt><br>
</tt><tt> </tt><tt>modparam("dialog", "cachedb_url", "sql://")</tt><tt><br>
<br>
Give it a try and let me know.<br>
<br>
Regards,<br>
</tt>
<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 07.12.2013 17:03, Mike Tesliuk wrote:<br>
</div>
<blockquote
cite="mid:CAKNtoCHxazb_kVtz3nA+vG=Hse2+oZTDg8xXfj2hOZJGLYvyQw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hello Guys, <br>
<br>
</div>
I try to implement (for test purpose) the cachedb_sql but i
cant use this on dialog module, i start the module , i have
the database , but when i call over dialog i put the
cachedb_url as "sql://localhost/opensips" (im using sql
because is what beeing exported on debug )<br>
<br>
Dec 5 23:41:47 [5953] DBG:core:register_cachedb: registered
cachedb system [sql]<br>
Dec 5 23:41:47 [5953] DBG:core:parse_cachedb_url: parsing
[sql://]<br>
Dec 5 23:41:47 [5953] DBG:core:parse_cachedb_url: Just
scheme, no actual url<br>
<br>
</div>
so, when i try to call this on dialog i receive<br>
<br>
Dec 5 23:41:47 [5953]
ERROR:cachedb_sql:dbcache_new_connection: bogus url for local
cachedb<br>
Dec 5 23:41:47 [5953] ERROR:core:cachedb_do_init: failed to
open connection<br>
Dec 5 23:41:47 [5953] ERROR:dialog:init_cachedb_utils: cannot
connect to cachedb_url sql://localhost/cachedb<br>
Dec 5 23:41:47 [5953] ERROR:dialog:mod_init: cannot init
cachedb utils<br>
Dec 5 23:41:47 [5953] ERROR:core:init_mod: failed to
initialize module dialog<br>
Dec 5 23:41:47 [5953] ERROR:core:main: error while
initializing modules<br>
<br>
<br>
<br>
</div>
so, there is not possible to use cachedb_sql with dialog or im
doing something wrong ?<br>
<br>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>