dograh/api/tests/telephony
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
..
cloudonix fix: scope workflow run to org rather than user 2026-07-10 16:52:43 +05:30
plivo fix: scope workflow run to org rather than user 2026-07-10 16:52:43 +05:30
providers/ari feat: add vici dial controls from UI (#563) 2026-07-20 21:57:34 +05:30
telnyx chore: mandate telnyx signature verification (#319) 2026-05-19 16:50:27 +05:30
twilio fix: scope workflow run to org rather than user 2026-07-10 16:52:43 +05:30
vobiz fix: harden vobiz signature verification 2026-06-05 12:14:37 +05:30
vonage feat: support inbound vonage calls (#480) 2026-06-29 16:27:19 +05:30
test_ari_manager_transfer_teardown.py fix: increase concurrency limit an handle it across all call paths (#508) 2026-07-09 18:29:01 +05:30
test_call_transfer_manager.py chore: format release please changelogs 2026-06-02 13:42:55 +05:30
test_external_pbx_configuration.py feat: add vici dial controls from UI (#563) 2026-07-20 21:57:34 +05:30
test_status_processor.py fix: increase concurrency limit an handle it across all call paths (#508) 2026-07-09 18:29:01 +05:30