dograh/api/services/workflow
Abhishek d8cd34e8d2
feat: add vici dial controls from UI (#563)
* ViciDial Working

* feat(telephony): add FreeSWITCH provider to upstream-PBX seam

Generalize the upstream-PBX capture and control paths to dispatch by
provider. FreeSWITCH bridges in with X-PBX-* headers and is driven over
the Event Socket Library (uuid_kill / uuid_transfer) by the channel UUID,
alongside the existing VICIdial ra_call_control path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* add vici specific configs

* feat(telephony): env-based VICIdial config + address3 post-call routing

Move VICIdial agent/non-agent API and FreeSWITCH ESL connection settings
out of hardcoded POC values into environment variables so the same image
works against a PBX on another server.

Add VICIdial update_lead forwarding: X-VICI-UPDATE-LEAD_* extracted
variables are mapped to lead columns and pushed via the non-agent API
before a transfer, with reserved API-control params dropped.

Add hardcoded address3 disposition routing (Y/N -> in-group transfer,
else hang up) and a synchronous final variable extraction so the
transfer path sees the freshest conversation state. Skip upstream_pbx
capture on non-PJSIP channels to avoid Asterisk 500s.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: run formatter

* feat: make vici configurable from UI

* chore: clean up PR

* fix: incorporate review comments

* chore: incorporate review comments

* chore: generate client

* chore: incporporate review comments

* chore: incorporate review comments

---------

Co-authored-by: Dograh POC <payment@dograh.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 21:57:34 +05:30
..
node_specs chore: add docs url for integration nodes 2026-07-15 18:54:07 +05:30
qa fix: fix org scoped access for resources (#517) 2026-07-09 23:04:33 +05:30
tools feat: add vici dial controls from UI (#563) 2026-07-20 21:57:34 +05:30
__init__.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
audit.py chore: cleaup mps v1 billing (#507) 2026-07-07 18:38:29 +05:30
configuration_policy.py feat: add vici dial controls from UI (#563) 2026-07-20 21:57:34 +05:30
dto.py Fix realtime initial greeting handling (#481) 2026-06-29 17:25:42 +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
mcp_tool_session.py chore: update pipecat to 1.3.0 (#379) 2026-05-29 16:19:42 +05:30
node_data.py feat: add Tuner Integration to Dograh (#311) 2026-05-20 14:37:33 +05:30
pipecat_engine.py feat: add vici dial controls from UI (#563) 2026-07-20 21:57:34 +05:30
pipecat_engine_callbacks.py feat: abort immediately on max call duration exceed 2026-05-31 13:21:37 +05:30
pipecat_engine_context_composer.py feat(mcp): generic MCP tool source with per-node function filtering (#301) 2026-05-19 16:10:00 +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: add vici dial controls from UI (#563) 2026-07-20 21:57:34 +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
run_usage_response.py feat: billing and credit management v2 (#429) 2026-06-12 14:55:30 +05:30
text_chat_logs.py feat: add chat based testing for voice agent (#308) 2026-05-21 15:20:02 +05:30
text_chat_runner.py fix: fix org scoped access for resources (#517) 2026-07-09 23:04:33 +05:30
text_chat_session_service.py fix: disable duplicate trigger nodes in workflow builder (#402) 2026-06-19 15:59:30 +05:30
trigger_paths.py fix(workflow): detect duplicate trigger paths when first node has no id (#409) 2026-06-19 13:53:34 +05:30
workflow_graph.py fix: disable duplicate trigger nodes in workflow builder (#402) 2026-06-19 15:59:30 +05:30