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