Browse all articles
Connect Twilio to Kollie
Send calls from your Twilio number to a Kollie AI agent using a Twilio Elastic SIP Trunk.
Last updated:
On this page
Send calls from your Twilio number to a Kollie AI agent using a Twilio Elastic SIP Trunk.
Kollie SIP details: SIP URI
sip:luvjtjd3aor.sip.livekit.cloud· domain (withoutsip:)luvjtjd3aor.sip.livekit.cloud· transport TCP · inbound calls only (outbound calls over your own number aren't available yet). Full reference: Use your own phone number with SIP.
At a glance
| What | Twilio setting | Required? |
|---|---|---|
| Inbound (Twilio → Kollie) | Origination SIP URI on an Elastic SIP Trunk | Yes |
| Transfers (agent → a person) | Call Transfer (SIP REFER) | Only if the agent transfers calls |
Before you start
- An active Twilio account and a Twilio number with voice capability.
- A Kollie agent that is already set up.
Twilio's own reference is its Elastic SIP Trunking documentation.
Part 1: Add your number in Kollie
- Add the number
- Go to My Numbers → Add Your Number.
- Select the country and enter your Twilio number exactly as it appears in Twilio. Then click Add.
- Attach it to an agent
- Attach the number to the agent that should answer. See Step 1 of the overview.
- Note Kollie's SIP URI
- Kollie's SIP URI is
sip:luvjtjd3aor.sip.livekit.cloud. You'll use it in step 6.
- Kollie's SIP URI is
Part 2: Build the trunk in Twilio
-
Create the trunk
- In the Twilio Console, open Elastic SIP Trunking → Trunks → Create new trunk.
- Give it a name such as
kollie. The name is only for your own overview.
-
Turn on transfers (optional)
In the trunk's General settings, enable:
- Call Transfer (SIP REFER), so the agent can hand calls over.
- PSTN Transfer, which you also need for transfers to external phone numbers.
Notes:
- Twilio only supports blind transfers here: the agent can't speak to the recipient before handing over.
- Twilio bills transfers to external numbers at its normal rates.
-
Set the Origination URI
Under Origination, add Kollie's SIP URI followed by these two parameters:
sip:luvjtjd3aor.sip.livekit.cloud;edge=frankfurt;transport=tcp
| Part | Purpose |
|---|---|
sip:luvjtjd3aor.sip.livekit.cloud | Kollie's SIP URI, where Twilio delivers calls |
edge=frankfurt | The Twilio edge location closest to Kollie |
transport=tcp | The protocol used for SIP signalling |
Copy it exactly. A stray space or a missing semicolon is enough for Twilio to reject it.
-
Attach your number to the trunk
Under Numbers, add the Twilio number you added in Kollie. Calls to numbers that aren't attached to this trunk won't reach Kollie.
Test checklist
Inbound
- Call the Twilio number from another phone. The attached agent answers.
- The caller's real number appears in Agent Calls History.
- Audio works in both directions.
Transfers
- During a test call, ask the agent to transfer you.
- The transfer target is in international format and appears in the Twilio logs.
Troubleshooting
| Symptom | What to check |
|---|---|
| Inbound calls don't reach Kollie | The number is attached to the trunk · the Origination URI is enabled and complete · edge and transport are spelled correctly · the same number is on a Kollie number card with an agent attached |
| Call reaches Kollie but nobody answers | The number on the Kollie card matches the Twilio number exactly, including + · the Agent row on the card shows an agent |
| Transfers fail | Call Transfer (SIP REFER) is enabled · PSTN Transfer is enabled for external numbers · the target is in international format · your Twilio account may call the destination country · a child call appears in Twilio's voice logs |
You can find failed calls in the Twilio Console under Monitor → Logs → Voice.
Related articles
- Forward your business calls to your agentForward calls from your own business number to a Kollie AI agent, without changing the number your customers dial.
- Phone codes for call forwardingThe standard GSM and European service codes to activate, cancel and check call forwarding on landlines and mobile phones.
- Forward calls from your VoIP providerForward your business number to your Kollie AI agent from your VoIP provider's admin portal.
Still need help?
Can't find the answer you're looking for? Send us a ticket and our support team will help you set up and improve your agents.
Submit a support ticket