dograh/api/schemas
stefandsl 533a873ab7 feat: add 3CX telephony provider with Asterisk ARA provisioning
Registers a new `three_cx` provider that fronts a 3CX cloud PBX through
an intermediate Asterisk bridge. Save-time hook writes the matching
PJSIP endpoint/aor/auth/registration and dialplan rows to the Asterisk
Realtime Architecture Postgres (via `ASTERISK_ARA_DSN`), so a config
change in the Dograh UI is immediately picked up by Asterisk without a
`pjsip reload`. Strip prefix is honoured at the dialplan layer.

Inbound calls are matched back to a configuration by the dialled
extension (`account_id_credential_field="extension"`), allowing one
shared Asterisk to serve multiple Dograh orgs without collision.

Touches `providers/__init__.py` and `schemas/telephony_config.py` only
— per `providers/AGENTS.md`. Provider/transport/strategies are
duplicated from `ari/` rather than imported, in line with the
cross-provider-import prohibition. See `docs/providers/three_cx.md` for
the Asterisk ARA setup runbook.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 13:07:50 +02:00
..
__init__.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
auth.py feat: add posthog events (#231) 2026-04-10 17:52:21 +05:30
knowledge_base.py feat: add full document mode in knowledge base 2026-04-09 13:49:20 +05:30
service_key.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
telephony_config.py feat: add 3CX telephony provider with Asterisk ARA provisioning 2026-05-26 13:07:50 +02:00
telephony_phone_number.py feat: agent stream for cloudonix OPBX (#261) 2026-05-02 15:53:58 +05:30
user_configuration.py feat: add gemini live and speaches integration (#220) 2026-03-31 21:42:03 +05:30
workflow.py feat: add transcript and recording public URLs in API 2026-05-26 15:11:56 +05:30
workflow_recording.py feat: add recording audio option in tool and node transitions (#232) 2026-04-10 17:53:42 +05:30