No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Voice Feature Guide 01

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the H.248/MGCP-based FoIP Service

Configuring the H.248/MGCP-based FoIP Service

This topic describes how to configure the H.248/MGCP-based FoIP service.


The VoIP service must be configured. For details, see Configuring the VoIP PSTN Service (H.248-based or MGCP-based).

The voice service port used for the FoIP service must be in the normal state, and the voice communication on the port must be normal.


Fax over Internet Protocol (FoIP) provides fax services on IP networks or between IP networks and PSTN networks. The FoIP service can be classified from two aspects:

  • In terms of coding mode, the fax mode can be transparent fax (G.711 coding) or T.38 fax (T.38 coding).
  • In terms of the participation of the MGC, one is the softswitch controlled flow, and the other is the self-switch flow (controlled by the gateway itself).

Data preparation

Before the data configuration, it is recommended that you plan the working mode of the FoIP service on the entire NGN network to ensure that the configurations on the entire network are consistent.

Table 1-51 Fax flows




Coding negotiation mode


The gateway negotiates the coding mode with the MGC through signaling.


The gateway determines the coding mode to be adopted.

Coding mode

Transparent transmission fax

The G.711 coding mode is adopted.

T.38 flow

The T.38 coding mode is adopted.

Negotiation flow

V2 flow (auto-negotiation flow)

The V2 flow is adopted as the fax/modem flow.

V3 flow

The V3 flow is adopted as the fax/modem flow.

V5 flow

The V5 flow is adopted as the fax/modem flow.


V2, V3, and V5 flows refer to the versions of the fax/modem flow, which is defined by Huawei. If self-switch is adopted as the coding negotiation mode, the negotiation flow does not need to be configured.

Default Configuration

Table 1-52 lists the default settings of the FoIP flow.

Table 1-52 Default settings of the FoIP flow


Default Setting

Coding negotiation mode


Coding mode

Transparent transmission fax

Negotiation flow

V3 flow

Enable packet interval of fax and modem to use only 10 ms or not


RFC2198 startup mode


Event transmit mode



  1. Configure public fax and modem parameters.

    In the global config mode, run the fax-modem parameters negomode command to configure public fax and modem parameters. The purpose of this step is to configure the coding negotiation mode. Two options are available: negotiation and self-switch.

  2. Configure the fax coding mode and negotiation flow.

    In the global config mode, run the fax parameters command to configure the fax transmission mode. There are three key parameters, which are described as follows:

    • transmode: The value 0 indicates the transparent transmission mode with the G.711 coding; the value 1 indicates the T.38 mode, which is a coding mode dedicated to the fax service. The default value is 0.
    • flow: Options are V2, V3, and V5. The default value is V3.
    • is-port+2: This parameter should be consistent with the T.38 fax port configured on the peer MGC. When transmode is T.38 and flow is V2, this parameter must be configured.

    In the high-speed fax mode, the fax mode cannot be configured as the auto-negotiation (V2 flow) T.38 mode or the self-switch transparent transmission mode. If the fax mode is the auto-negotiation (V2 flow) T.38 mode or the self-switch transparent transmission mode, modify the configuration according to step 1 and step 2.

  3. Query the common parameters of the fax and modem or the fax parameter configuration.
    1. Run the display fax-modem parameters command to query the fax negotiation flow.
    2. Run the display fax parameters command to query the fax coding mode.


To configure the negotiation mode of the FoIP service on the MA5600T/MA5603T/MA5608T to negotiation, enable 10 ms packetization, enable RFC2198 smart startup mode, configure the event transfer mode of fax to RFC2833, and the fax working mode of the MA5600T/MA5603T/MA5608T to thoroughly, and configure the fax flow to V2 flow, do as follows:

huawei(config)#fax-modem parameters negomode selfswitch packet-interval-10ms en
able rfc2198-start-mode enableRfc2198SmartStartup transevent rfc2833
huawei(config)#fax parameters flow v2 workmode thoroughly
huawei(config)#display fax-modem parameters                                     
  Negomode               : Self switch                                          
  Packet-interval-10ms   : Enable                                               
  Rfc2198-start-mode     : Enable Rfc2198SmartStartup                           
  TransEvent             : RFC2833                                              
  Vbd-codec              : G.711A                                               
  Vbd-payload-type       : Static                                               
huawei(config)#display  fax parameters                                         
  FAX transfers mode                   :Thoroughly                              
  T38 Fax Port                         :RTP port                                
  FAX flow                             :V2 Flow                                 
Updated: 2019-02-22

Document ID: EDOC1100067358

Views: 12816

Downloads: 114

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next