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

Reject OSRTP answer when not offered #1854

Closed

Conversation

mtryfoss
Copy link
Contributor

@mtryfoss mtryfoss commented Sep 2, 2024

This issue has been discussed in the mailing list:
https://groups.google.com/g/rtpengine/c/pFh2T2Nucnw

You have a call where OSRTP is offered from caller, but rejected/ignored by rtpengine.
Later a reINVITE from callee is sent without without crypto attributes towards caller.
Caller then responds with crypto attributes and those are accepted by rtpengine.
Now RTP will stop since it can not decrypt det non-encrypted traffic from caller and/or crypto attributes are not fully set, so it will fail sending encrypted traffic back.

Behaviour is observed for Aastra/Mitel phones and Baresip with "mediaenc=srtp".

@rfuchs
Copy link
Member

rfuchs commented Sep 2, 2024

Test added as fc84a80

@mtryfoss mtryfoss deleted the reject_osrtp_when_not_offered branch September 3, 2024 05:50
@mtryfoss
Copy link
Contributor Author

mtryfoss commented Sep 3, 2024

Thank you!

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