willinabus
01/28/2025, 10:36 AMAtlas
01/28/2025, 10:36 AMVapi
01/28/2025, 10:39 AMVapi
01/28/2025, 10:39 AMsipUri
attribute within the forwardingPhoneNumbers
array to direct the calls to your SIP address. Please ensure that the sipUri
is correctly formatted and points to your Yeastar PBX.
Regarding the call transfer issues with the Twilio SIP trunk, it's important to ensure that your receiving system is configured to handle SIP REFER messages, as VAPI utilizes SIP REFER to transfer SIP calls. If the transfers are failing, there might be a compatibility issue or a misconfiguration in the handling of these messages.
For guidance on specific configurations or server settings required for handling calls within Europe, specifically from France to France, you should ensure that your SIP trunk and VAPI.ai settings comply with any regional requirements and that the latency is minimized for better call quality.
If you provide me with the necessary details, I can help you further configure the settings or troubleshoot the issues. Otherwise, if you need more in-depth technical assistance, please ask support for more info on this.
Best regards,
VAPI Support TeamVapi
01/28/2025, 10:39 AMwillinabus
01/28/2025, 10:56 AMwillinabus
01/28/2025, 11:35 AMVapi
01/28/2025, 11:35 AMsipUri
is correctly formatted and that your PBX is configured to accept connections from VAPI.ai's IP addresses. Also, check if there are any NAT traversal issues that might be preventing the SIP messages from reaching your PBX.
- If you've confirmed that the sipUri
is correct and there are no network issues, please ask support for more info on this, as we may need to look into the logs and deeper system configurations.
2. European Server Availability:
- VAPI.ai does have infrastructure in various regions to help reduce latency. If you're experiencing high latency, it's important to ensure that your traffic is being routed through the closest available data center. Please ask support for more info on this to check if there are specific settings or configurations that can be adjusted to optimize your connection to European servers.
3. Twilio Call Transfer Issues:
- For the call transfer issues with Twilio SIP trunk, ensure that your PBX is configured to handle SIP REFER messages. If the issue persists, it could be related to the compatibility between Twilio's SIP trunk and your PBX. You may need to check the logs for any error messages during the transfer attempts and adjust the PBX settings accordingly. If you're unable to resolve the issue, please ask support for more info on this for further assistance.
Please provide any additional information or specific error messages you have, and we can continue to troubleshoot the issues together. If you need immediate technical support, don't hesitate to ask support for more info on this.
Best regards,
VAPI Support Teamwillinabus
01/28/2025, 11:38 AMVapi
01/28/2025, 11:38 AMsip.vapi.ai
with port 5060
and experiencing high latency, it's possible that your traffic is not being routed through the nearest data center. To address this, you should reach out to VAPI.ai's support team to inquire about the availability of a European server endpoint that you can use to minimize latency.
Your current JSON configuration for the BYOC SIP trunk looks correct based on the information you've provided. If you're still experiencing issues with the "sip gateway failed to connect" error, it's essential to verify that the "ip" and "port" values in your "gateways" array are accurate and correspond to your PBX's external IP address and the port you've configured for SIP traffic.
Please ask support for more info on this to get the most up-to-date and region-specific server information and to ensure that your configuration is optimized for the best performance.
Best regards,
VAPI Support Teamwillinabus
01/28/2025, 11:41 AMwillinabus
01/28/2025, 11:47 AMwillinabus
01/28/2025, 4:48 PMwillinabus
01/28/2025, 6:19 PMwillinabus
01/28/2025, 7:12 PMVapi
01/28/2025, 7:12 PMjson
{
"provider": "byo-sip-trunk",
"name": "BYOC Trunk",
"credentials": {
"username": "YourUsername",
"password": "YourPassword"
},
"gateways": [
{
"ip": "YourStaticIP",
"port": YourStaticPort,
"netmask": 32,
"inboundEnabled": true,
"outboundEnabled": true,
"outboundProtocol": "udp"
}
]
}
Please replace YourUsername
, YourPassword
, YourStaticIP
, and YourStaticPort
with the actual values provided by your PBX trunk.
After setting up the credentials, you should also configure your PBX to accept connections from VAPI.ai's IP addresses and ensure that the firewall is configured to allow traffic on the specified port.
If you're unsure about the exact format of the API call or if additional steps are required, please ask support for more info on this. They will be able to provide you with the specific details and guidance you need to complete the configuration.
Regarding your question about whether just an IP will work, it depends on the authentication method required by your PBX. If your PBX requires authentication, you will need to provide a username and password. If it supports IP-based authentication and does not require a username and password, then configuring the IP and port might be sufficient.
For further assistance and step-by-step guidance, please ask support for more info on this.willinabus
01/28/2025, 7:14 PMVapi
01/28/2025, 7:14 PMcredentials
property should not be included in the API request you're making. This suggests that the API endpoint you're using does not expect a credentials
field in the JSON payload.
If your SIP trunk requires a username and password for authentication, it's possible that the API endpoint or the method for providing these details is different than what you've attempted. The correct method to include SIP credentials may vary based on VAPI.ai's API specifications.
To resolve this issue, you should refer to the official VAPI.ai documentation for creating SIP trunk credentials or reach out to their support team for the correct API endpoint and payload structure.
In the meantime, if your PBX supports IP authentication and does not strictly require username and password authentication, you could attempt to set up the trunk using just the IP and port information.
If you continue to experience difficulties or if you need the exact steps and API endpoint for including username and password authentication, please ask support for more info on this. They will be able to provide you with the correct information and help you resolve the error.willinabus
01/28/2025, 7:17 PMVapi
01/28/2025, 7:17 PMShubham Bajaj
01/29/2025, 9:35 AMissues
1. Outbound Calls (BYOC): Can you share the call ID/PCAP-file so I can take a look?
2. Call Transfers (Twilio): We don't allow or we cannot do PSTN to SIP Transfers.
@willinabus let's resolve the first one first then we will get into the other, share the call ID/PCAP please.willinabus
01/29/2025, 11:10 AMwillinabus
01/29/2025, 11:21 AMwillinabus
01/29/2025, 12:06 PMwillinabus
01/29/2025, 12:07 PMVapi
01/29/2025, 12:07 PM6663f04c-c1e8-47fc-93a6-f2226921fbd5
and f76a0ad2-572c-4f67-b619-457310260a48
) and any relevant details about the problems you're experiencing.
4. Request a suitable time for the call, considering your time zone and availability.
The support team should be able to schedule a call with you to discuss the issues in detail and work towards a resolution.
If you need further assistance or have any other questions, please let me know, and I'll do my best to help you.willinabus
01/29/2025, 5:41 PMShubham Bajaj
01/30/2025, 10:44 AMShubham Bajaj
01/30/2025, 10:48 AMwillinabus
01/30/2025, 10:50 AMShubham Bajaj
01/30/2025, 10:54 AMwillinabus
01/30/2025, 10:59 AMShubham Bajaj
02/03/2025, 4:48 AMlogs
🔵 12:14:12:288 Call e6905710-c1b6-4b09-bc2d-60f694865517
Waited 300s But Transport Never Connected.
@willinabus I have reviewed your recent call ID; however, it appears that your telephony did not respond or connect, which resulted in the call being dropped. Could you please attempt to make another call ?Shubham Bajaj
02/04/2025, 10:36 AMeu.o.jotape
03/27/2025, 7:19 PMKyle
03/29/2025, 1:48 PM