Yes, ICTFAX support both T.38 and T.30 Fax protocols. ICTFAX is built-over Freeswitch, so you just need to configure gateway in Freeswitch, tell ICTFAX about the gateway info and set the required channels variables. You are done!
Following link will tell you how to configure ICTFAX for T.38.viewtopic.php?f=12&t=2456&sid=4d3c9740fac2a84fd5c7133984faf5a3#p2653
For T.30, you need to have a T.30 Fax hardware device that should be configured with Freeswitch. I, personally, haven't done that configuration. So might need to consult some Freeswitch guru about configuring T.30 gateway. Once it is done, ICTFAX will require just name of that gateway to send fax through T.30 protocol.