Hello,

indeed the to_tag is created with size 64, you can use alter table to make it larger, I think it should just work afterwards, if not let us know here and we will fix in the code.

Cheers,
Daniel


On 19.04.17 01:14, Diego Nadares wrote:
Hi guys,

Does exist a max length for to tag? Because I'm saving dialogs in mysql and yesterday a message had a to tag greater than varchar 64.

 db_mysql_submit_query(): driver error on query: Data too long for column 'to_tag' at row 1

The length of the to tag was 65 (SDu81l799-7f56830f3e18-100007f-13c4-6009-73d4c9b-10f3d231-73d4c9b)

Cheers,

Diego


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com