ghal.ro
10/27/2025, 5:29 PMAI Evy
10/27/2025, 5:29 PMAI Evy
10/27/2025, 5:30 PMAI Evy
10/27/2025, 5:30 PMG722, G729, and OPUS as codecs [(1) ]() . While the Twilio-specific documentation doesn't explicitly list codec preferences, G722 is a wideband codec that typically provides better audio quality than narrowband codecs like PCMU/PCMA [(2) ]() .
## Transport Protocol
The Custom Telephony Overview documentation explicitly states that UDP is supported, along with TCP and TLS [(3) ]() . The documentation shows that for TCP, the SIP server URL needs to be sip:sip.retellai.com;transport=tcp . For UDP, it should be sip:sip.retellai.com;transport=udp .
However, there's a note in the Telnyx documentation mentioning "UDP temporarily not supported due to a connectivity issue" for that specific provider [(1) ]() . This appears to be Telnyx-specific rather than a general Retell limitation.
## Twilio SIP Trunk Setup
For your Twilio Elastic SIP Trunk, the documentation specifies [(2) ]() :
1. Set up origination with Retell's SIP server address: sip:sip.retellai.com
2. For termination, use your Twilio termination SIP URI
3. Whitelist IP addresses in the range as shown in the documentation
## Recommendations
Based on the documentation:
1. Try explicitly setting your transport protocol to TCP using sip:sip.retellai.com;transport=tcp in your origination URI [(3) ]()
2. Consider testing with G722 codec if your Twilio trunk supports it, as it provides wideband audio
3.AI Evy
10/27/2025, 5:30 PMAI Evy
10/27/2025, 5:30 PM