![]() |
Fax, Modem, and Text Support over IP Configuration Guide, Cisco IOS Release 12.4T
|
||||||||||||||||||||||||||
Configuring Cisco Fax Relay
![]() |
|||||||||||||||||||||||||||
|
Contents
Configuring Cisco Fax RelayLast Updated: May 4, 2012
This chapter describes configuration for Cisco fax relay on an IP network. With Cisco fax relay, gateways terminate T.30 fax signaling by spoofing a virtual fax machine to the locally attached fax machine. The gateways use a Cisco-proprietary fax-relay RTP-based protocol to communicate between them. Finding Support Information for Platforms and Cisco IOS Software ImagesUse Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn . You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for Configuring Cisco Fax RelayBefore you configure Cisco fax relay, perform the following steps:
Restrictions for Configuring Cisco Fax RelayRestrictions for implementing Cisco fax relay are as follows.
Information About Cisco Fax RelayMethods for Fax RelayCisco provides two methods for fax relay. One method is a Cisco-proprietary method called Cisco fax relay, and it is described in this chapter. The second method is based on the ITU-T T.38 standard, and it is described in "Configuring T.38 Fax Relay."
Fax Relay Packet Loss ConcealmentCisco fax relay supports fax relay packet loss concealment, which is a technique that allows gateways to disregard packet loss rates that might otherwise cause fax failures. High-end fax machines with the memory to store page data often are able to use Error Correction Mode (ECM) for error-free page transmission. When ECM is enabled, a fax page is transmitted in a series of blocks that contain frames with packets of data. After receiving the data for a complete page, a receiving fax machine notifies the transmitting fax machine of any frames with errors. The transmitting fax machine then retransmits the specified frames. This process is repeated until all frames are received without errors. If the receiving fax machine is unable to receive an error-free page, the fax transmission may fail and one of the fax machines may disconnect. On networks that have a packet loss rate greater than 2 per cent, fax transmissions routinely fail when ECM is enabled because of ECM's low tolerance for packet loss. The Fax Relay Packet Loss Concealment feature allows you to control whether ECM is enabled or disabled for fax transmissions on a VoIP dial peer. By disabling ECM on networks with a large amount of packet loss, you ensure that more fax transmissions are completed, although they may not be totally error-free. When ECM is disabled, a fax page is transmitted using high-speed modulation in its raw encoded format. When detecting line errors with ECM disabled, the receiving fax machine has three options (in order of increasing severity):
Fax relay ECM is enabled by default. To disable ECM, you use the fax-relay ecm disable command on the VoIP dial peer. After this command is configured, the gateway's Digital Signal Processor (DSP) fax-relay firmware modifies the T.30 Digital Information Signal (DIS) message. This modification is performed on DIS signals in both directions, so that ECM is disabled even when only one gateway is configured to disable ECM. Disabling of ECM is recommended for dial peers handling fax relay traffic on known lossy networks, especially those with a packet loss rate of 2 percent or greater. The debug fax relay t30 command provides information about the E.164 destination and T.30 messages associated with fax transmissions. Note than an excessive number of simultaneous debug operations can degrade performance. Fax CM Message Tone SuppressionSuper Group 3 (SG3) is a new generation of fax machines that support speeds of up to 33.6 kbps through V.34 half duplex (HD) modulation and V.8 signaling. SG3 V.8 fax CM message tone suppression enables SG3 fax machines to scale down without end-user interaction and without using the extra bandwidth required by modem pass-through and allows SG3 fax machines to interoperate over a fax-relay network at G3 speeds by blocking the SG3 V.8 CM message, or fax tone, from reaching the called fax machine. This causes the called fax machine to time out on the ANSam tone and scale down to G3 speeds by initiating V.21 negotiations. SG3 V.8 fax CM message tone suppression supports both the one-gateway and two-gateway solutions:
How to Configure Cisco Fax RelayCisco fax relay can be configured globally for all VoIP dial peers or for individual dial peers. This section contains the following tasks:
Configuring Cisco Fax Relay for One or More Individual VoIP Dial Peers
SUMMARY STEPS
DETAILED STEPS Configuring Cisco Fax Relay for VoIP Dial Peers GloballyUse the following steps to configure Cisco fax relay globally for VoIP dial peers.
DETAILED STEPS
Configuration Examples for Cisco Fax Relay
MGCP VoIP Dial Peer ExampleSG3 V.8 fax CM message suppression is enabled by default and does not appear in the running configuration. To view the configuration for:
Router# show dial-peer voice 2000
VoiceOverIpPeer2000
peer type = voice, information type = voice,
description = `',
tag = 2000, destination-pattern = `',
answer-address = `', preference=0,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 2000, Admin state is up, Operation state is up,
incoming called-number = `2...', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
modem transport = relay, nse, payload type = 100, codec = g711alaw, , ga
teway-controlled,
URI classes:
Incoming (Called) =
Incoming (Calling) =
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = voip, session-target = `ipv4:10.2.109.103',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
UDP checksum = disabled,
session-protocol = cisco, session-transport = system,
req-qos = best-effort, acc-qos = best-effort,
req-qos video = best-effort, acc-qos video = best-effort,
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8
RTP comfort noise payload type = 19
fax rate = fax, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
Fax Relay SG3-to-G3 Enabled (by system configuration)
fax NSF = 0xAD0051 (default)
codec = g729r8, payload size = 20 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = cas,
VAD = enabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 0, Charged Units = 0,
Successful Calls = 0, Failed Calls = 0, Incomplete Calls = 0
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "",
Last Disconnect Text is "",
Last Setup Time = 0.
Configuration Disabled for MGCP ExampleWhen SG3 V.8 fax CM message suppression is not enabled, the running configuration showsno mgcp fax-relay sg3-to-g3, as shown in mgcp section of the following example:
Router# show runnning config
Building configuration...
Current configuration : 3231 bytes
!
! No configuration change since last restart
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
mgcp
mgcp call-agent ccm service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem relay voip mode nse gw-controlled
mgcp package-capability rtp-package
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
mgcp package-capability pre-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
no mgcp fax-relay sg3-to-g3
mgcp rtp payload-type g726r16 static
!
mgcp profile default
Show Fax Portion of Telephony Call Leg ExampleThe show call active faxcommand lists information about the fax part of the telephony call leg. Use this command to verify the SG3 fax CM suppression type, as shown in the following example:
Router# show call active fax
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 1
GENERIC:
SetupTime=2635990 ms
Index=1
PeerAddress=7001
PeerSubAddress=
PeerId=7000
PeerIfIndex=19
LogicalIfIndex=5
ConnectTime=2649400 ms
CallDuration=00:00:08 sec
CallState=4
CallOrigin=2
ChargedUnits=0
InfoType=fax
TransmitPackets=506
TransmitBytes=13616
ReceivePackets=134
ReceiveBytes=2388
TELE:
ConnectionId=[0x33333333 0x77777777 0xFFFFFFFF 0xDDDDDDDD
IncomingConnectionId=[0x66666666 0xBBBBBBBB 0x88888888 0xEEEEEEEE
CallID=5
TxDuration=14800 ms
VoiceTxDuration=4150 ms
FaxTxDuration=0 ms
FaxRate=7200 bps
SG3 Fax CM Suppression Type=TDM
NoiseLevel=-69
ACOMLevel=6
OutSignalLevel=-79
InSignalLevel=-73
InfoActivity=1
ERLLevel=6
EchoCancellerMaxReflector=4
SessionTarget=
ImgPages=0
CallerName=
CallerIDBlocked=False
OriginalCallingNumber=
OriginalCallingOctet=0x0
OriginalCalledNumber=
OriginalCalledOctet=0x80
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0x0
TranslatedCallingNumber=7001
TranslatedCallingOctet=0x0
TranslatedCalledNumber=
TranslatedCalledOctet=0x80
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0x0
GwCollectedCalledNumber=9102
DSPIdentifier=3/1:1
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 1
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2012 Cisco Systems, Inc. All rights reserved.
|
||||||||||||||||||||||||||
|
|