calls are ending because of silence timeouts
# support
r
All of a sudden the calls are ending because silenced timeouts but the AI didn't even start off with it's firstMessage. This is a web-call where the video and the mic permissions of the user has to be enabled in order to talk with the AI. The call is getting started but the AI is not starting off with the firstMessage and neither the user's input is reaching the AI here is a callId - 4085da10-7f6d-4bd4-8cdd-ac1aec67d37c
k
Ensure your browser grants mic access, set firstMessageMode to "assistant-initiated", increase silenceTimeoutSeconds, and test in browsers like Chrome instead of Brave to avoid permission issues.
r
and I just tried now @Kings_big💫
it works when I remove assistantOverrides and only have agent id into .start()
it was working till yesterday with no problem but now it isn't
and now if I am trying to add assistantOverrides to .start() with just the variableValues then the variableValues are not getting mapped to the assistant's system prompt
the Vapi assistant is now conversational tho
this is all I am doing on client side const assistantOverrides: AssistantOverrides = { variableValues: variableValues, }; const startedCall = await vapiInstance.current.start(VAPI_AGENT_ID,assistantOverrides);
please check out this callId - cc529398-b555-44ca-b885-3aadf1f2429c
in the API logs I can only see assistantId being passed
what's wrong ??
@User
k
Can you share more call id
r
yeah
36972875-0677-491b-bae2-40d73a678594
this is when I was overriding bunch of parameters but for some reason the Vapi AI assistant was not at all talking
there is a stark difference (request body) in the API logs of calling the assistant at the dashboard compared to when I call from my web app here is a callId when I tried to call from dashboard - 21553b8b-4ee6-4fd7-bf2f-796a5acf50e4
@Kings_big💫
k
Looking into it
r
here is another recent callId called from my web app - 10d4cfd5-5cce-4873-992c-036b6af00d69
called from my web app
@User any lead on this guys ?
s
@Richard I will take a look at your ticket, after some time.
r
thanks @Shubham Bajaj
s
@Richard an you increase your assistant customerJoinTimeoutSeconds to 30-40?
Copy code
sh
curl --request PATCH \
  --url 'https://api.vapi.ai/assistant/YOUR_ASSISTANT_ID' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "customerJoinTimeoutSeconds": 30
  }
customerJoinTimeoutSeconds (default 15s) is how long we wait for the user to join the web-call before ending it.
@Richard This parameter specifically extends the window for connection establishment, which is critical for users with connectivity challenges. It's not just about the SDK timeout, it's about keeping the call session alive on our servers while the connection is forming.
r
Ohh I see. I will try adding this param to the code and let you know. Thank you so much @Shubham Bajaj
it worked ! Thanks again @Shubham Bajaj