Simply get a dial tone of outside line

I was searching but cannot find this answer (and i’m guessing its pretty simple).

I would like to be able to dial a digit or 2 (say, 22) and get a dial tone of the zap line so I can just dial as if it was a regular analog line.

Thanks,
Chris

yeah it’s pretty simple. i use something similar myself :

exten => 100,1,Dial(ZAP/g0/,30,r) exten => 100,2,Hangup()