Hangup + Callback


I am looking for to implement the following situation in my asterisk dialplan.

Caller XXX calls my number YYY which is hosted on my ASTERISK.
This call is automatically Hangup
Once the hangup is realized, I want my asterisk server to call from number YYY a different number, let’s say ZZZ.
Once ZZZ answers the call, I want ZZZ have a dial tone and be able to dial using a dialplan within my asterisk server (like a DISA command).

Is it feasable ? How ?

Thank you.