ASYNC not working
# support
x
I have async turned on transferCall funcion with warm transfer. But when agent says "Your call will be forwarded wait a moment" dialing starts after finishing agents sentecne. I want to make it dialing on beggining of this info sentece to make things faster. Does some1 know how to do that?
m
if you have control over the agent's script, you can instruct them to start the transfer before delivering the message
Copy code
function handleWarmTransfer(agent) {
    // Start dialing immediately
  
    transferCall();

    // Notify the caller
    agent.say("Your call will be forwarded. Please wait a moment.");
}
k
@Milan When setting the request-start message, it waits for the message to complete before transferring. Currently, there’s no way to do both in parallel as it may lead to bad user experience. Let me know your thoughts.
x
what you mean if i have controll over agents script? my agent is gpt4o mini with prompt, not block or workflow warm transfer is setup via API call - https://docs.vapi.ai/call-forwarding#warm-transfer In my case is possible to parallel dialing and speaking?
k
Marking this ticket as Solved ✅