Skip to content

Conversation

maximilianfridrich
Copy link
Contributor

@maximilianfridrich maximilianfridrich commented Apr 9, 2024

... if no provisional response was received for the request.

This caused the following undesirable behavior with UDP: A user starts a call, doesn't get a response and so the user cancels it. Shortly after, the recipient of the INVITE goes online, receives a UDP retransmission of the INVITE and sends an answer. The user could suddenly be in a call they thought they cancelled.

With this change, if a SIP session is terminated, the underlying request and ctrans are destroyed immediately if no response was received at all.

For reliable transports this does not happen because a transport error would occur and there are no retransmissions.

if no provisional response was received for the request.
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