Can I Do this?

I want to setup my Asterisk to call a number, let it ring twice then drop the call. Has anyone done this or is it even possible?

This can be done using the dial command. The second identifier is used for the timeout. Specify in seconds.

Dial command format

Dial(type/identifier, timeout, options, URL)