PRI version used for FAX I presume ; Yes you can use a TN464.
Use a "cross cable" to connect the two(cross the send-receive pair)
Add a DS1 config, a Signaling group, and a trunk group like you normally would, only set it up as TIE.
For inbound: To route the numbers have UDP route them to AAR, and point the AAR to the new trunk group.
This is very,very brief how to do it..
any detail you need just ask.
Hope this helps,
Rob