EndCall Function waits for user response and doesn...
# support
j
I have been having this issue from the beginning of using Vapi and have searched through the support section looking for a clear and definite working answer. I have not found one yet. How can this issue be resolved?
v
@john I'm here to help you resolve the issue you're experiencing with VAPI. Could you please provide me with more details about the specific problem you're facing? Knowing the exact error message or behavior you're encountering will allow me to assist you more effectively.
You can continue this conversation by mentioning me in the message.
j
CallId: 96308e45-1fd8-4ea7-8648-8784dac98bcf
@User @User Can you help me with this issue please?
@Shubham Bajaj Can you help me with this, please?
m
Got the same problem..
s
@john set the
endCallFunctionEnabled
to true using dashboard and try it will work.
Do let me know how it goes!!
j
@Shubham Bajaj I'm using the api to create a call.. I set the endCallFunctionEnabled to true. What I noticed is that the assistant will follow the prompt to end the call by saying the endCallMessage. So far so good. The problem occurs when the user says goodbye and the assistant repeats the endCallMessage, making the conversation sound awkward, then hangs up the call. What I would like it to do is say the endCallMessage and if the caller says goodbye then hang up the call without repeating the endCallMessage. If the caller doesn't say anything for a couple of seconds or so after the endCallMessage the assistant hangs up the call without saying anything else. Is it possible to get the assistant to behave that way?
a
@Shubham Bajaj having the same issue - assistant keeps saying "ending the call" instead of calling the function. Pretty time sensitive - would you be able to help? Confirmed that
endCallFunctionEnabled
is True. Assistant id: 50a63e4f-6938-4df7-b14d-d1fd74afd0dc Call id: 4e2965c0-9b2f-4e21-ad1e-6d0162911911
s
@amir can you please a new #1211483291191083018 ticket let's not bombard this ticket please.
@john do let me know how it goes. 1. Remove the end-call message 2. Try using this if works for you
Copy code
Say: "GoodBye" and trigger the endCall function
3. Add this to user prompt [Call Hangup Conditions} If user says 'goodbye' or anything similar to it then trigger the
endCall
function 4. You can use idleMessages to trigger the endOfCall if caller doesn't says anything.
m
i have solved it, the prompt was not the problem
2 Views