Good luck.
Fax over IP is not reliable.
You can try using g.711 as well as t.38.
also maybe try slowing the speed of the fax machine down to 9600 (ie not high speed fax)

I generally avoid it like the plague.