Hi Daniel<div><br></div><div>working now...Thanks!</div><div><br></div><div>Regards</div><div><br></div><div>Javi</div><div><br><div class="gmail_quote">On Wed, Nov 24, 2010 at 10:42 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
fetch the latest git version of branch 3.1 and try again. It proved
that the function to bind to DB API v1 used by k modules was no
longer exported upon addition of implementation for DB API v2.<br>
<br>
I had no test framework for it, let me know if it works.<br>
<br>
Thanks,<br>
Daniel<div><div></div><div class="h5"><br>
<br>
On 11/24/10 6:50 PM, Javier Gallart wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">Hi<br>
<br>
I'd like to test db_flatstore module at 3.1 to write accounting
data. The module is not loading though. The config is really
simple:<br>
loadmodule "db_flatstore.so"<br>
modparam("acc", "db_url", "flatstore:/var/log/kamailio/cdr")<br>
<br>
I'm getting this error:<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_bind_api> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_bind_api> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [db.c:210]: using export interface
to bind db_flatstore<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_use_table> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_use_table> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_init> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_init> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_close> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_close> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_query> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_query> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_fetch_result> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_fetch_result> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_raw_query> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_raw_query> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_free_result> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_free_result> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_insert> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_insert> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_delete> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_delete> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_update> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_update> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_replace> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_replace> in module <db_flatstore> not found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_last_inserted_id> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_last_inserted_id> in module <db_flatstore> not
found<br>
0(27360) DEBUG: <core> [sr_module.c:631]:
find_export_record: <db_insert_update> not found <br>
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_insert_update> in module <db_flatstore> not found<br>
0(27360) ERROR: <core> [db.c:79]: module db_flatstore does
not export db_use_table function<br>
0(27360) ERROR: acc [acc.c:333]: bind_db failed<br>
0(27360) ERROR: acc [acc_mod.c:459]: failed...did you load a
database module?<br>
0(27360) ERROR: <core> [sr_module.c:875]: init_mod(): Error
while initializing module acc
(/usr/local/kamailio-3.1/lib/kamailio/modules_k/acc.so)<br>
ERROR: error while initializing modules<br>
<br>
Any idea?<br>
<br>
Thanks in advance<br>
<br>
Javier<br>
</div></div><pre><fieldset></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
</div>
</blockquote></div><br></div>