Numbers are connected in the dashboard with your own carrier account. GET /api/v1/voice/phone-numbers lists them, and PATCH /api/v1/voice/phone-numbers/{id} with { "agent_id": "AGENT_ID" } sends the number's calls to an agent (its published version), or with "agent_id": null to none; label renames it.
Each number has call rules on the Phone numbers page, applied before the agent answers: blocked numbers or number starts (+1555), and callers who hide their number, are refused unanswered and cost nothing; listed callers can be put straight through to another number; and when the agent cannot answer (not published, no worker, out of credits without a transfer number) the call can ring a number or hear your own message. A start lookup (run_at_start) can also turn a caller away by answering {"reject": true, "message": "..."}: the agent says the message, if any, and hangs up, with ended_reason rejected.
Under Phone numbers → SIP your own PBX, SIP phones or SIP trunk can call your agents directly; your SIP provider bills the calls:
sip:ev…@<EvaSay's SIP domain>, calls in only, for PBXs (3CX, FreePBX, Asterisk…) and SIP phones.from); transfers to a person are handed to the trunk by REFER. When the trunk asks for credentials, EvaSay answers with the trunk username and password you entered.Calls in sign in by digest with the username and password EvaSay gives you (the realm is the SIP domain); you can also limit the source IPs, or accept by IP alone when your provider cannot sign in (the IPs are then required). Each SIP address or trunk has a limit of calls at once; beyond it calls get 486. Passwords are shown once, when created or reset. UDP and G.711 (PCMU, PCMA) only; key presses by RFC 4733 or SIP INFO; turn registration (REGISTER) off on your PBX's trunk.