Skip to main content
From phone line to agent: a call comes in on a phone line, reaches a trunk from your carrier (Claro), lands on the number +1 809 555 0123 and goes to the Front desk agent. From phone line to agent: a call comes in on a phone line, reaches a trunk from your carrier (Claro), lands on the number +1 809 555 0123 and goes to the Front desk agent. A number is a phone number that rings in your workspace. It belongs to a trunk, which is your connection to the carrier, and it points at one destination: an Autopilot agent, a stream or a SIP agent. This page shows how to add a number and how to change where it sends calls. A carrier sends calls for +1 809 555 0123 to the Claro trunk, which hands them to the number. The number points at one destination: here the Autopilot agent Front desk; it could instead be a stream (your WebSocket server) or a SIP agent (sip:maria@acme.sip.fonoster.com). A carrier sends calls for +1 809 555 0123 to the Claro trunk, which hands them to the number. The number points at one destination: here the Autopilot agent Front desk; it could instead be a stream (your WebSocket server) or a SIP agent (sip:maria@acme.sip.fonoster.com).

Two ways to get a number

Fonoster doesn’t sell numbers. You bring a number you already have from a carrier, in one of two ways: Both end up the same in your workspace: a number on a trunk. Everything below works for either.
If you only want to try your agent, you don’t need a number. Call it from your browser with Talk to agent. See the Quickstart.

Before you begin

You need:
  • A trunk in your workspace. Connect a SIP trunk shows how to create one.
  • An Autopilot agent, a stream or a SIP agent to send calls to.

Add a number

Add the number exactly as your carrier sends it, in E.164 format (+ then country code and number, no spaces), such as +18095550123. Fonoster matches incoming calls to the number by this value, so a number in another format never rings.
The New number drawer in the dashboard: Name Support desk, Agent selected under When this number is called, send it to, the Front desk agent checked, Trunk Claro, number +1 809 555 0123 in Santo Domingo, and the note that routing lives on the number.The New number drawer in the dashboard: Name Support desk, Agent selected under When this number is called, send it to, the Front desk agent checked, Trunk Claro, number +1 809 555 0123 in Santo Domingo, and the note that routing lives on the number.
  1. Go to Numbers and choose Add number.
  2. Under Number, enter +18095550123.
  3. Under Name, enter a name you’ll recognize, such as Support desk.
  4. Under When this number is called, send it to, choose Autopilot agent, Stream or SIP agent, then pick one from the list.
  5. Under Trunk, choose the trunk the number belongs to.
  6. Enter the City and choose the Country.
  7. Choose Save.
The number shows up in the list with its destination under Routes to.

Choose where calls go

A number sends every call to one destination: Set appRef or agentAor, not both. A number with neither doesn’t take calls. One agent or stream can answer as many numbers as you like. To move a number to a different destination, change it on the number:
Go to Numbers, open the number, pick the new destination under When this number is called, send it to, and choose Save.
You can change a number’s name, trunk and destination. To change the number itself, its city or its country, remove it and add it again.

Check it

List your numbers to see each one’s trunk and destination:
Then call the number from any phone. Your agent or stream answers, or the SIP agent’s phone rings. The call shows up under Calls in the dashboard. If the number doesn’t ring:
  • Check that the number matches what your carrier sends, + included.
  • Check that the trunk’s inbound settings match your carrier. See Connect a SIP trunk.

Remove a number

Go to Numbers, open the number and choose Remove number, or run fonoster sipnet:numbers:delete <ref>. Calls to the number stop reaching Fonoster. The number stays with your carrier. For every command and method, see Numbers in the CLI reference and the Node SDK reference.

Next steps

Link a Twilio number

The fastest way to a real number.

Connect a SIP trunk

Bring any carrier that speaks SIP.

Make outbound calls

Call people from one of your numbers.

SIP agents

Ring a softphone or desk phone instead of an application.