<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: matian85@hotmail.com<br>To: sr-users@lists.sip-router.org<br>Subject: problem with db access<br>Date: Fri, 25 Jan 2013 03:16:18 +0000<br><br>
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:12pt;font-family:\005fae\008f6f\0096c5\009ed1;}
--></style>
<div dir="ltr">Hi everyone,<div><br></div><div>Recently I work on kamailio's snmpstats module. <span style="font-size:12pt">I'm trying to retrieve some data from database, the code pass the compilation but when starting kamailio always get this error.</span></div><div><span style="font-size:12pt"><br></span></div><div>Jan 25 10:57:05 localhost kamailio: ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </usr/local/lib/kamailio/modules_k/snmpstats.so>: /usr/local/lib/kamailio/modules_k/snmpstats.so: undefined symbol: db_bind_mod </div><div><br></div><div><span style="font-size:12pt"> I take the code from </span></div><div><a href="http://www.asipto.com/pub/kamailio-devel-guide/#c09database" target="_blank">http://www.asipto.com/pub/kamailio-devel-guide/#c09database</a> and ursloc module for example. not sure </div><div>if I still miss something to make db access work. </div><div><br></div><div>Any suggestion? </div><div><br></div><div>Thanks,</div><div><br></div><div><br></div><div>Sebastian</div><div><br></div><div><span style="font-size:12pt"><br></span></div><div><br></div>                                            </div></div>                                            </div></body>
</html>