You can’t ‘hang up’ a call that was never connected. When Ring Time expires, the call is sent to voicemail, but if that is disabled, the timeout is ignored. I assume that upon timer expiry, you want Asterisk to cancel the call to the destination and report an error status to the calling device or trunk. Why? Do you want to do this for both internal and external calls?
For example, if I have 100 phone numbers, instead of manually dialing each number, I can create a list of numbers for automated dialing. Agents simply need to pick up the phone when a connection is established with a customer. This means when an outbound call is answered, it will be connected to the next available extension. If an extension doesn’t answer within 10 seconds, the call will be transferred to the next available extension. (Note: I haven’t set up a queue because the extensions don’t belong to a group.