# Credentials and ring strategies

A **Registration** trunk uses SIP credentials. Add one credential per device.

## Add a credential

1. Open the trunk.
2. In **SIP credentials**, enter a **Username**: 3 to 64 characters, using letters, digits, `_`, `.` and `-`. Usernames are unique across the platform.
3. Enter a **Password** of 12 to 128 characters, or select **Generate password**.
4. Select **Add**.

The credential is shown once as `username@domain` with its password. Copy it now. Configure your device with the username, the password and your SIP domain.

To remove a device, archive its credential.

## Ring strategies

The **Ring strategy** decides how an inbound call rings the trunk's devices.

| Strategy | Behavior |
|---|---|
| **Ring all** | Every device rings at once. The first to answer takes the call. |
| **Sequential** | One device at a time, in your order. Use **Ring earlier** and **Ring later** to set the order. |
| **Round robin** | One device at a time, starting after the device that started last time. |
| **Longest idle** | One device at a time, starting with the device idle longest. |
| **Random** | One device at a time, in random order. |

For every strategy except **Ring all**, set **Ring time per device (s)**: 5 to 120 seconds, default 20.

- Devices that are not registered are skipped.
- Busy or no answer moves the call to the next device.
- If a device declines the call, ringing stops.
- When no device is left, the caller hears busy or unavailable.
