You will want a TDM400 digium card with four FXO modules.
Hook up the ethernet before you install AAH.
You will want a router instead of a simple switch.
Yes can hook up sip phones or softphones.
What I was asking was how you hook up the phones and server to interface. I’ll obviously plug the phone lines from the wall into the TDM400, and then I can just plug the Asterisk server and the SIP phones into a router together? If I had a switch coming off the router, could I connect everything to that?
The phones and Asterisk should connect to the switch. The switch then connects to a router for Internet access (if you actually require Internet access for Asterisk – you may not want to use an external VoIP provider).
Yes, the incoming phone lines from the wall go into the FXO ports of the PSTN. The model of TDM400 depends on what modules you want, you will need the one with 4 FXO ports.
Then you just plug the ethernet cables to your network. I stated not to use a switch alone as you will need a DHCP server to assign an ip address to all of your hardware. Correct me anyone if I am wrong, but a simple switch does not act as a dhcp server. You can start with a simple router (wired only can be had for under $30), then add as many switches as you wish!