Asterisk startup

i need to record call coming from outside, Please tell me whehter astersik will be effective for it and also tell me for connecting it to external PSTN.

To connect with external PSTN, in the starting phase i want to use cards, what are the cards to use?