>> Is it possible to setup Asterisk linux PBX with four modems (two for pstn
>> two lines, and two for inside phone cables going to phones), and then
>> through Asterisk make that work?
>The short answer is, no.
The slightly longer and more correct answer is yes.
Make sure that you realize what "modem" means in this case. For connection
to the PSTN you'll need an "FXO" device and for connection to the telephones
you'll need "FXS" devices. There are more or less standard modems which
will do some of this. (I have used a Digium X100P modem with Asterisk.) I
recommend sticking with things that are designed to work with Asterisk.
The Digium product to do this all on one card is the TDM400P. (I have one.)
You'd then add two FXS and two FXO modules for a cost of over $300.
http://store.yahoo.com/asteriskpbx/tdtd2fxspo2f.html
I hate the sloppiness that results from connecting to a POTS line and I've
found my IP phones and Sipura devices to be much more satisfying so I don't
use Digium hardware anymore.
--kyler