Skip to content

Conversation

@yeoleobun
Copy link
Collaborator

If destination of InviteOption is set, the destination will not be used for CANCEL.

fix:

  • save destination of invite to remote_uri of dialog.
  • set remote_uri to destination of CANCEL transaction.

@shenjinti shenjinti merged commit 86b4d76 into restsend:main Jan 4, 2026
3 checks passed
shanecole pushed a commit to shanecole/rsipstack that referenced this pull request Jan 5, 2026
Merge upstream PR restsend#70 and related commits for SIP call transfer support.

Key additions:
- TransactionHandle: async command/response pattern for in-dialog requests
- ReferStatus: parser for NOTIFY body message/sipfrag content
- DialogState: new Refer, Message, Notify variants with TransactionHandle
- Subscription dialogs: ClientSubscriptionDialog, ServerSubscriptionDialog
- DialogLayer: get_or_create_server_subscription() method
- ClientInviteDialog: request(), notify(), refer(), notify_refer(), message()
- ServerInviteDialog: request(), notify(), refer(), notify_refer(), message()
- as_subscription() on both dialog types for REFER operations

Also includes upstream changes:
- PR restsend#66: get_client_dialog_by_call_id() for forking scenarios
- PR restsend#62: CANCEL no longer includes To-tag (RFC 3261 compliance)
- PR restsend#68: BytesMut buffer allocation in transports
- Various fixes for destination handling and auth retry

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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