<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi All, <br>
    I've enabled mysql accounting but when I make calls between two
X-Lite softphones I see this errors:<br>
<br>
<i>Aug 22 09:24:09 voiptest /usr/local/sbin/ser[712]: val2str():
Destination buffer too short<br>
Aug 22 09:24:09 voiptest /usr/local/sbin/ser[712]: print_values():
Error while converting value to string<br>
Aug 22 09:24:09 voiptest /usr/local/sbin/ser[712]: ERROR: acc_request:
Error while inserting to database<br>
Aug 22 09:24:30 voiptest /usr/local/sbin/ser[712]: val2str():
Destination buffer too short<br>
Aug 22 09:24:30 voiptest /usr/local/sbin/ser[712]: print_values():
Error while converting value to string<br>
Aug 22 09:24:30 voiptest /usr/local/sbin/ser[712]: ERROR: acc_request:
Error while inserting to database</i><br>
<br>
I just red other posts regarding this issues but I really didn't
understand how to solve it.<br>
I try to modify Mysql configuration adding the following lines in
my.cnf but the errors persist:<br>
<br>
<i>[mysqld]<br>
set-variable = max_connections=500<br>
set-variable    = key_buffer=8M<br>
set-variable    = max_allowed_packet=1M<br>
set-variable    = table_cache=256<br>
set-variable    = thread_stack=64K<br>
set-variable    = sort_buffer=1M<br>
set-variable    = thread_cache=8<br>
set-variable    = thread_concurrency=8</i><br>
<br>
Any ideas? I'm using ser 0.9.3 on a Freebsd 5.4<br>
This is the output of the command ser -V<br>
<br>
<i>version: ser 0.9.3 (i386/freebsd)<br>
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST,
DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
@(#) $Id: main.c,v 1.197 2004/12/03 19:09:31 andrei Exp $<br>
main.c compiled on 14:34:26 Aug 19 2005 with gcc 3.4<br>
</i><br>
Thanks to all.<br>
Carlo<br>
<br>
</body>
</html>