Overview
Inbound routing connects a phone number to a voice agent so that incoming calls are automatically handled by that agent. Setup differs depending on whether you manage your own Twilio account (BYOT) or use Kejue’s platform-managed numbers.| Mode | How It’s Detected | Approval | SIP Support |
|---|---|---|---|
| BYOT (Self-Serve) | Your workspace has its own API key configured | Auto-approved | Yes |
| Platform-Managed | No API key on workspace | Requires admin approval | No |
Prerequisites
- A phone number registered in Kejue with
is_inboundenabled - An active voice config (agent) attached to a persona
Setting Up Inbound Routing
1. Configure inbound routing
If the voice config hasn’t been deployed yet, the system will auto-deploy it before configuring routing.
2. Handle the response based on your provisioning mode
- BYOT (Self-Serve)
- Platform-Managed
The response includes a Next step: Set the
webhook_url and the status is immediately approved:webhook_url as the Voice URL (HTTP POST) on your Twilio phone number.
