mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 21:24:35 +04:00
Some SIP UAs support lots of features and codecs which results in large SIP messages. YATE, with its default configuration, truncates and fails to parse received SIP messages which are larger than 1500 bytes. Let's increase the default max message size for OpenWrt users to make it easier to use yate out-of-the-box. The new max size of 8192 bytes has been arbitrarily chosen. I've seen the SIP UA baresip produce messages larger than 1500 bytes with its default configuration when authentication is used. Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
12 lines
411 B
Diff
12 lines
411 B
Diff
--- a/conf.d/ysipchan.conf.sample
|
|
+++ b/conf.d/ysipchan.conf.sample
|
|
@@ -80,7 +80,7 @@
|
|
|
|
; maxpkt: int: Maximum received UDP packet size, 524 to 65528, default 1500
|
|
; This parameter is applied on reload and can be overridden in UDP listener sections
|
|
-;maxpkt=1500
|
|
+maxpkt=8192
|
|
|
|
; buffer: int: Requested size of UDP socket's receive buffer, 0 to use default
|
|
; This can be overridden in UDP listener sections
|