Skip to content

Conversation

@yeoleobun
Copy link
Collaborator

For UAS that sent 200 but have not received ACK, it can not CANCEL and also can not BYE.

    pub fn can_cancel(&self) -> bool {
        matches!(
            self,
            DialogState::Calling(_) | DialogState::Trying(_) | DialogState::Early(_, _)
        )
    }
    pub fn is_confirmed(&self) -> bool {
        matches!(self, DialogState::Confirmed(_, _))
    }

@yeoleobun yeoleobun merged commit 327ff4b into restsend:main Dec 12, 2025
3 checks passed
shanecole pushed a commit to shanecole/rsipstack that referenced this pull request Dec 16, 2025
- Fix BYE when waiting for ACK (PR restsend#55): UAS can now send BYE while
  waiting for ACK after sending 200 OK. Added waiting_ack() method to
  DialogState and DialogInner.

- Re-INVITE handling in ServerInviteDialog (650243e): Server dialogs
  now properly handle re-INVITE requests in confirmed state instead
  of returning MethodNotAllowed. Added handle_reinvite() method.

Last synced upstream commit: 650243e
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