Action: Originate

Is there anyway to use asterisk manager and the action: orgiante to set how many rings before it stops trying to call.

I am using “Action: Orignate” to call a list of numbers and send it to a queue.

But I only want it to try the number for 3 rings, then hangup.

Any suggestions?