How to disable WDE toolbar ready button when agent is on Call?

Hi all,

I need to disable toolbar ready button and channel based ready button in genesys WDE when agent is on call , Need help thank you.