https://retellai.com/?utm_source=discord&utm_medium=seo logo
hello, how can I set up a third party trunk for in...
# ❓・ai-evy-support
o
@AI Evy hello, how can I set up a third party trunk for inbound calls?
a
Thanks for tagging me @outrageous_lamb_97127. I'll look through relevant sources and get back to you shortly.
### Answer To set up a third-party SIP trunk for inbound calls with Retell AI, you should: 1. Configure your telephony provider to use Elastic SIP trunking. Set up a SIP trunk and configure your number to point to it. 2. For inbound calls, set the origination SIP URI to Retell’s SIP server address: sip:sip.retellai.com. If you need a specific transport protocol (UDP, TCP, TLS) , you can append it like sip:sip.retellai.com;transport=udp, etc. 3. If your provider requires IP whitelisting, use the US IP blocks: 143.223.88.0/21 and 161.115.160.0/19. 4. Import your number into Retell AI so Retell can route the calls. This can be done in the dashboard or programmatically using the Import Number API. 5. Assign the imported number to the desired voice agent within Retell AI. For more detail, see: - [Custom Telephony Overview]() - [Import Phone Number]()
message has been deleted
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
o
@AI Evy hows does retell AI knows where to send the call after the trunk answer point has been marked as address: sip:sip.retellai.com
a
Thanks for the follow-up, @outrageous_lamb_97127. I'll get back to you soon.
### Answer After you set the SIP trunk's origination address to sip:sip.retellai.com, Retell AI determines where to send the inbound call based on the number you import into Retell. When you import your number into Retell AI, you assign it to a specific agent or workflow. Retell uses this mapping to route inbound calls received on that number to the correct voice agent or flow inside your Retell account. This ensures calls arriving via your SIP trunk are handled by the intended agent or automation you configured during the number import process [(1) ]() [(2) ]() [(3) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Twilio](https://docs.retellai.com/deploy/twilio) [[3] AI in SIP Calling & Telephony Solutions | Retell AI](https://www.retellai.com/blog/integrating-ai-with-sip-trunking-and-modern-telephony) ​
o
@AI Evy how can I import a number from the dashboard?
a
Thanks for the follow-up, @outrageous_lamb_97127. I'll get back to you soon.
### Answer To import a number from the dashboard in Retell AI, you can use the dashboard interface to add your number and bind it to an agent. For detailed steps on importing a phone number (for example, from a third-party SIP trunk) , you would generally: 1. Go to the phone number management section in the Retell AI dashboard. 2. Select the option to import a phone number. 3. Enter the phone number in E.164 format (e.g., +14157774444) . 4. Provide the termination URI for your SIP trunk (e.g., someuri.pstn.twilio.com) . 5. Optionally, set the inbound and outbound agent IDs, agent versions, and other metadata as needed. 6. Save to complete the import and bind the number to the desired agents. This process lets Retell AI know how to route inbound calls received on that number. You can also set a nickname and inbound webhook URL if needed [(1) ]() . For more details, see: [Import Phone Number]()
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
o
can the trunk for inbound calls be sip auth?
@AI Evy can the trunk for inbound calls be sip auth?
a
Thanks for the follow-up, @outrageous_lamb_97127. I'll get back to you soon.
### Answer Yes, the trunk for inbound calls can use SIP authentication (SIP auth) . When importing a number into Retell AI, you can provide the SIP trunk authentication username and password as part of the import process. This allows Retell AI to authenticate inbound SIP traffic using credentials rather than relying solely on IP whitelisting [(1) ]() [(2) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] Telnyx](https://docs.retellai.com/deploy/telnyx) [[2] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[3] AI in SIP Calling & Telephony Solutions | Retell AI](https://www.retellai.com/blog/integrating-ai-with-sip-trunking-and-modern-telephony) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.