What is t38modem? From your application view point it's a fax/voice modem pool. From IP network view point it's a H.323/SIP endpoint with T.38 fax support. From your view point it's a gateway between an application and IP network. Works with HylaFAX.
This would be a very cool project, if it could work without arcane mumbling, and if it was better documented. I tried to use it to send fax to Asterisk, but it just can't negotiate T.38 connection... And no visible clue what's wrong with it.