Do you instruct in your assistant’s prompt to use the endCall function upon detecting a solicitor, like, “If the user is identified as a solicitor, respond with: ‘Thank you for reaching out but we’re not interested at this time. Please remove us from your list.’ Then, call the endCall function immediately.”
This approach ensures the assistant explicitly triggers the call termination function..