Inbound
Assign a number to an agent and it answers every call to that number.status of assigned or unassigned, and you can filter
with GET /numbers?status=unassigned or GET /numbers?agentId=....
GET /agents/{id}/numbers is read-only. There is no POST on it — assignment
always happens on the number resource.A number maps to exactly one agent. To route by time of day or menu choice, put
one agent on the number and give it a tool that transfers.
Outbound
+, country code, no spaces or dashes.
On outbound the agent waits for the other person to speak first, whatever
firstSpeaker says. They answered the phone; they will say hello.
Testing
Call the number yourself before anyone else does. Listen for:- Does the greeting sound right at phone quality? Phone audio is narrowband and unflattering — a voice that shines in the browser can sound thin.
- Is there a gap before the agent speaks?
- Does it handle background noise and cross-talk?
- Does it hang up cleanly, or leave the line open?