t
@Vapi
v
@TateN Hello! How can I assist you today with VAPI? If you have any questions or need support with voice development, feel free to ask!
t
Hello, i'm trying to use VAPI to create a voice agent for medical purpose, i'm facing issues with the call being dropped every 2 or 3 times, where does this issue can come from? @Vapi
v
@TateN I'm sorry to hear that you're experiencing issues with calls being dropped. This problem can stem from a variety of factors, including network connectivity issues, configuration errors, or limitations in the service plan you might be using. To better assist you, I would need some more details about your setup and the exact nature of the problem. Could you please provide more information on the following: 1. The network environment in which the VAPI is being used (e.g., WiFi, wired, mobile network). 2. Any error messages or codes you receive when the call drops. 3. The configuration settings you're currently using for the voice agent. 4. The frequency and pattern of the call drops, if any. With this information, we can start troubleshooting the issue more effectively. If you prefer, you can also reach out directly to our support team by [sending an email](support@vapi.ai) with the details of your issue.
t
the WIFI speed is 30mb per second can it be this
v
@TateN A WiFi speed of 30 Mbps is generally considered sufficient for voice API services, including running a voice agent for medical purposes. However, the stability of the connection can also play a significant role. If the WiFi network is unstable or prone to interference, it could cause intermittent call drops. Here are a few things to consider: 1. **Network Stability**: Ensure that the WiFi signal is strong and stable where the voice agent is being used. Weak or fluctuating signals can lead to dropped calls. 2. **Bandwidth Usage**: Check if there are other high-bandwidth applications running on the same network that could be affecting the performance of your voice agent. 3. **Quality of Service (QoS)**: Some routers allow you to prioritize traffic. You could set up QoS rules to give priority to voice traffic. 4. **Interference**: Other devices, such as microwaves and cordless phones, can interfere with WiFi signals. Make sure your setup is away from such devices. 5. **Router Capacity**: Ensure that your router can handle the number of connected devices and the traffic load. If you've checked these factors and the problem persists, it could be related to the VAPI configuration or an issue on the service provider's end. In that case, it would be best to reach out to the VAPI support team with detailed information about the issue for further assistance. Would you like me to guide you on how to contact the support team or provide any additional help?
t
these factors are fine
v
@TateN Great to hear that these factors are in good condition. Since the common network-related issues seem to be ruled out, we may need to look into other potential causes: 1. **VAPI Configuration**: Review the configuration settings for your voice agent to ensure they are optimized for your use case. 2. **Service Plan Limitations**: Check if there are any limitations in your current service plan that might lead to dropped calls, such as call duration limits or usage quotas. 3. **API Rate Limits**: Ensure that you are not exceeding any rate limits that might be in place, which could lead to service interruptions. 4. **Logs and Error Messages**: Examine any logs or error messages provided by VAPI during the dropped calls. This information can be crucial for diagnosing the issue. 5. **Software Updates**: Make sure that all components of your system, including VAPI, are up to date with the latest versions and patches. If after reviewing these areas the problem still exists, it would be best to engage with the VAPI support team for a more in-depth investigation. They may need to look at server logs, system metrics, or other diagnostic information to determine the root cause of the dropped calls. Would you like assistance in reaching out to the support team or is there anything else I can help you with right now?
t
where can i find the logs?
v
@TateN The logs for your voice agent using VAPI can typically be found in one of the following places: 1. **VAPI Dashboard**: If VAPI provides a web dashboard, you can usually find logs and analytics there. Look for sections labeled "Logs," "History," or "Analytics." 2. **Application Logs**: If you have built an application that interacts with VAPI, check the logging system of your application. This might involve looking at files on the server where your application is hosted or using a logging framework that you've integrated into your application. 3. **Server Logs**: If VAPI is running on a server, you might find logs in the server's logging directory. This could be on your own server or a cloud service you're using. 4. **Cloud Provider Logs**: If you're using a cloud provider to host your VAPI service, they often provide logging services where you can view and analyze logs. 5. **API Response**: Sometimes, logs or error details are provided in the API response itself after a call attempt. Check the response data for any error messages or codes. 6. **Documentation**: Refer to VAPI's documentation for specific instructions on where and how to access logs. The documentation might also provide information on how to interpret the logs. If you're unable to locate the logs or need further assistance interpreting them, please reach out to VAPI support for more detailed guidance. Would you like help with contacting support or any further assistance?
t
I have one last question not related, where can i find the fiel name for the phone number of the caller for an inbound call on the cutom webhook payload on make
v
@TateN For an inbound call using VAPI, the phone number of the caller is typically included in the payload that is sent to your custom webhook. This information is often found in a field that might be named
from
,
caller_id
,
source
,
caller_number
, or something similar. When you set up a webhook to handle inbound calls, VAPI will send a POST request to your specified URL with a payload containing details about the call. To find the exact field name and structure of the payload, you should refer to the VAPI documentation for webhooks or the API reference specific to inbound calls. If the documentation does not provide the clarity you need or if you are unable to find the field, it's a good practice to log the entire payload of an inbound webhook request so you can inspect it and identify the field that contains the caller's phone number. If you need further assistance with this or any other questions, please let me know!
t
i can't find any of those field in my payload
v
@TateN If you're unable to find the field containing the caller's phone number in the payload, it's possible that the payload structure might be different than expected, or the information might be nested within another object. Here's what you can do to troubleshoot this: 1. **Review Documentation**: Double-check the VAPI documentation for the custom webhook payload structure. There might be an example payload that shows where the caller's phone number is located. 2. **Inspect Payload**: Log the entire payload to your server logs or console when an inbound call is received. This will allow you to inspect the payload and find the correct field. 3. **Contact Support**: If the documentation is not clear or you are still having trouble, it may be necessary to contact VAPI support for assistance. They can provide you with the exact structure of the webhook payload and the field name for the caller's phone number. If you would like, I can guide you on how to contact support for more detailed help on this matter. Would that be helpful for you?