Suggestions

I could use some suggestions on how to proceed. here is the current setup

2 t1 lines one for voice one for data.

the voice is connected to a antique nec pbx and is going away.
there is also a fax server that prints to fax that must also go away.

what kind of configuration can i use to have asterisk be the new pbx but also have a fax to email, email to fax, print to fax, and fax passthru on the one real fax machine.

there are also 3 remote sites i would like to change to data only and attach to the pbx system.

All this has to go over t1 lines.

Thanks in advance