Title | Size | Download |
---|---|---|
06-Fax over IP configuration | 176.86 KB |
Contents
Restrictions: Hardware compatibility with FoIP
Restrictions: Licensing requirements for FoIP
Configuring the standard T.38 protocol
Configuring an NSF code for nonstandard capabilities negotiation
Configuring the maximum fax rate for rate training
Configuring a rate training mode
Adjusting the transmit energy level
Configuring modem pass-through
Example: Configuring modem pass-through
Configuring fax over IP
About FoIP
Fax over IP (FoIP) transmits and receives faxes over the Internet.
Fax transmission operates in the following phases:
1. Call establishment—The calling terminal sends a Calling Tone (CNG) to identify itself as a fax machine. The called terminal sends a Called Station Identifier (CED) tone to identify itself as a fax machine.
2. Pre-message procedure—The calling or called terminals identify and negotiate the fax capabilities, including the modulation speed.
3. In-message procedure—The calling terminal transmits fax packets in accordance with the T.4 procedure. Packet transmission control functions are performed (including packets synchronization, error detection and correction, and line monitoring).
4. Post-message procedure—The calling or called terminal performs the control operations such as end-of-message signaling, confirmation signaling, and multipage signaling.
5. Call release—Either the calling or called terminal disconnects the call.
Restrictions: Hardware compatibility with FoIP
Hardware |
FoIP compatibility |
MSR810, MSR810-W, MSR810-W-DB, MSR810-LM, MSR810-W-LM, MSR810-10-PoE, MSR810-LM-HK, MSR810-W-LM-HK, MSR810-LM-CNDE-SJK, MSR810-CNDE-SJK |
No |
MSR810-LMS, MSR810-LUS |
No |
MSR810-LMS-EA, MSR810-LME |
No |
MSR2600-6-X1 |
No |
MSR2600-10-X1 |
Yes |
MSR 2630 |
Yes |
MSR3600-28, MSR3600-51 |
Yes |
MSR3600-28-SI, MSR3600-51-SI |
No |
MSR3600-28-X1, MSR3600-28-X1-DP, MSR3600-51-X1, MSR3600-51-X1-DP |
No |
MSR3610-I-DP, MSR3610-IE-DP, MSR3610-IE-ES, MSR3610-IE-EAD |
No |
MSR3610-X1, MSR3610-X1-DP, MSR3610-X1-DC, MSR3610-X1-DP-DC |
Yes |
MSR 3610, MSR 3620, MSR 3620-DP, MSR 3640, MSR 3660 |
Yes |
MSR3610-G, MSR3620-G |
No |
Hardware |
FoIP compatibility |
MSR810-W-WiNet, MSR810-LM-WiNet |
No |
MSR830-4LM-WiNet |
No |
MSR830-5BEI-WiNet, MSR830-6EI-WiNet, MSR830-10BEI-WiNet |
No |
MSR830-6BHI-WiNet, MSR830-10BHI-WiNet |
No |
MSR2600-6-WiNet |
No |
MSR2600-10-X1-WiNet |
Yes |
MSR2630-WiNet |
Yes |
MSR3600-28-WiNet |
Yes |
MSR3610-X1-WiNet |
Yes |
MSR3610-WiNet, MSR3620-10-WiNet, MSR3620-DP-WiNet, MSR3620-WiNet, MSR3660-WiNet |
Yes |
Hardware |
FoIP compatibility |
MSR2630-XS |
No |
MSR3600-28-XS |
No |
MSR3610-XS |
Yes |
MSR3620-XS |
Yes |
MSR3610-I-XS |
No |
MSR3610-IE-XS |
No |
Hardware |
FoIP compatibility |
MSR810-LM-GL |
No |
MSR810-W-LM-GL |
No |
MSR830-6EI-GL |
No |
MSR830-10EI-GL |
No |
MSR830-6HI-GL |
No |
MSR830-10HI-GL |
No |
MSR2600-6-X1-GL |
No |
MSR3600-28-SI-GL |
No |
Restrictions: Licensing requirements for FoIP
To support FoIP, some device models require the Voice Software License. For more information, see license management in Fundamentals Configuration Guide.
FoIP tasks at a glance
To configure FoIP, choose the one of the following tasks:
· Configuring the T.38 protocol
¡ Configuring fax pass-through
¡ (Optional.) Enabling CNG fax switchover
¡ (Optional.) Enabling ECM
¡ (Optional.) Configuring an NSF code for nonstandard capabilities negotiation
¡ Configuring the maximum fax rate for rate training
¡ Configuring a rate training mode
¡ Adjusting the transmit energy level
· Configuring fax pass-through
· Configuring modem pass-through
Configuring the T.38 protocol
Configuring the standard T.38 protocol
About this task
The standard T.38 protocol refers to the ITU-T T.38 protocol. It converts T.30-compliant fax signals to T.38 fax packets.
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Enter dial program view.
dial-program
4. Enter voice entity view.
entity entity-number { pots | voip }
5. Configure the standard T.38 protocol.
fax protocol standard-t38 [ ls-redundancy number [ hs-redundancy number ] ]
By default, the standard T.38 protocol is used.
You only need to configure this command on the calling device, and the called device automatically matches the protocol configured on the calling device.
Enabling CNG fax switchover
About this task
CNG fax switchover enables the device to switch to the fax mode after it receives a CNG from a fax machine.
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Enter dial program view.
dial-program
4. Enter voice entity view.
entity entity-number { pots | voip }
5. Enable CNG fax switchover.
fax cng-switch enable
By default, CNG fax switchover is disabled.
Enabling ECM
About this task
Error Correction Mode (ECM) allows fax machines to transmit fax packets as HDLC frames rather than binary strings and to correct errors. The receiving fax machine requests the sending fax machine to retransmit any HDLC frames it received with errors.
Restrictions and guidelines
To use ECM, the receiving and sending fax machines must both support ECM. Perform this task on both the calling and called devices.
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Enter dial program view.
dial-program
4. Enter voice entity view.
entity entity-number { pots | voip }
5. Enable ECM.
fax ecm
By default, ECM is disabled.
Configuring an NSF code for nonstandard capabilities negotiation
About this task
Perform this task to match the nonstandard capabilities of the peer fax machine.
In common fax applications, fax machines negotiate with standard capabilities (such as V.17 and V.29) by default and do not send each other nonstandard facilities (NSF) frames. In some cases, such as encrypted fax, the fax machines exchange NSF frames to negotiate nonstandard capabilities.
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Enter dial program view.
dial-program
4. Enter voice entity view.
entity entity-number { pots | voip }
5. Configure an NSF code for nonstandard capabilities negotiation.
fax nsf value
By default, the NSF code (2-digit country code plus 4-digit manufacturer code) for nonstandard capabilities negotiation is 264833.
The value 000000 specifies standard capabilities negotiation.
Configuring the maximum fax rate for rate training
Restrictions and guidelines
When rate training with the configured fax rate fails, the next lower supported rate is used until the rate training succeeds.
If you specify the voice keyword, the maximum fax rate for rate training depends on the codec used.
· If G.711 is used, the maximum fax rate is 14400 bps, and the corresponding modem standard is V.17.
· If G.723.1 Annex A is used, the maximum fax rate is 4800 bps, and the corresponding modem standard is V.27.
· If G.726 is used, the maximum fax rate is 14400 bps, and the corresponding modem standard is V.17.
· If G.729 is used, the maximum fax rate is 7200 bps, and the corresponding modem standard is V.29.
If you specify the disable keyword, the fax function is disabled.
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Enter dial program view.
dial-program
4. Enter voice entity view.
entity entity-number { pots | voip }
5. Set the maximum fax rate for rate training.
fax rate { 2400 | 4800 | 7200 | 9600 | 12000 | 14400 | disable | voice }
By default, the maximum fax rate for rate training depends on the codec used.
Configuring a rate training mode
About this task
The following training modes are available:
· Local training—The calling and called devices (gateways) participate in the rate training between fax machines.
a. Rate training is performed between the fax machines and their respective gateways.
The fax machine sends a Training Check (TCF) message with a stream of 0s at the maximum fax rate (configured by using the fax rate command) to its gateway. The gateway accepts the rate if the received TCF message contains all 0s or the percentage of the number of 1s to the total bits in the message is less than the set threshold. Otherwise, the fax machine uses the next lower supported rate to send the TCF message for rate retraining until the rate training succeeds.
b. The called device compares the training results and selects the lower rate.
· Point-to-point training—Rate training is performed between two fax machines.
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Enter dial program view.
dial-program
4. Enter voice entity view.
entity entity-number { pots | voip }
5. Specify a rate training mode.
¡ Configure point-to-point training.
fax train-mode ppp
By default, point-to-point training is used.
¡ Execute the following commands in sequence to configure local training:
fax train-mode local
By default, point-to-point training is used.
fax local-train threshold threshold
By default, the local training threshold is 10.
Adjusting the transmit energy level
About this task
Perform this task if you cannot establish fax calls when all other settings are correct.
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Enter dial program view.
dial-program
4. Enter voice entity view.
entity entity-number { pots | voip }
5. Adjust the transmit energy level.
fax level level
The default value is –15 dBm.
Configuring fax pass-through
About this task
Fax pass-through allows fax traffic to be transmitted in RTP packets without being compressed, and it supports G.711 A-law and G711 μ-law codecs. During fax pass-through, the device automatically disables VAD. Fax pass-through features low delay but is susceptible to packet loss and jitter.
Restrictions and guidelines
The codec used for fax pass-through must be a codec specified for the voice entity.
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Enter dial program view.
dial-program
4. Enter voice entity view.
entity entity-number { pots | voip }
5. Enable fax pass-through.
fax protocol pass-through { g711alaw | g711ulaw }
By default, the standard T.38 protocol is used.
You only need to configure this command on the calling device, and the called device automatically matches the configured protocol.
Configuring modem pass-through
About this task
Modem pass-through allows modem signals to be transmitted in RTP packets without being compressed, and it supports G.711 A-law and G711 μ-law codecs. During modem pass-through, the device automatically disables VAD.
Restrictions and guidelines
The codec used for modem pass-through must be a codec specified for the voice entity.
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Enter dial program view.
dial-program
4. Enter voice entity view.
entity entity-number { pots | voip }
5. Configure modem pass-through.
modem passthrough { nse [ payload-type number ] | protocol } codec { g711alaw | g711ulaw }
By default, modem pass-through is not used.
FoIP configuration examples
Example: Configuring T.38 fax
Network configuration
As shown in Figure 2, configure Router A and Router B to use the standard T.38 protocol for fax transmission.
Procedure
1. Configure Router A:
# Configure the called fax number as 2000 for VoIP entity 2000, and configure the destination IP address as 2.2.2.2.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] match-template 2000
[RouterA-voice-dial-entity2000] address sip ip 2.2.2.2
# Configure the standard T.38 protocol for VoIP entity 2000, with a low redundancy value of 4.
[RouterA-voice-dial-entity2000] fax protocol standard-t38 ls-redundancy 4
[RouterA-voice-dial-entity2000] quit
# Configure the local fax number as 1000 for POTS entity 1000, and bind FXS interface line 2/1/1 to the POTS entity.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] match-template 1000
[RouterA-voice-dial-entity1000] line 2/1/1
# Configure the standard T.38 protocol for POTS entity 1000, with a low redundancy value of 4.
[RouterA-voice-dial-entity1000] fax protocol standard-t38 ls-redundancy 4
# Configure the called fax number as 1000 for VoIP entity 1000, and configure the destination IP address as 1.1.1.1.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 1000 voip
[RouterB-voice-dial-entity1000] match-template 1000
[RouterB-voice-dial-entity1000] address sip ip 1.1.1.1
# Configure the standard T.38 protocol for VoIP entity 1000, with a low redundancy value of 4.
[RouterB-voice-dial-entity1000] fax protocol standard-t38 ls-redundancy 4
[RouterB-voice-dial-entity1000] quit
# Configure the local fax number as 2000 for POTS entity 2000, and bind FXS interface line 2/1/1 to the POTS entity.
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] match-template 2000
[RouterB-voice-dial-entity2000] line 2/1/1
# Configure the standard T.38 protocol for POTS entity 2000, with a low redundancy value of 4.
[RouterB-voice-dial-entity2000] fax protocol standard-t38 ls-redundancy 4
Example: Configuring modem pass-through
Network configuration
As shown in Figure 3, configure modem pass-through on Router A and Router B for data communication between PC 1 and PC 2.
Procedure
1. Configure Router A:
# Configure the called number as 2000 for VoIP entity 2000, and configure the destination IP address as 2.2.2.2.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] match-template 2000
[RouterA-voice-dial-entity2000] address sip ip 2.2.2.2
# Configure modem pass-through for VoIP entity 2000.
[RouterA-voice-dial-entity2000] modem passthrough protocol codec g711alaw
[RouterA-voice-dial-entity2000] quit
# Configure the local number as 1000 for POTS entity 1000, and bind FXS interface line 2/1/1 to the POTS entity.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] match-template 1000
[RouterA-voice-dial-entity1000] line 2/1/1
# Configure modem pass-through for POTS entity 1000.
[RouterA-voice-dial-entity1000] modem passthrough protocol codec g711alaw
2. Configure Router B:
# Configure the called number as 1000 for VoIP entity 1000, and configure the destination IP address as 1.1.1.1.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 1000 voip
[RouterB-voice-dial-entity1000] match-template 1000
[RouterB-voice-dial-entity1000] address sip ip 1.1.1.1
# Configure modem pass-through for VoIP entity 1000.
[RouterB-voice-dial-entity1000] modem passthrough protocol codec g711alaw
[RouterB-voice-dial-entity1000] quit
# Configure the local number as 2000 for POTS entity 2000, and bind FXS interface line 2/1/1 to the POTS entity.
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] match-template 2000
[RouterB-voice-dial-entity2000] line 2/1/1
# Configure modem pass-through for POTS entity 2000.
[RouterB-voice-dial-entity2000] modem passthrough protocol codec g711alaw