dograh/api/services/workflow
Sabiha Khan 4a6752e62b
feat(telephony/telnyx): add call transfer via conference bridge (#274)
Conference-based transfer for Telnyx with a two-step flow:
- transfer_call dials the destination with a per-transfer webhook URL.
- On call.answered, the webhook seeds a conference with the destination's
  live call_control_id and publishes DESTINATION_ANSWERED.
- TelnyxConferenceStrategy joins the caller into the conference on
  pipeline teardown (EndTaskReason.TRANSFER_CALL).
- On post-answer destination hangup, the webhook hangs up the caller —
  Telnyx's create_conference doesn't accept end_conference_on_exit on
  the seed leg, so we tear down the bridge ourselves.

TransferContext gains optional workflow_run_id (for webhook→provider
resolution in multi-config orgs) and conference_id (set on answer,
rd by the strategy).

Also fixes the transfer tool's provider lookup to go through
get_telephony_provider_for_run instead of the deprecated org-default
shim, which was returning the wrong provider in multi-config orgs.
2026-05-12 13:44:39 +05:30
..
node_specs feat: add workflow graph constraints fixtures 2026-05-08 16:02:51 +05:30
qa feat: add headless mode, redesign floating widget, refactor lifecycle callbacks (#268) 2026-05-07 12:23:41 +05:30
tools feat: refactor node spec and add mcp tools (#244) 2026-04-21 07:56:16 +05:30
__init__.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
audit.py chore: fix tests 2026-05-11 17:21:02 +05:30
disposition_mapper.py chore: bump pipecat version and fix tests (#263) 2026-05-04 21:35:37 +05:30
dto.py feat: refactor node spec and add mcp tools (#244) 2026-04-21 07:56:16 +05:30
duplicate.py chore: fix duplicate workflow issue 2026-04-24 13:17:04 +05:30
errors.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
layout.py feat: refactor node spec and add mcp tools (#244) 2026-04-21 07:56:16 +05:30
pipecat_engine.py feat: add workflow graph constraints fixtures 2026-05-08 16:02:51 +05:30
pipecat_engine_callbacks.py feat: add headless mode, redesign floating widget, refactor lifecycle callbacks (#268) 2026-05-07 12:23:41 +05:30
pipecat_engine_context_composer.py feat: add workflow graph constraints fixtures 2026-05-08 16:02:51 +05:30
pipecat_engine_context_summarizer.py feat: add headless mode, redesign floating widget, refactor lifecycle callbacks (#268) 2026-05-07 12:23:41 +05:30
pipecat_engine_custom_tools.py feat(telephony/telnyx): add call transfer via conference bridge (#274) 2026-05-12 13:44:39 +05:30
pipecat_engine_variable_extractor.py feat: add headless mode, redesign floating widget, refactor lifecycle callbacks (#268) 2026-05-07 12:23:41 +05:30
workflow_graph.py chore: add more fixtures 2026-05-08 16:28:09 +05:30