Hello,

I suggest you look in the official documentation instead of trying to find 
something by chance in the source code.

This UDP buffer in the core can be increased by setting this parameter:

https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/#maxbuffer

There is also a value for the send buffer.

Cheers,

Henning


-- 
Kamailio services – https://gilawa.com


> -----Original Message-----
> From: Sarju Garg <[email protected]>
> Sent: Mittwoch, 18. Februar 2026 03:57
> To: Federico Cabiddu <[email protected]>
> Cc: Henning Westerholt <[email protected]>; Kamailio (SER) - Development
> Mailing List <[email protected]>; [email protected]; M S
> <[email protected]>; [email protected]; sr-
> [email protected]
> Subject: UDP buffer increase
> 
> Hi,
> 
> I want to increase the UDP buffer size to
> 
> # UDP socket buffers
> udp_rcvbuf=134217728
> udp_sndbuf=134217728
> 
> we are unable to set this value because kamailio is compiled with hardcoded
> value MAX_RECV_BUFFER_SIZE 262144, MAX_SEND_BUFFER_SIZE 262144
> 
> If we go and search internet, this look like configurable
> 
> # UDP socket buffers
> udp_rcvbuf=134217728
> udp_sndbuf=134217728
> 
> # OR older syntax (equivalent)
> # socket_buffer=134217728
> 
> Can someone help me out in this case.?
> 
> Regards
> Sarju
> 
> 

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to