<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<font class="Apple-style-span" face="Tahoma" size="2">Hello:</font><div style="font-family: Tahoma; font-size: 10pt; ">My name is Federico. I have a problem with Acc Module in Opensips 1.6.</div><div><font class="Apple-style-span" face="Tahoma" size="2">I can complete a call perfectly, but opensips dont insert data in mysql acc table.</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2">My configuration is this:</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><div>modparam("acc", "early_media", 1)</div><div>modparam("acc", "report_ack", 1)</div><div>modparam("acc", "report_cancels", 1)</div><div>modparam("acc", "detect_direction", 0)</div><div>modparam("acc", "failed_transaction_flag", 3)</div><div>modparam("acc", "log_flag", 1)</div><div>modparam("acc", "log_missed_flag", 2)</div><div>modparam("acc", "db_flag", 1)</div><div>modparam("acc", "db_missed_flag", 2)</div><div>modparam("acc", "db_url","mysql://root:xxxx@localhost/opensips_db")</div><div>modparam("acc", "db_extra","from_uri=$fu; to_uri=$tu")</div><div><br></div><div>And, my log is this: </div><div><br></div></font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Sep 15 16:05:20 oepnsips /usr/sbin/opensips[6663]: INFO:db_mysql:re_init_statement: query is <insert into acc (method,from</font>_tag,to_tag,callid,sip_code,sip_reason,time,from_uri,to_uri ) values (?,?,?,?,?,?,?,?,?)>, ptr=(nil)</div><div><br></div><div>Why in this SQL string, the values are "?"..</div><div><br></div><div>Thanks a lot!!!</div><div><br></div><div>Federico</div><div><br></div><div><br></div>                                            </div></body>
</html>