If you have issues operating kamailio, use the mailing list first (sr-users@lists.kamailio.org). This is the tracker for bugs in the code or requests for new features. In your case, likely you have to tune the parameters of ctl module:
* https://www.kamailio.org/docs/modules/stable/modules/ctl.html#binrpc_max_bod...