Hello,
When I am handling large bodies like SIPREC multipart with SDP and XML
metadata, getting the below error:
*<core> [core/re.c:379]: replace_build(): Buffer too small*
Is it possible to increase the buffer size to 16384 bytes or 32768 bytes
from kamailio.cfg file? Or do I need to modify this value in the source
code? Or
Instead of running regex on the entire $rb, first extract just the XML part
section, and then run regex on the substring? Or write an external script
via "exec" module to extract metadata and return it to Kamailio?
Please suggest which one is preferable? Thank you.
Best Regards,
Chandramouli.