docs: add deployment validation plan and expand env config
Add comprehensive deployment and validation plan documenting a staged bring-up approach that gates each layer on its predecessor and defers PSTN testing until everything else is proven. Update .env.example to reflect current configuration: - Replace static API_TOKEN with Casdoor SSO + owner-minted PAT auth - Add Rhema TTS settings with port-collision warning - Add AI Receptionist settings for inbound calls - Reconcile GATEWAY_SIP_PORT to 5060 and default SIP domain
This commit is contained in:
@@ -260,6 +260,11 @@ class TestMockSIPEngine:
|
||||
status = await engine.get_trunk_status()
|
||||
assert status["registered"] is False
|
||||
|
||||
# Starting the mock engine must NOT report a registered trunk: /health
|
||||
# requires a registered trunk to be "healthy", so a mock that claimed
|
||||
# registration would let a gateway that cannot place calls go green.
|
||||
await engine.start()
|
||||
status = await engine.get_trunk_status()
|
||||
assert status["registered"] is True
|
||||
assert status["registered"] is False
|
||||
assert status["mock"] is True
|
||||
assert status["reason"] == "No SIP trunk configured (mock mode)"
|
||||
|
||||
Reference in New Issue
Block a user