> For the complete documentation index, see [llms.txt](https://support.portsip.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.portsip.com/portsip-communications-solution/configuring-sip-trunks/twilio-sip-trunk/purchase-a-did-on-the-twilio.md).

# Purchase a DID on the Twilio

### Purchase a DID on the Twilio Platform

To purchase a DID on your Twilio account, follow these steps:

1. Sign in to the [Twilio Console](https://console.twilio.com/).
2. Follow the Twilio guide “[How to Search for and Buy a Twilio Phone Number from the Console](https://help.twilio.com/articles/223135247)” to purchase one or more DID numbers.
3. If you plan to use **SMS/MMS**, ensure that you **enable the SMS and MMS options** when selecting the phone number.

<figure><img src="/files/gtIend5I50naO1KuZBZG" alt=""><figcaption></figcaption></figure>

#### View Purchased Numbers

After purchase, you can find your active phone numbers in the [Twilio Console](https://www.twilio.com/console/phone-numbers/search) under:

**Develop > Phone Numbers > Manage > Active Numbers**

<figure><img src="/files/wjrg4CoWy9YiZeOkGslD" alt=""><figcaption></figcaption></figure>

***

### Next Steps

Once the DID numbers are available, proceed with one of the following guides to configure the Twilio trunk in PortSIP PBX:

* [Configuring Twilio Register Based Trunk](/portsip-communications-solution/configuring-sip-trunks/twilio-sip-trunk/configuring-twilio-register-based-trunk.md)
* [Configuring Twilio Interconnect Trunk](/portsip-communications-solution/configuring-sip-trunks/twilio-sip-trunk/configuring-twilio-interconnect-trunk.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://support.portsip.com/portsip-communications-solution/configuring-sip-trunks/twilio-sip-trunk/purchase-a-did-on-the-twilio.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
