rising-crimson
rising-crimson3mo ago

Urgent - sip trunk connection error - phone is not connecting

Please check why sip connection is not connecting
9 Replies
rising-crimson
rising-crimsonOP3mo ago
We are getting 401 message as unauthorized...but previously it was all working ok
Shubham Bajaj
Shubham Bajaj3mo ago
Hi andrewboy777, To troubleshoot your SIP trunk connection issue, here are some steps you can take: 1. Verify Whitelisted IPs: Make sure that the following IPs are allowlisted for SIP signaling and media: - 44.229.228.186/32 - 44.238.177.138/32 - 172.31.9.106/32Ensure your SIP provider uses a unique termination URI or a dedicated SIP server, as shared servers might lead to routing issues if IP-based authentication is used. 2. Check Call Ended Reason: Obtain the call ID of the failed attempt and check the call's endedReason by retrieving the call data from Vapi: - Use the API:
curl -X GET "https://api.vapi.ai/call/{call_id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"

curl -X GET "https://api.vapi.ai/call/{call_id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"

- Look for specific error codes that might indicate the issue, such as call.in-progress.error-sip-telephony-provider-failed-to-connect-call. 3. Examine Configuration: Ensure your SIP trunk and phone number registrations are correctly configured in Vapi. Check for any misconfigured authentication details or incorrect SIP server addresses. 4. Review SIP Provider Logs: Check the telephony provider's dashboard for logs. Look for any error messages related to the SIP trunk configuration or call initiation. Refer to the SIP Trunking Guide for detailed setup instructions and common troubleshooting steps. If you continue to face difficulties, consider examining specific configuration aspects that may have been overlooked.
SIP Trunking | Vapi
How to integrate your SIP provider with Vapi
rising-crimson
rising-crimsonOP3mo ago
i need human help asap
other-emerald
other-emerald3mo ago
Have you completed all the steps?
rising-crimson
rising-crimsonOP3mo ago
Yes Are you human?
other-emerald
other-emerald3mo ago
Yes i am Send phone number ID..
foreign-sapphire
foreign-sapphire3mo ago
@andrewboy777 Is the problem solved? Let me know, We can connect over meet.
rising-crimson
rising-crimsonOP3mo ago
Yeah it is solved..is think you fixed it somehow internally;)
other-emerald
other-emerald3mo ago
Glad it is fixed..

Did you find this page helpful?