[OpenSIPS-Users] opensips 2.2 acc module mysql error

Misha Dobrovolskyy misha at digitalcompass.com
Mon Sep 18 15:20:26 EDT 2017

Good afternoon,

I've found following logs output from opensips after upgrade to version 2.2:

Sep 18 15:16:30 sip /usr/sbin/opensips[1429]: 
CRITICAL:db_mysql:wrapper_single_mysql_stmt_execute: driver error 
(1406): Data too long for column 'sip_reason' at row 1
Sep 18 15:16:30 sip /usr/sbin/opensips[1429]: ERROR:acc:acc_db_request: 
failed to insert into database

Table structure is matches normal one, i.e. sip_reason is CHAR(32).

How that can be? Will change field structure in mysql will be enough?

Thank you!

More information about the Users mailing list