Hey group,

I was wondering if there is a way to control the websocket buffer size to support large SIP messages.  I received the following error when sending content-length of 65000

2021-01-26T17:32:19.251408+00:00 sjomainkama50 kamailio[31871]: 109(32008) WARNING: websocket [ws_frame.c:482]: decode_and_validate_ws_frame(): message is too long for our buffer size (65535 / 66151)


I am assuming this is controlled  by the tcp_rd_buf params which I have set to 131k:


tcp_rd_buf_size=131072


and this is my tcp_wr_buf params:

tcp_wq_blk_size=131072

tcp_conn_wq_max=131072



Please advise.


Thanks.


--
Andy Chen
Sr. Telephony Lead Engineer



*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*