> ## Documentation Index
> Fetch the complete documentation index at: https://cal.com/help/llms.txt
> Use this file to discover all available pages before exploring further.

# Import Numbers

> Learn how to import phone numbers from Twilio for your Cal.ai agent via SIP trunking

## Steps

### 1. Create Elastic SIP Trunking

1. Search "Elastic SIP trunks" on Twilio Console

![Twilio SIP Trunk Search](https://mintcdn.com/calcomhelp/FwphnRUQNYp6sLuk/images/importingPhoneNumber/twilio-sip-trunk-search.jpg?fit=max\&auto=format\&n=FwphnRUQNYp6sLuk\&q=85\&s=e9f4cd316e9d95e8711d2580d83f414f)

2. Create the trunk, give it a name, and toggle these settings and click Save

![Create Twilio SIP Trunk](https://mintcdn.com/calcomhelp/FwphnRUQNYp6sLuk/images/importingPhoneNumber/create-trunk.jpg?fit=max\&auto=format\&n=FwphnRUQNYp6sLuk\&q=85\&s=7ecfb4bfff573e406d78445ffc67dabd)

![Twilio SIP Trunk Settings](https://mintcdn.com/calcomhelp/FwphnRUQNYp6sLuk/images/importingPhoneNumber/twilio-sip-trunk-settings.jpg?fit=max\&auto=format\&n=FwphnRUQNYp6sLuk\&q=85\&s=5628b1e89a2ab589a511db7ae57d92cb)

3. Setup termination (this is for outbound)

   * Click the **Termination** tab on the sidebar

![Termination Tab](https://mintcdn.com/calcomhelp/FwphnRUQNYp6sLuk/images/importingPhoneNumber/termination-page.jpg?fit=max\&auto=format\&n=FwphnRUQNYp6sLuk\&q=85\&s=21704117b76d78474c309e3a3ca6047b)

* The termination SIP URI here is important, we would use it in later steps. You might want to use a localized termination uri that's near your region. You can expand and view your localized uris in your provider's console.

* You can pick the uri something like cal-ai-support-network-02

![Termination URI](https://mintcdn.com/calcomhelp/FwphnRUQNYp6sLuk/images/importingPhoneNumber/set-termination-uri.jpg?fit=max\&auto=format\&n=FwphnRUQNYp6sLuk\&q=85\&s=4d327ca14688169e0f5caada85ccc7dd)

* For your elastic SIP trunk to accept our outbound request, you need to create a auth with username and password.

* Click on create new credentials list in Authentication section

![Create Credentials List](https://mintcdn.com/calcomhelp/FwphnRUQNYp6sLuk/images/importingPhoneNumber/create-new-credential.jpg?fit=max\&auto=format\&n=FwphnRUQNYp6sLuk\&q=85\&s=cb330f716ed9684721d8a1fff65a749c)

* Give it a friendly name and enter any username and password and we would need this username and password in the later steps and click save on the Termination page.

4. Setup origination (this is for inbound)

   * Click on Origination tab on the sidebar

   * Click on Add new Origination URI's button

![Add Origination URI](https://mintcdn.com/calcomhelp/FwphnRUQNYp6sLuk/images/importingPhoneNumber/create-origination.jpg?fit=max\&auto=format\&n=FwphnRUQNYp6sLuk\&q=85\&s=6ea92f3cab870df96d1b7ea281a993b4)

* Enter `sip:sip.retellai.com` as the **Origination SIP URI** and click **Add**.

> [!WARNING]
>
> The previous Cal.ai SIP address, `sip:5t4n6j0wnrl.sip.livekit.cloud`, was retired
> on September 30, 2026. If you previously configured a trunk with that address,
> update its Origination SIP URI
> to `sip:sip.retellai.com`. Calls routed to the retired address may no longer
> connect.

* If your existing URI specifies a transport, preserve it on the new host, for example `sip:sip.retellai.com;transport=tls` (or `;transport=tcp` / `;transport=udp`).
* If your provider or firewall uses an IP allowlist, certificate pinning, or mTLS, contact [Cal.com support](https://go.cal.com/support) for the connection settings required for the new SIP address.
* Keep your Twilio Termination URI and SIP credentials unchanged when migrating. After saving the origination change, place an inbound test call to verify routing.

### 2. Move numbers to Elastic SIP Trunking

You've created the elastic SIP trunk, now you would need to purchase numbers / move existing numbers to this trunk.

* Now go to **Numbers** tab on the sidebar and click on **Add a number** button to purchase / move existing numbers to this trunk.

![Numbers Tab](https://mintcdn.com/calcomhelp/FwphnRUQNYp6sLuk/images/importingPhoneNumber/numbers-tab.jpg?fit=max\&auto=format\&n=FwphnRUQNYp6sLuk\&q=85\&s=1a740891d5a5e40e3c97c20c69ea5fdf)

### 3. Import modal on Cal.com

On Import modal on Cal.com workflow edit page, enter these values:

* Your complete phone number with country code

* Complete Termination URI from the previous steps

* SIP Username and password from the previous steps

* Click on **Create** button to import the number to Cal.com

![Import Modal](https://mintcdn.com/calcomhelp/FwphnRUQNYp6sLuk/images/importingPhoneNumber/import-phone-number-modal.jpg?fit=max\&auto=format\&n=FwphnRUQNYp6sLuk\&q=85\&s=21959e28bc9a237da560349e850c91a5)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.