> For a complete page index, fetch https://docs.synthflow.ai/llms.txt. For full documentation content, fetch https://docs.synthflow.ai/llms-full.txt. # Twilio SIP Trunking > Connect a Twilio Elastic SIP Trunk to Synthflow, configure termination and origination, move your numbers to the trunk, and import them into Synthflow. A Twilio Elastic SIP Trunk connects Synthflow to the phone network through your Twilio account, so agents place and receive calls on your Twilio numbers. To connect your Twilio account directly instead, including SMS, see [Twilio](/twilio). > **Warning** > > If your Twilio account is already trunked into other systems, connect the number to Synthflow through a Twilio subaccount. ## Trunk setup **General settings.** Create the trunk, give it a name, and open the **General Settings** tab. ![](https://files.readme.io/04b555277287138c391cd6a8e2de58f58a55ecaf493be9bdeac56d9d41d33e8f-image.png) * Turn on call recording. * Turn on call transfer. * Leave secure trunking off. **Termination, for outbound calls.** Note the **Termination SIP URI**. You enter it when you import the number into Synthflow. * Add the signaling and media IPs for your region from [IP allow lists](/ip-allow-lists#region-addresses) to a Twilio IP Access Control List. For environment-specific guidance, contact Synthflow support. * Add both `Default ACL 1` and `Default ACL 2`, or your region-specific ACLs that contain those IPs, to the trunk. ![](https://files.readme.io/445f885da119604c97316004381743f9a442bef860966b6288627a740b661624-image.png) ![](https://files.readme.io/2894700696999159a97c0186d9a767458818ea3967891035845fb8b16e1a510f-image.png) * The trunk accepts outbound requests from allow-listed IPs, or from a username and password. If you use credentials, enter the same username and password when you import the number. * ![](https://files.readme.io/582eee6a3070b9cf7bce7f197b527e75ecd85b21697c0365e4ff0bdb0f2127a6-image.png) ![](https://files.readme.io/d4c7c82ed96727a98042547548f4779dcf833dfe579f31666600cc926b32cc72-image.png) **Origination, for inbound calls.** Set the **Origination SIP URI** to the Synthflow SIP address for your workspace's region, over UDP: * Global (legacy): `sip:sip.synthflow.ai:32681` * US: `sip:sip.us.synthflow.ai:32681` * EU: `sip:sip.eu.synthflow.ai:32681` * ![](https://files.readme.io/321be4934b6367b0fb87d878f6f4ef0ab116d8f2c59d8cb96bee9374fc17639e-image.png) ## Numbers on the trunk Buy numbers in Twilio, or move your existing numbers, and assign them to the trunk. ![](https://files.readme.io/6cbcdacdf7dbf77ed897ac4098f90496de21908916277fab86b338c8bd27e5ab-image.png) ![](https://files.readme.io/99f114be3e9c6996c5efe436e805e0af4422fb525f3805ff3c182a5e14ccd7fd-image.png) ## Number import Import each number into Synthflow as a [custom number](/phone-numbers#adding-custom-numbers), so Synthflow knows how to route its calls. Enter the **Termination SIP URI** from the trunk. If the trunk uses credentials, also enter the username and password. ![](https://files.readme.io/ba5e212158d22c59a456ba4ca7e2bb2b79a79f28b6850360dcda91e5b06018f1-image.png) ![](https://files.readme.io/ec0bcd2689a8dcedbbad1d7f35833c73b0796e1a3e6be1d1c7caa5dc674b698d-image.png) The imported number places and receives calls like a number bought in Synthflow. To stop using it, delete it from **Phone Numbers**, or with the [Delete a phone number](/api-reference/platform-api/phone-numbers/delete-phone-number) API. > Route calls between Synthflow and the phone network through a Twilio Elastic SIP Trunk.