SIP Trunk sip.vapi.ai
# support
s
Dees any recently SIP Server changes are made at VAPI. All of sudden our SIP Trunk with sip.vapi.ai stopped working with error message: Registration for "XXXXX"@sip.vapi.ai' timed out, trying again ..
v
Hi there! 👋 I don't have specific information about any SIP Server changes made at VAPI today (April 11, 2025), but I can definitely help with information about recent changes from the past few months and troubleshooting steps for your registration timeout issue. ### Recent SIP Server Changes at VAPI There have been a few notable changes to VAPI's SIP services in recent months: 1. Enhanced BYO SIP Trunk Configuration (November 21, 2024): VAPI added the ability to specify a
techPrefix
for outbound SIP calls and enable
sipDiversionHeader
for authenticating the calling number when configuring BYO SIP trunk credentials. [According to the changelog](https://docs.vapi.ai/changelog/2024/11/21). 2. New Transfer Plan Mode (January 5, 2025): VAPI added a new transfer plan mode (
blind-transfer-add-summary-to-sip-header
) that allows call summaries to be included in the SIP header during blind transfers. [According to the changelog](https://docs.vapi.ai/changelog/2025/1/5). 3. **Potential Service Disruption**: There have been some reports of issues with VAPI's SIP service recently, with one user reporting similar messages on calls. A VAPI representative indicated that the issue should be fixed, but another user mentioned facing the same issue for days. ### Common Causes for SIP Registration Timeout Errors Your error message "Registration for 'XXXXX'@sip.vapi.ai' timed out, trying again.." could be caused by several factors: 1. **Network Connectivity Issues**: Problems with network connectivity can prevent successful registration. 2. **Firewall Configuration**: Ensure your firewall is properly configured to allow SIP traffic and that there are no blocks on the ports used by SIP (typically port 5060). 3. **Authentication Problems**: VAPI expects authentication credentials in the Authorization header. The username must be your SIP username, and the password can be anything except "test".
4. **SIP System Compatibility**: The SIP system might require specific headers or settings not provided by VAPI. ### Troubleshooting Steps Here are some steps you can take to resolve the issue: 1. **Verify SIP Trunk Configuration**: Ensure the correct Credential ID, IP/Port, Authentication details, and that SIP Register is enabled with the proper Domain and Realm. 2. **Check Network and Firewall**: Ensure that your firewall allows SIP traffic and check for any NAT traversal issues. 3. **Verify Authentication Credentials**: Double-check that the credentials provided to VAPI are correct. 4. **Server Details**: Use
sip.vapi.ai
as the FQDN and port
5060
for inbound calls. 5. **Review Logs**: Check logs from your SIP server for additional clues about why the connection is failing. Is there any specific part of the troubleshooting process you'd like me to elaborate on? Sources: - [Changelog November 21, 2024](https://docs.vapi.ai/changelog/2024/11/21) - [Changelog January 5, 2025](https://docs.vapi.ai/changelog/2025/1/5) - [Discord discussion about SIP service issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339440148806504458) - [Discord discussion about authentication requirements](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334238882660618250) - [Discord discussion about SIP server configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1344680024665493524) - [Discord discussion about troubleshooting steps](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336713212233515089)
n
Sounds like your being blocked or their SIP endpoint is faulty
s
Thanks Nir for the response on this tcase. That could be a reason but now the question is raised that how to request for a unblock 🙂 @Vapi , any suggetion to fix the issue?
k
Make sure your SIP trunk settings align with the current requirements by consulting the [https://docs.vapi.ai/advanced/sip/sip-trunk](https://docs.vapi.ai/advanced/sip/sip-trunk), and confirm that your firewall and network configurations permit traffic to and from updated IP addresses.