PSTN Gateway advice

Hi
I’m fairly new to Asterisk and wondered if I can use it as PSTN gateway. So that if I make a call from a VoIP phone it will then use the PSTN line for external calls. I’m sure it must do this. Can I use something like a Linksys PAP2T adapter for this or do I need to put a PCI card in the server.

Thanks

Keith