https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do we connect Twilio to a analogue phone syste...
# ❓・ai-evy-support
t
@AI Evy how do we connect Twilio to a analogue phone system
a
Thanks for tagging me @tt1919.. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, I don't have specific information about connecting Twilio directly to an analog phone system in the context of Retell AI. However, the documentation does cover connecting Twilio to Retell AI via SIP trunking [(1) ]() [(2) ](

▾

) . The typical architecture involves: 1. Creating an Elastic SIP Trunk in Twilio [(1) ]() 2. Setting up termination (for outbound) and origination (for inbound) URIs 3. Importing your Twilio numbers into Retell AI For connecting Twilio to an analog phone system, you would typically need an Analog Telephone Adapter (ATA) or a SIP-enabled gateway device that bridges traditional analog phones to VoIP services like Twilio. This hardware sits between your analog phones and Twilio's SIP infrastructure. If you're looking to integrate Retell AI voice agents with an existing analog PBX system, you might consider using Twilio as the bridge - where Twilio connects to your analog system via appropriate hardware, and then Twilio connects to Retell AI via SIP trunking as documented [(1) ]() [(2) ](

▾

) . For detailed hardware recommendations and analog-to-SIP gateway configuration, I'd suggest reaching out to Twilio support directly, as this falls outside Retell AI's specific documentation scope.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Retell AI - Connect to your own Twilio - Using Sip Trunking](

https://www.youtube.com/watch?v=JC3PV_R-Z1Y▾

) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
t
@AI Evy heres the issue I'm trying to solve: its what I sent to my client. -see below Could you please check the call forwarding setup for Thomas Childs? When unanswered or overflow calls are forwarded to our number, the system is currently sending your office number as the caller ID rather than the original caller’s number. We need the original caller ID to be preserved on forwarded calls. On your side, this is usually called “external forward,” “unanswered call forward,” or “pass caller ID on redirect.” Right now, it looks like the system is performing an outbound transfer, which overwrites the caller ID. Could you adjust this so the original caller ID is passed through instead?
a
Thanks for the follow-up, @tt1919.. I'll get back to you soon.
### Answer Based on your description, this is a caller ID preservation issue during call transfers in Retell AI. The documentation addresses this specific scenario [(1) ]() [(2) ]() . ## Configuring Caller ID on Transfers Within Retell AI's transfer configuration, you can control which caller ID shows up at the transfer destination : 1. **Retell Agent's number**: The transfer destination sees the Retell agent's number 2. **User's Number**: The transfer destination sees the original caller's number ## Important Requirements For the "User's Number" option to work, your telephony provider must support caller ID override : - **For warm transfer**: Uses SIP DIAL, setting
from
and
P-Asserted-Identity
headers to the user's number - **For cold transfer**: Uses SIP REFER, requiring telephony provider support for caller ID override on SIP REFER - **Retell Twilio numbers**: Support showing user's number on both warm and cold transfer - **Retell Telnyx numbers**: Only support this when using SIP REFER via cold transfer - **If caller ID override is not supported**: The transfer will fail ## Configuration Steps In your Call Transfer Node or transfer call settings, set the Caller ID option to "User's Number" . This tells Retell to pass through the original caller's number instead of the Retell agent's number. ## Known Issues Community forum discussions indicate this has been a recurring issue for some users [(3) ]() [(4) ]() . If you've configured "User's Number" correctly but it's still not working, you may need to verify your Twilio configuration supports caller ID override for the transf
er method you're using (warm vs. cold) [(5) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.