Hi everyone,
I have some questions regarding VAPI. I'm working on implementing a pause/resume functionality, but I’m facing a challenge.
In my setup, I have a prompt that includes multiple questions. When the call starts, these questions are asked sequentially, and the call lasts for at least 20 minutes. For example, let's say there are 40 questions, and the user has answered 15 of them. If the user wants to pause at this point and resume later from where they left off, I need a way to handle that.
Currently, I save both user and assistant messages from the transcript in a database. When the user clicks "pause," I end the call (since VAPI doesn’t offer a built-in pause option). Later, when the user clicks "resume," I reinitialize the call and pass the saved messages in the messages configuration to continue from where they left off.
I’d like to confirm if this is a good approach or if I’m missing something. Additionally, I’ve noticed that some responses are not being captured correctly by VAPI. For example, when the assistant asks, "What is your gender?" and the user replies "male/female," VAPI misinterprets it as "email."
Any help or suggestions would be greatly appreciated!