Asterisx with a X100P as a gateway

I am setting up a acd/sip server at home and I need to get connected to the PSTN via something. The vendor only supports enterprise grade hardware/ software to connect to pstn. What I am looking to do is run Asterisk on my server with this other app under VMware and use asterisk as the fxo/sip gateway. Is this possible? and if so can someone point me to a tutorial or guide for this? thanks for any help