AMI - How to skip calling an agent

Hi, I faced with issue where if an agent dosent pickup a call then the script should reroute call to next agent in queue. Queue have lastrecent strategy. I know that i would pause an agent but it not resolve my issue

Wich version of asterisk? Try changing the queue’s strategy to rrmemory

There is 14.6 and unfortunately, I can’t change queue strategy. So, now the AMI is the only way.