Skip to content

feat(dialog): bridge re-INVITEs across independent call legs - #239

Draft
FedorKiselev76 wants to merge 1 commit into
restsend:mainfrom
FedorKiselev76:codex/reinvite-bridge
Draft

FedorKiselev76 wants to merge 1 commit into
restsend:mainfrom
FedorKiselev76:codex/reinvite-bridge

Conversation

@FedorKiselev76

@FedorKiselev76 FedorKiselev76 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Adds ReinviteBridge to coordinate re-INVITEs between two established dialogs while preserving independent Call-IDs, tags, CSeq values, and routing on each leg.

Supports SDP offers and offerless exchanges in both directions, including the SDP answer from the matching ACK, with an application hook for SDP transformation. Handles overlapping negotiations with 491, cancellation, late successful responses, and missing-ACK cleanup.

Rebased onto upstream main at 895d443. The per-request controls from #238 are already merged and are no longer an outstanding prerequisite.

Initial call establishment, whole-call termination policy, media transport, reliable provisional offer/answer bridging, and session timers remain outside this component's scope.

Validation on the updated branch:

  • cargo test: 654 library tests, 7 harness tests, and 69 documentation tests passed; one documentation test is ignored.
  • All 9 bridge interoperability scenarios passed: four PJSUA hold/resume cases and five SIPp offerless cases, including loss of an ACK carrying SDP.
  • Formatting and diff checks passed.

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