https://retellai.com/?utm_source=discord&utm_medium=seo logo
how to setup retell agent as an extension in a pho...
# ❓・ai-evy-support
h
@AI Evy how to setup retell agent as an extension in a phone system?
a
Thanks for tagging me @happy.koala. I'll look through relevant sources and get back to you shortly.
### Answer Setting up a Retell agent as an extension in a phone system requires integrating with your existing telephony infrastructure through SIP trunking or API connections [(1) ]() . Based on the available sources, here are the key integration approaches: Telephony System Integration Retell AI supports integration with various telephony providers including Twilio and Vonage [(1) ]() [(2) ]() . The platform allows you to connect AI voice agents to your existing phone system infrastructure [(2) ]() . PBX Integration Considerations When connecting to PBX systems, there's an important requirement: Retell requires phone numbers to follow E.164 format [(3) ]() . If your PBX uses internal extensions (like "001") , you'll need to modify your routing logic to translate these into valid E.164 caller IDs before sending to Retell . API-Based Setup You can create agents programmatically using the Retell API [(4) ]() . The create agent endpoint allows you to configure voice settings, response engines, and telephony integration parameters . Version Management When deploying agents for production use, you can use Retell's versioning system to lock in configurations and attach phone numbers to specific agent versions [(5) ]() . Custom Telephony Solutions For complex PBX integrations, you may need to use intermediate platforms like Jambonz to bridge between yo
ur PBX and Retell, ensuring proper number formatting and routing [(3) ]() . The specific setup steps will depend on your PBX type and telephony provider. For detailed implementation guidance specific to your phone system, I'd recommend checking the integration documentation for your particular telephony setup.
​ To learn more, see the sources I considered: [[1] Voice API: Integrate Phone AI Agents with Your System | Retell AI](https://www.retellai.com/blog/how-to-integrate-phone-ai-agents-with-your-existing-api-systems) [[2] How to Choose the Right Telephony System in 2024 | Retell AI](https://www.retellai.com/blog/how-to-choose-the-right-telephony-system-in-2024) [[3] custom telephony extension PBX to retell](https://discord.com/channels/1186424376300679209/1346173542873432084) [[4] Create Agent](https://docs.retellai.com/api-references/create-agent) [[5] Setup versioning for agents](https://docs.retellai.com/agent/version) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the feedback, glad I was helpful.