Hi, I have a voice agent. I am using an MCP tool to transfer call. Now, sometimes it's transferring call successfully and the new call continues. But at other times, its disconnecting the call after transferring. This is because we mute the agent and agent keeps listening and based on response it sometimes ends call. But we haven't been able to figure out a way to disconnect the agent without cutting the call completely.
We are using sip transfer for transferring the call. Can anyone help?