Skip to content

Conversation

@FedorKiselev76
Copy link
Contributor

This PR adds lookup of client INVITE dialogs by Call-ID.

It allows retrieving an existing client dialog using the Call-ID.

@yeoleobun yeoleobun merged commit a66b741 into restsend:main Dec 29, 2025
3 checks passed
yeoleobun pushed a commit to yeoleobun/rsipstack that referenced this pull request Dec 29, 2025
fix(rtp): duplicated telephone event
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 <noreply@anthropic.com>
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