Issue with No Microphone Permission calls popping ...
# support
s
I've noticed that in my logs I have a bunch of $0.01 calls that were terminated because there microphone permissions weren't granted. I haven't been able to pinpoint the source of the issue as i wasnt testing my agent during that time but it also resulted in me getting a notification that i've reached my concurrency limit. I suppose theres a single event causing the repeated creation of calls as it happens in series judging by the timestamps. It's happened a couple times already. Attached is a screenshot of a part of my list of logs filtered by <$0.01 calls https://cdn.discordapp.com/attachments/1326982338617413672/1326982338969600082/image.png?ex=6781681b&is=6780169b&hm=e527cb11f1dba18459acf8d5b7e1ca3078f2d97069abcaedbfb76eec2e63bc46& https://cdn.discordapp.com/attachments/1326982338617413672/1326982339607138304/image.png?ex=6781681b&is=6780169b&hm=f6ca23c2f6d0730518bb131ac68878dab7037c01273aa70bfca29ee045026883&
@Shubham Bajaj
v
@skei Thank you for bringing this to my attention. It seems like there might be an issue with the way your voice application is handling microphone permissions, or there could be a bug causing repeated call attempts when permission is not granted. To help you further, I would need to know more about your application's flow and how it's designed to handle situations where microphone permission is not granted. Additionally, it would be helpful to understand if there's a specific trigger or user action that coincides with these repeated call attempts. In the meantime, here are a few steps you can take to troubleshoot the issue: 1. Review your application's code to ensure that it properly checks for microphone permissions before attempting to make a call. 2. Check if there's a loop or retry logic that might be causing the application to repeatedly attempt to make calls when permission is denied. 3. Look into the concurrency settings of your application to understand how it manages multiple simultaneous calls and whether it's configured to handle situations like this. 4. Examine the user interface and experience to ensure that users are clearly prompted to grant microphone permissions and that there's proper handling for when they don't. If you have any specific questions or need further assistance, please let me know, and I'll do my best to help you resolve this issue. If the problem persists and you're unable to identify the cause, it might be necessary to reach out to support for a more in-depth investigation.
You can continue this conversation by mentioning me in the message.
s
I thought it might be the widget i used fromhttps://docs.vapi.ai/examples/voice-widget because on my machine when i tested it on an empty html page it asked for permissions over and over again but i didn't get the same outcome (no spam in the logs)
s
@skei I guess you have already resolved it by yourself. Do you still require any help with this?
s
I haven't, the issue still persists, i noticed it happened again around 12 hours ago
s
@skei As you mentioned, the issue was due to creating multiple calls. Working on the iteration logic in your code will help debug it..
s
what code? people just used the demo link or the premade web snippet from the documentation
s
I am talking about this. > I thought it might be the widget i used fromhttps://docs.vapi.ai/examples/voice-widget because on my machine when i tested it on an empty html page it asked for permissions over and over again but i didn't get the same outcome (no spam in the logs)
s
yes well how would pasting that result in repeated calls being made
ill look into it though
2 Views