stunnaman3
01/26/2025, 10:37 PMAI Evy
01/26/2025, 10:37 PMAI Evy
01/26/2025, 10:37 PMtypescript
const registerCallResponse = await retell.call.createPhoneCall({
from_number: '+14157774444', // replace with the number you purchased
to_number: '+12137774445', // replace with the number you want to call
});
Since you're getting a 201 status but no actual call, I'd recommend:
1. Verify your SIP trunk configuration in Twilio, particularly the termination settings [(2)]()
2. Check if you've properly imported the number to Retell
3. Ensure your Twilio number has the proper permissions for international calling [(4)]()
For debugging, you can use the Get Call API to check the call details and status [(3)]() .AI Evy
01/26/2025, 10:37 PMstunnaman3
01/26/2025, 10:37 PMAI Evy
01/26/2025, 10:37 PMAI Evy
01/26/2025, 10:38 PMsip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
You can debug the call status to see what's happening. Common failure reasons include:
- `dial_failed`: Could occur if the number is blocked or marked as spam at carrier level [(2)]()
- `dial_no_answer`: The number dialed did not answer
- `error_twilio`: Error with Twilio websocket connection
I recommend:
1. Verify your SIP trunk configuration in Twilio, particularly the termination settings [(1)]()
2. Check the logs in your Twilio provider
3. If issues persist, consider opening a ticket with Twilio to verify the setup
Since direct Twilio calls work but Retell-routed calls don't, this strongly suggests a SIP trunking configuration issue rather than a number or permissions problem.AI Evy
01/26/2025, 10:38 PMstunnaman3
01/26/2025, 10:40 PMAI Evy
01/26/2025, 10:40 PMAI Evy
01/26/2025, 10:40 PMtypescript
const registerCallResponse = await retell.call.createPhoneCall({
from_number: '+14157774444', // replace with the number you purchased
to_number: '+12137774445', // replace with the number you want to call
});
For the webhook errors you're seeing, you'll need to properly set up your webhook endpoint. The 404 errors suggest the webhook URL isn't properly registered. Make sure to register your webhook either at the account level or agent level [(4)]() .AI Evy
01/26/2025, 10:40 PMstunnaman3
01/26/2025, 10:47 PMAI Evy
01/26/2025, 10:47 PMAI Evy
01/26/2025, 10:47 PMAI Evy
01/26/2025, 10:47 PMstunnaman3
01/26/2025, 10:47 PMAI Evy
01/26/2025, 10:47 PMAI Evy
01/26/2025, 10:48 PMsip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp [(2)]()AI Evy
01/26/2025, 10:48 PMstunnaman3
01/26/2025, 10:48 PMAI Evy
01/26/2025, 10:48 PMAI Evy
01/26/2025, 10:48 PMsip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp [(1)]()AI Evy
01/26/2025, 10:48 PMstunnaman3
01/26/2025, 11:01 PMAI Evy
01/26/2025, 11:01 PMAI Evy
01/26/2025, 11:01 PMdial_no_answer error indicates that "the number dialed did not answer" [(1)]() . This could be due to a few reasons:
1. Business Verification: Based on similar issues in the community, you may need to verify your business with Twilio to make outbound calls [(2)]() .
2. Phone Number Format: Ensure you're using the E.164 format (with + country code prefix) for all phone numbers [(3)]() .
3. For SIP trunking specifically:
- Check your termination settings in your SIP trunking provider [(4)]()
- Verify the logs in your telephony provider
- Consider opening a ticket with your provider
Since you've already configured TCP transport and removed the webhook, the next step would be to:
1. Verify your business with Twilio if you haven't already
2. Double-check your phone number format includes the + prefix
3. Review your Twilio logs for more detailed error information
If the issue persists after these steps, you may want to open a support ticket with Twilio to verify your SIP trunk configuration.AI Evy
01/26/2025, 11:01 PMstunnaman3
01/27/2025, 8:29 PMAI Evy
01/27/2025, 8:29 PMAI Evy
01/27/2025, 8:29 PMAI Evy
01/27/2025, 8:30 PMAI Evy
01/27/2025, 8:30 PMstunnaman3
01/27/2025, 8:37 PMAI Evy
01/27/2025, 8:37 PMAI Evy
01/27/2025, 8:37 PMAI Evy
01/27/2025, 8:37 PMsip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
2. Review your call logs in both Twilio and Retell AI platforms to identify where exactly the call is failing
3. If you're still experiencing issues, consider:
- Joining the [Discord]()
- Visiting [Contact Sales]()
- Checking [https://github.com/RetellAI/]()
The individual profile approval should be sufficient if Twilio has accepted it, so focus on the technical configuration aspects of your setup.AI Evy
01/27/2025, 8:37 PMstunnaman3
01/27/2025, 8:38 PMAI Evy
01/27/2025, 8:38 PMAI Evy
01/27/2025, 8:39 PMdial_no_answer status, this suggests an issue with how the call is being routed through the SIP trunk rather than an international calling issue. The fact that both numbers are US-based (your Twilio number and your friend's number) means the call should be treated as domestic US-to-US routing [(1)]() .
When the call shows as dial_no_answer, it specifically means "The number dialed did not answer" [(2)]() . Since the same call works directly through Twilio, this suggests the issue is in how Retell is interfacing with your Twilio SIP trunk configuration.
For troubleshooting, check:
1. Your termination SIP URI configuration - make sure it's properly routing through US1 region since both numbers are US-based [(1)]()
2. Verify that when importing the number to Retell, you provided:
- The correct termination SIP URI
- Valid authentication credentials
3. If issues persist, try specifying TCP as the transport protocol: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
The location from where you're making the API call (Australia) shouldn't affect the call routing since you're using a US number to call another US number. The important factor is the number configuration and SIP trunk setup, not your physical location.AI Evy
01/27/2025, 8:39 PMstunnaman3
01/27/2025, 8:41 PMAI Evy
01/27/2025, 8:41 PMAI Evy
01/27/2025, 8:42 PMAI Evy
01/27/2025, 8:42 PM