### Answer
This issue where booking functions work in chat but not in voice calls is a known problem. Several users have reported similar experiences with the booking function [(1) ](
) [(2) ](
) [(3) ](
) .
Here are the key troubleshooting steps to check:
1. Verify Function Call Invocation
Check if the function call is actually being invoked during voice calls by examining the transcript [(1) ](
) . Look for the booking function call in the logs to see if it's being triggered at all.
2. Check Required Parameters
A common cause is missing required parameters like email . If you have email set as a required parameter in your Cal.com event settings but the agent didn't collect one, the booking will fail. You can either collect the email in your prompt or disable the email requirement in your Cal.com event settings .
3. Verify Configuration
Ensure your API key, event type ID, and timezone settings are correctly configured [(4) ](
) [(3) ](
) . The event type ID should be a 6-7 digit number found in your Cal.com URL [(5) ](
) .
4. Check Tool Call Response
Look at what response you're getting from the tool call [(3) ](
) . Sometimes the tool executes but returns an error that prevents the actual booking.
5. Prompt Engineering
Make sure your prompt explicitly defines when to invoke the booking function [(4) ](