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

IAX fixes #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

IAX fixes #6

wants to merge 2 commits into from

Conversation

laf0rge
Copy link

@laf0rge laf0rge commented Sep 19, 2023

Since we started to interoperate our yate installation with the world-wide community of analog phone collectors (C*NET / ckts.info), two IAX interoperability problems with their Asterisk boxes became apparrent. Let's fix them

This was introduced in Asterisk IAX2 in
asterisk/asterisk@3072c54
yiax wrongly assumed that the ENCRYPTION IE is a single byte,
while in reality it is 16bit / 2 bytes.

It has been two bytes ever since it was introduced in Asterisk in 2004.

This misunderstanding probably arose from RFC5456 which erroneosly
states that the length of this IE is 0x01 while its body is 2 bytes
long (See Section 8.6.34 at https://datatracker.ietf.org/doc/html/rfc5456)
@laf0rge
Copy link
Author

laf0rge commented Dec 3, 2023

Dear yate team, it has been multiple months without any feedback here. Do you have any change requests? We're more than haappy to adjust our patches if you have any.

This PR contains valid bug-fixes for interoperability with modern Asterisk.

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.

1 participant