Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yate: increase max acceptable size of incoming SIP messages #649

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

robho
Copy link
Contributor

@robho robho commented Jun 7, 2021

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


Maintainer: @jslachta
Compile tested: No
Run tested: Only by manual configuration change. An increased maxpkt size works well for me. Verified with SIP UA baresip that had problems with YATE before the maxpkt increase.

@robho robho force-pushed the yate_increase_sip_msg_size branch from 394d9b2 to c13f357 Compare June 7, 2021 20:02
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>
@robho robho force-pushed the yate_increase_sip_msg_size branch from c13f357 to 621352a Compare June 8, 2021 08:32
@jslachta
Copy link
Contributor

Thank you, Robert (@robho)!

@jslachta jslachta merged commit 20abe8c into openwrt:master Jun 11, 2021
@robho robho deleted the yate_increase_sip_msg_size branch June 11, 2021 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants