Route a incomming call back out?

Hello,
I’m a little new to asterisk, but what I’d like to happen is if someone calls in on a specific line, for asterisk to forward that call to another phone number outside of the system.

Example, someone calls in on 111-111-0000, i would like the asterisk system to dial 111-222-0000 and connect the two calls, is this possible?

Thanks!

i think I figured it out

exten => s,1,Ringing
exten => s,2,Dial(SIP/…)

If that isnt correct someone let me know :smile: