https://retellai.com/?utm_source=discord&utm_medium=seo logo
k
Hi, @AI Evy. I currentlly having trouble with SIP trunk connection from aircall. Basically it only forwards the calls from Aircall to Retell via SIP but no calls are being registered in Retell.
a
Thanks for tagging me @kicknick8575. I'll look through relevant sources and get back to you shortly.
### Answer I can see you're experiencing an issue where calls are forwarding from Aircall to Retell via SIP but aren't being registered in Retell's call history. This is a common issue with SIP trunk configurations. Based on the available sources, here are the key troubleshooting steps for SIP trunk connections with Retell: Check Your SIP Configuration: For inbound calls to work properly, you need to ensure your SIP trunk is configured with Retell's SIP server address:
sip:sip.retellai.com
[(1) ]() . Verify Number Import: After setting up your SIP trunk, you must import the number to Retell so the system knows how to route the call [(2) ]() . You can import the number through the dashboard or programmatically via the Import Number API [(3) ]() . Check Required Settings: For SIP trunking to work with Retell, ensure you have [(1) ]() : - Correct origination settings pointing to Retell's SIP server - Proper termination URI configuration - Authentication credentials if required Transport Methods: Retell supports UDP, TCP, and TLS transport methods . For different transport methods, the SIP server URL format should be: - UDP:
sip:sip.retellai.com;transport=udp
- TCP:
sip:sip.retellai.com;transport=tcp
- TLS:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
Common Issues: If inbound calls aren't connecting, check your origination settings in your SIP trunking provider and review the logs in your telephony provider . Since Aircall isn't specifically covered in the available documentation, I'd recommend checking if your Aircall SIP trunk configuration matches these requirements. You may also want to contact Retell support with your specif
ic Aircall configuration details for further assistance. Sources Used: , [(2) ]() , [(3) ]()
​ 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] 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.
k
Okay i start over setting up Aircall. Upong setting up Aircall gave me domain and username to be filled up. What should i use to input in Aircall?
@AI Evy Okay i start over setting up Aircall. Upong setting up Aircall gave me domain and username to be filled up. What should i use to input in Aircall?
a
Thanks for the follow-up, @kicknick8575. I'll get back to you soon.
### Answer For setting up Aircall with Retell AI's SIP trunk, you'll need to configure Aircall to connect to Retell's SIP server [(1) ]() . Domain/SIP Server Address: Use Retell's SIP server address:
sip.retellai.com
Transport Method: For different transport methods, you can specify : - For UDP:
sip:sip.retellai.com;transport=udp
- For TCP:
sip:sip.retellai.com;transport=tcp
- For TLS:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
Username/Authentication: The documentation doesn't specify what username to use for Aircall specifically. However, based on the SIP trunking setup patterns shown for other providers, you may need to leave the username blank or use credentials provided by your specific setup [(2) ]() [(3) ]() [(4) ]() . Important Next Steps: After configuring Aircall's SIP trunk settings, you'll need to import your phone number to Retell using the termination URI that Aircall provides you [(5) ]() . This is crucial - without importing the number, Retell won't know how to route calls even if the SIP connection is established [(2) ]() . Since Aircall isn't specifically covered in the available documentation, I'd recommend: 1. Try using
sip.retellai.com
as the domain 2. Leave username blank initially (some providers use IP-based authentication) 3. If that doesn't work, contact Retell support for Aircall-specific configuration details You can also visit [Contact Sales]() or [) for additional support.
​ 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] Telnyx](https://docs.retellai.com/deploy/telnyx) [[4] Vonage](https://docs.retellai.com/deploy/vonage) [[5] 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.
k
it doesn't allow me to leave the username blank
a
Thanks for the follow-up, @kicknick8575. I'll get back to you soon.
k
@AI Evy it doesn't allow me to leave the username blank
a
### Answer Since Aircall requires a username and doesn't allow blank fields, you'll need to provide authentication credentials for your SIP trunk connection. Based on the available sources, when importing a phone number with SIP trunk authentication, you need to provide both username and password [(1) ]() . The import process requires:
Copy code
javascript
const phoneNumberResponse = await client.phoneNumber.import({
 phone_number: '+14157774444',
 termination_uri: 'someuri.pstn.twilio.com',
 sip_trunk_auth_username: 'username',
 sip_trunk_auth_password: '123456',
}) ;
For your Aircall setup, you'll need to: 1. Check with Aircall support for the specific username format they require for SIP trunk connections to external providers like Retell AI 2. Generate SIP credentials within your Aircall account if they provide that option 3. Use your Aircall account credentials if that's what they expect for SIP trunk authentication The sources show that different providers have varying authentication requirements [(2) ](

▾

) [(3) ]() . Some providers require specific username formats or account-based credentials for SIP trunk connections [(3) ]() . Since Aircall isn't specifically documented in the available sources, I recommend contacting Aircall support to ask what username format they require for connecting to external SIP servers like
sip.retellai.com
. You can also visit [Contact Sales]() or [) for additional support with your specific Aircall configuration.
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[2] Retell AI - Connect to your own Twilio - Using Sip Trunking](

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

) [[3] 403 SIP error on VoipTel Italia trunk](https://discord.com/channels/1186424376300679209/1387798467681980487) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.