I also encountered this problem. I want to transfer to another number when hitting the function_call, and I have also tried to use the twilio call update method that IObert mentioned before.
But unfortunately I saw an error in the Twilio Error logs: Error - 31951 Stream - Protocol - Invalid message.
If possible, can you share the code after the solution?