The bot misses out parts of the responses before t...
# support
s
call_id - 9ec4523c-a3ee-4f76-a09c-fa6095429caf In the end of this call, there was a dialogue which the bot should have said - "Not a problem at all. Our advisors are trained to help you with this." But it did not say that and went to transfer the call after saying the transfer call phrase. I was checking the logs in the dashboard, and I can see that the dialogues were generated but were not spoken by the bot. Please look into this and help. https://cdn.discordapp.com/attachments/1239916368988733440/1239916369223352481/image.png?ex=6644a99a&is=6643581a&hm=37f0bd75d92b9eb5eef47197ec28a2632b26c5c59b303c10c0305c49d2328db5&
v
Hi @sumitguha, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Call Ended Reason]() * [Create Phone Call]() -----------------------------
### Answer It appears the bot didn't complete the expected dialogue before transferring the call. There could be several reasons why this happened, which might include issues related to assistant logic, pipeline errors, or connectivity. To investigate further, please refer to the Call Ended Reason in your call logs, specifically under the
endedReason
field on the Call Object. Common reasons for such issues might include: - **assistant-error**: This general error occurs within the assistant’s logic or processing due to bugs, misconfigurations, or unexpected inputs. - **pipeline-error-***: Various error codes indicate specific failures within the processing pipeline. - **phone-call-provider-closed-websocket**: The connection with the call provider was unexpectedly closed [(1)]() . If you need to create or modify a phone call with specific parameters, you can refer to the
POST /call/phone
endpoint for detailed configuration options [(2)]() . For detailed insights on ended reasons and how to remedy specific errors, you can check the [Call Ended Reason]() documentation [(1)]() .
Got it. Tagging @User for additional help.
s
It is because we directly trigger the call transfer tool. Please add it to allow customize message during the call transfer part https://vapi.canny.io/feature-requests
s
I did not quite understand. What do I have to add?
s
Basically, to allows customization of messages while transferring the call. The issue that happened with you was that transferCall was triggered before your message was said. So, if we had a custom message then it would have said your sentence while transfering the call
s
okay...I do have a custom message set in the transferCall function..but I also want the bot to say what is in the prompt before transferring the call. Can it be done?
@Sahil
s
Nope. At one time, we receive only one response which can be either a Tool Call or a Message. So, if it is a response of the tool-type, it will be called and directly transferred to your desired phone number. But, if a message request comes, call forwarding will not work.
2 Views