Does anyone know if `transferCall` tool
# general-english
j
Does anyone know if
transferCall
tool works when it's a web call? I'm testing the AI assistant using
Talk to Assistant
button in UI and I want to transfer the call to a phone number, but it seems not working properly.
k
The transferCall tool doesn’t fully work during web-based ā€œTalk to Assistantā€ tests because WebRTC can’t transfer to phone numbers, so for proper testing, you need to use a real telephony..
j
I see, can I specify in the system prompt to ask the AI not to use transferCall tool if it's a web call?
k
Yes you can
j
I tried but it still runs the transferCall tool. here's part of my prompt: 8. Submit their question using
fwd_submitaquestion
. 9. Then, silently transfer them to a team member using
fwd_transfer
if this is a real telephone call from the user, do not transfer if it's a web call.
k
Pass callType as metadata and update the system prompt.
Your prompt alone can’t prevent transferCall..
3 Views