<div dir="ltr">I am running Kamailio-4.1.0 and I am getting this error If I try to parse  JSON string  longer than 1024 characters.<br><div><br>ERROR: <core> [pvapi.c:1338]: pv_printf(): no more space for spec value<br>

ERROR: <core> [pvapi.c:1347]: pv_printf(): buffer overflow -- increase the buffer size...<br>ERROR: <core> [sr_module.c:1696]: get_str_fparam(): Could not convert the PV-formated string to str<br>ERROR: json [json_funcs.c:42]: json_get_field(): cannot get json string value<br>

<br></div><div>I searched online for a fix and it was suggested to increase the PV_PRINT_BUF_SIZE in pvar.c. The source code for Kamailio 4.1.0 does not contain this file. I did not find this constant in other files too . Can some please suggest how to increase the buffer size?<br>

<br></div><div>Thanks<br></div></div>