Skip to content

feat(ivr): support route-point handoffs and empty prompts - #260

Merged
shenjinti merged 2 commits into
restsend:mainfrom
dengxiayehu:fix/toivr-route
Aug 27, 2026
Merged

feat(ivr): support route-point handoffs and empty prompts#260
shenjinti merged 2 commits into
restsend:mainfrom
dengxiayehu:fix/toivr-route

Conversation

@dengxiayehu

Copy link
Copy Markdown
Contributor

Summary

This PR improves provider-driven IVR execution across routed application handoffs.

  • Resolve route-point transfers through the configured call-routing pipeline and start the matched
    application.
  • Preserve invocation-specific callee, SIP headers, variables, and execution identity across
    application handoffs.
  • Keep provider session identity separate from route-produced business variables.
  • Apply SIP header updates case-insensitively to avoid duplicate logical headers.
  • Terminate unresolved or unsupported handoffs and release acquired routing resources, while
    retaining the configured direct IVR fallback behavior.
  • Complete explicitly empty Prompt actions without waiting for an audio event, while preserving
    normal provider completion and trace reporting.
  • Continue treating prompts with missing audio input as errors.

Verification

Regression coverage includes:

  • Explicitly empty prompts and missing-media prompts.
  • Route-point resolution and application startup.
  • SIP header and route-variable propagation.
  • Invocation identity across successive application generations.
  • Route fallback, abort, unsupported-result, and startup-failure paths.

- preserve Prompt traces and provider completion flow
- distinguish explicit empty text from missing audio input
- preserve invocation context across routed application handoffs
- keep provider identity separate from routed business variables
- terminate unresolved handoffs and release routing resources
@shenjinti
shenjinti merged commit 7fdb828 into restsend:main Aug 27, 2026
3 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.

2 participants