# Get a number

} from '../../../components/docs';

Sign-up already handed you a **test number** and PIN. That line is for **Try this agent**. Customers never dial it, and it is not a production DID.

This section is how a *customer* reaches the agent on a real line - and how the agent hands a call to a human. If you skip it, **Try this agent** still works and the live site stays silent.

## Why setup matters

Three things have to be true or a real caller hears ringing, then nothing:

1. A **SIP trunk** exists - the connection to a carrier (Voice Logica's path, or yours).
2. A **number** sits on that trunk (or is connected to this agent).
3. **This agent** is set to answer it under **Channels - Telephony**.

A number answers **one** agent. Turning it on for a second agent takes it off the first.

[Transfer](https://docs.voicelogica.ai/telephony/transfer/) is a later step. Leave it off until a production number already rings this agent.

## How the pieces connect

| Step | Where | What happens |
|------|--------|----------------|
| 1 | Sidebar - **Telephony - Trunks** | Company SIP trunks. **+ Add Trunk**. |
| 2 | Agent - **Channels - Telephony** | **+ Add SIP trunk** if none exist, then inbound route / numbers this agent should answer. |
| 3 | A real phone | Dial the DID. Open **Calls** and listen. |
| 4 | Agent - **Call handling - Transfer** | When this agent hands a caller off, and how. |

**Telephony - Routing** is an override. If every number on the trunk lands on the same agent, skip it.

## Open Telephony

In the app sidebar, click **Telephony**. It opens on **Trunks**.

The page line: SIP trunks, inbound and outbound routing, user groups, transfers, conference rooms, and call settings.

  <ShotPlaceholder
    src="/assets/telephony/trunks.png"
    name="tel-trunks"
    alt="Telephony Trunks empty state with Add Trunk"
    capture="Telephony Trunks."
  />

When empty, the table shows **Connect your first trunk** - connect a SIP carrier, an existing PBX account, or let a customer PBX register to Voice Logica. Use **+ Add Trunk**.

Tabs:

- **Trunks** — the connection
- **Active directory** — who to dial
- **Routing** — Inbound, Outbound
- **User Groups** — several people, one extension
- **Call Transfers** — named transfers
- **Conference Rooms** — dial-in bridges
- **Call settings** — SIP + recording default

## What you see on the agent

Open the agent - **Channels - Telephony**.

Production shows a **SIP trunks** card. The banner says: send phone calls to this agent - add a SIP trunk if you do not have one, then add an inbound route and pick the numbers this agent should answer - or connect a number on a trunk above.

  <ShotPlaceholder
    src="/assets/telephony/index-form.png"
    name="index-form"
    alt="Agent Channels Telephony with no SIP trunk yet"
    capture="Agent Channels Telephony empty."
  />

Empty state: **No SIP trunk yet.** A SIP trunk is the connection to your phone provider. Set one up before any number can ring this agent. Primary button: **+ Add SIP trunk**.

> **Plan-dependent buttons:** Some paid plans also show a free Voice Logica DID path (**Get your free Phone Number**) or **Activate Subscription** on Demo. If those buttons are missing, your workspace expects a SIP trunk first - follow [Your own carrier](https://docs.voicelogica.ai/telephony/your-own-carrier/) / **+ Add Trunk**. See [Voice Logica numbers](https://docs.voicelogica.ai/telephony/voice-logica-numbers/) when the free-DID controls are present.
## First setup - from the test PIN to a customer line

1. **Confirm Try this agent already works**

   [Your First Agent](https://docs.voicelogica.ai/getting-started/your-first-agent/). If the PIN line is wrong, a production DID will not fix the greeting.

2. **Add a SIP trunk**

   Either **Telephony - Trunks - + Add Trunk**, or the agent's **Channels - Telephony - + Add SIP trunk**. Complete the carrier / PBX details on [Your own carrier](https://docs.voicelogica.ai/telephony/your-own-carrier/).

3. **Connect a number and point it at this agent**

   Add or connect numbers on the trunk, then make sure *this* agent answers them (inbound route / connect on the Telephony card).

4. **Dial that number from a real phone**

   Not the test PIN. Open **Calls**. If the row is missing, the number is on a different agent, the trunk is disabled, or you dialed the rehearsal line.

5. **Only then turn on Transfer**

   [Transfer](https://docs.voicelogica.ai/telephony/transfer/) after the production number already rings.

> **The test line is not the customer line:** **Try this agent** can succeed while **Live on** still shows **0 of 2 channels**. A customer number has to be connected before you put it on the website.
## Troubleshooting

**The test PIN works but customers get nothing**

1. **Channels - Telephony** - at least one SIP trunk exists (not **No SIP trunk yet**).
2. A number is on that trunk.
3. *This* agent is the one that answers it.
4. The trunk is not disabled.

**I turned the number on for a second agent and the first went silent**

A number answers **one** agent. Claiming it here releases it from the other agent.

## Next Steps

[Your own carrier](https://docs.voicelogica.ai/telephony/your-own-carrier/) - **+ Add Trunk**, then connect numbers.  
[Voice Logica numbers](https://docs.voicelogica.ai/telephony/voice-logica-numbers/) - when your plan shows the free DID controls.  
[Routing](https://docs.voicelogica.ai/telephony/routing/) - only when one DID should not follow the trunk default.  
[Destinations](https://docs.voicelogica.ai/telephony/destinations/) - company objects, then what the agent sees.  
[Transfer](https://docs.voicelogica.ai/telephony/transfer/) - after the production number already rings.
