The assistant is likely misfiring its end-call function due to a lack of a clear instruction on when to properly close the interview. The current instructions focus on asking all questions, but there's no explicit trigger for ending the session once the interview is complete. To resolve this, we recommend adding a clear closing instruction after all questions are answered. For example, you can include something like: "Once all questions have been asked and answered, thank the candidate for their time and let them know that the hiring team will be in touch with next steps. Then, end the interview by firing your endCall function." This will help the AI recognize when to transition to the closing phase and properly end the call.