Call routing system

I have simple scenario based question.Basically, I would like to establish a system in which when I call my telephone line 1, it should prompt me to dial another number. Once I give it my number, then system should use telephone line 2 to dial the given number and Connect my call.
What kind of devices do I need for a very simple system. Sorry, If it is just too simple question. I googled but I could not get the exact results that I want. One expert advise is better than google results.
Thanks

You posted in the FreePBX forum, so we are going to answer regarding our software and yes it can do this.

And this is called DISA.in FreePBX.