I found this document, maybe it will help you.
FAX Configuration Recommendations in the Call Server 1000
Fax settings and performance over VoIP solutions vary depending on the network configuration. In order to achieve a successful faxing environment the VoIP solution has to be engineered properly. Following are configuration and network design aspects that need to be taken into consideration when implementing faxing in VoIP solutions:
CODECs:
T.38:
• Older fax machines use V.21
• For lower speeds (V.21) protocol T.38 should be used in the VoIP segments of the call.
Modem Pass Through (G.711):
• Newer fax machines use Modem Protocols to achieve higher speeds (V.34)
• The Modem pass through feature is intended for modems and high speed faxes employing V.34, it uses clear channel G.711 over the VoIP segments of the call.
• The Modem Pass Through will detect the phase reversal tone negotiation used for higher speeds and will tell the DSPs involved in the call to disable echo cancellation and all other non linear components.
• MPTD class of service for analog fax lines allows the change of the DSPs between T.38 for lower speeds and G711 for higher speeds.
• MPTD must be used on ALC (Analog Line Cards) units connected to Fax machines when there are trunk cards present in same and other IPMGs that connect to PSTN. This is required to support T.38 and V.34 faxes that could originate or terminate from/to the PSTN.
• In order for MPTD to work a system bandwidth strategy of BQ (Best Quality) must be used.
• The MPTA class of service should be used only for Modems, it will force all calls to use G711.
• When going to the PSTN we have no control over the far end, however if the far end supports T.38 and Modem Pass Through speeds of 33.6 should be achievable.
ATTENTION
Fax performance at higher speeds (33.6) requires that all network elements are properly engineered to support it. When high speed faxes can not be achieved with a consistent success rate it is recommended to set the fax units at a lower speed (14.4).
Scenarios:
Typical scenarios for Faxing in a CS1KE solution:
a) Two faxes connected to analog lines in the same MGC
b) Two faxes connected to analog lines in different MGCs of the same CS1KE
c) One fax connected to analog line in an MGC to IP Trunk to a remote system with a fax
d) One fax connected to analog line in an MGC to Analog trunk in same MGC to PSTN (Local or LD) fax
e) One fax connected to analog line in an MGC to Digital trunk in same MGC to PSTN (Local or LD) fax
f) One fax connected to analog line in an MGC to Digital trunk in different MGC of the same CS1KE to PSTN (Local and LD) fax
Please note that the following scenario is not supported for faxing:
- One fax connected to analog line in an MGC to Analog trunk in different MGC of the same CS1KE to PSTN (Local or LD) fax
Data Network:
Depending on the fax scenarios fax calls can traverse the IP network, either internally (ex: MGC to MGC) or externally (ex: IP Trunks). It is important to engineer the data network to support the following:
• Media card configuration:
— G.711/T.38 codecs
— 20 ms packet size
• Round trip delay must be less than 50 ms
• packet loss must be less than 0.5%
• V.34 rate (33.6 kbit/s) as long as far end supports Modem Pass Through feature
• Mean Jitter is less than 5 ms
ATTENTION
Performance degrades significantly with packet loss (must be less than 0.5%) and when the delay (round trip) is greater than 50 msec and mean jitter is greater than 5msec.
ATTENTION
Avaya has conducted extensive but not exhaustive tests of fax calls in different scenarios. While all tests have been successful, Avaya cannot guarantee that all fax brands will operate properly over all G.711 Voice over IP (VoIP) networks. Before you deploy faxes, test the fax within the network to verify reliable operation. Contact your system supplier or your Avaya representative for more information.
Call Server
Typical recommended configuration for analog lines cards connected to faxes:
MGCs:
• Enable modem/fax pass through mode: Should be enabled in element manager
• Enable V.21 FAX tone detection: Should be enabled in element manager
• VGW trunks should be in a zone with Best Quality (BQ) setting.
Analog Lines:
• Class of service: FAXA, this will set the proper trunk capability for fax calls.
• Class of service: MPTD, this setting will allow lower speed faxes (up to 14.4) to use T.38 and higher speed faxes to use G711 clear channel (no echo cancelation, no nonlinear DSP features).