mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-25 08:48:13 +02:00
feat: add ultravox realtime and fix signature issue in telephony
- Add UltraVox realtime - Fix signature issue on telephony
This commit is contained in:
parent
9135c2da13
commit
ea0cac63cd
24 changed files with 2082 additions and 133 deletions
|
|
@ -313,6 +313,13 @@ class TestDispatcherThreadsTelephonyConfig:
|
|||
f"kwargs={store_kwargs}"
|
||||
)
|
||||
|
||||
assert provider.initiate_call.await_count == 1
|
||||
webhook_url = provider.initiate_call.await_args.kwargs["webhook_url"]
|
||||
assert "campaign_id=" not in webhook_url, (
|
||||
"campaign outbound answer_url should not include campaign_id; "
|
||||
f"got {webhook_url}"
|
||||
)
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_release_call_slot_uses_stored_telephony_config(self):
|
||||
"""When a call completes, release_call_slot must release the from_number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue