Configuring and Troubleshooting The Cisco ATA 186 With Fax: Document ID: 19083
Configuring and Troubleshooting The Cisco ATA 186 With Fax: Document ID: 19083
Introduction
Prerequisites
Requirements
Components Used
Network Diagram
Conventions
Configure Fax Detection Method
Configure Fax Detection Method on the Cisco ATA 186
Configure Fax Detection Method on the Cisco IOS Gateway
Configure the Cisco 5300 Gateway
Configure Fax Mode Method
Configure Fax Mode Method on the Cisco ATA 186
Configure the Cisco 3640 Gateway
Verify
Troubleshoot
Troubleshoot on the Gateway
Troubleshoot on the Cisco ATA 186
Fax Machines Connected to a Cisco ATA Cannot Send Faxes, or Fax Calls Fail
Intermittently
Client Matter Code (CMC) Support for FAX Through ATA
Troubleshooting Commands
Related Information
Introduction
Cisco Analog Telephone Adaptor (ATA) 186 supports fax transmission only as passthrough. It cannot support
fax−relay. Both ports of the ATA support fax calls. For fax calls to work correctly, both the Cisco ATA 186
and the supporting gateway must be configured correctly. On Cisco gateways fax−relay is on by default. For
the fax calls to work between the ATA and the gateway, the fax−relay on the gateway must be disabled.
In fax detection mode, you can use LBRC in order to configure the Cisco ATA 186. The Rx and Tx codec
modes negotiate any codec for voice calls until it detects a fax−tone. Once it detects the fax−tone it does this:
Note: The fax−tone can be detected only for calls terminated by the ATA. For calls originated by the ATA,
the fax detection and renegotiation of the codec has to be initiated by the supporting gateway. In G.711 fax
mode, the Cisco ATA 186 passes the Real Time Protocol (RTP) packets sent between the end fax machines
without intervention. The ATA 186 treats the fax session like any normal voice call.
Note: Fax transmission rates are supported up to 9600 bps. Refer to Fax Passthrough Limitations on ATA 186
for more information on fax transmission rates. ATA 186 I1/I2 can support fax rates up to 14.4 kbps.
Note: ATA 186 is not supported for analog modem calls. The modem referred to throughout the
documentation implies fax modem.
Note: Fax pass−through for ATAs attached to Cisco CallManager Express (CME) is presently supported only
with the H.323 protocol.
Prerequisites
Requirements
Ensure that you meet these requirements before you attempt this configuration.
Components Used
The information in this document is based on these software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of the
devices used in this document started with a cleared (default) configuration. If your network is live, make sure
that you understand the potential impact of any command.
Network Diagram
This document uses this network setup.
Conventions
Refer to the Cisco Technical Tips Conventions for more information on document conventions.
You must configure these parameters in order to configure the Cisco ATA 186.
• Audio Mode
bit 2 (18)=0 Enable detection of FAX CED (answer) tone and switch to FAX mode
for the rest of the call if the tone is detected
• Connect Mode
0=G711ulaw; 1=G711alaw
bit 14=0 Enable Modem Pass Through
bit 15=0 Enable Modem Pass Through Dectection
• CallFeatures and PaidFeatures
This is an ATA configuration example for fax detection method using G.729 codec for voice calls and
G.711u−law for fax calls.
5300−gw#show running−config
Building configuration...
.
.
.
!
voice service voip
modem passthrough nse codec g711ulaw
!
.
.
dial−peer voice 1 pots
destination−pattern 2T
port 1:0
!
dial−peer voice 3 voip
incoming called−number 2T
destination−pattern 300.
session target ipv4:172.16.85.233
modem passthrough nse codec g711ulaw
fax rate disable.
Configure Fax Mode Method
Configure Fax Mode Method on the Cisco ATA 186
Use a web browser and go to http://<ip_address_of_ata>/dev (for example, http://172.16.104.117/dev) in
order to configure the Cisco ATA 186 using the web interface.
You must configure these parameters in order to configure Cisco ATA 186.
• Audio Mode
Note: The Cisco IOS Voice Applications Software Gateway must be configured with the same codec and
VAD as the ATA is configured. In this scenario, all calls, fax, or voice use G.711 with no VAD. Refer to
Understanding Dial Peers and Call Legs on Cisco IOS Platformsand Configuring Dial Plans, Dial Peers, and
Digit Manipulation in order to configure dial−peers on the gateway. All Cisco IOS gateways can be used in
the fax mode method. This example shows that a Cisco 3640 Gateway is used.
This is the sample configuration for the Cisco ATA 186 and the gateway when using the fax mode method
with G.711u−law for both fax and voice calls.
3640−gw#show running−config
Building configuration...
.
.
.
dial−peer voice 11 voip
incoming called−number 5000
destination−pattern 3000
session target ipv4:172.16.85.233
codec g711ulaw
no vad
!
dial−peer voice 5000 pots
destination−pattern 5000
port 3/1/0
.
.
Verify
There is currently no verification procedure available for this configuration.
Troubleshoot
This section provides information you can use to troubleshoot your configuration.
1. Configure the IP address of the PC which is on the same subnet as the Cisco ATA 186 in the ATA
Nprintf field.
2. The port specified after the address must be 9001.
3. Execute the preserv.exe program at the DOS prompt on the PC.
Download the preserv.exe program from the Cisco Downloads ( registered customers only) . From the
Downloads page, click the Voice Software link in order to access the Cisco ATA 186 Analog
Telephone Adaptor link.
Note: The preserv.exe program is included in the latest Cisco ATA 186 software release zip file.
The ATA is designed as an endpoint and therefore does not have direct inward dial (DID) functionality. In
order to pass the DID information as dual tone multifrequency (DTMF) to the fax server in the given network
scenario, you need to use an H.323 IOS gateway instead of an ATA.
If you get a poor line condition error or a busy signal when you send faxes out through ATA, try
to disable ECM (Error Correction Mode) on the fax machine and attempt the fax after that. The ECM setting
is configurable in most fax machines. With it turned on, the fax machine is extremely sensitive to the
transmission and reception.
• Change the fax speed to 9600 bps (the recommended speed for no issues).
• Set the protocol to G3.
• Disable the Error Correcting Mode (ECM).
• If the above actions do not work, plug the fax machine into the Foreign Exchange Station (FXS) port
in the router, and configure the router for modem pass−through.
Note: If none of these workarounds is successful, a different fax machine must be used.
Troubleshooting Commands
The Output Interpreter Tool ( registered customers only) (OIT) supports certain show commands. Use the OIT to
view an analysis of show command output.
Note: Refer to Important Information on Debug Commands before you use debug commands.
These sample command outputs are sample debugs for fax calls made between the Cisco ATA 186 and the
gateway for both methods.
This debug command output shows a fax call sent from Cisco ATA 186 to AS5300 in Fax Detection Method.
Calling 22151
SCC−>(0 0)
<cmd 16>CLIP
SCC−>(0 0)
<cmd 2><0 0> dial<32151>
block queue <− (18 1318384 0)
Connect to <0xac100d18 1720>..
>>>>>>>> TX CALLER ID : 0x1 0x80 6
Q931<−0:Setup:CRV 30970
Q931−>0:Proceeding
Connect H245...
block queue <− (19 1318384 555258)
NuConnectDispatcher: 0x78fa
H245 TCP conn ac100d18 11076
CESE/MSDSE start:<0 0 0 0>
capSize = 3
H245−>0:Cese
RemoteInputCap <15 5>
RemoteInputCap <15 4>
RemoteInputCap <15 1>
RemoteAudioCap <4 11>
MODE FRAME : 11 2
RemoteAudioCap <4 10>
Capability set accepted
H245−>0:MSD: <rn tt> = <0x1274 60>
H245−>0:CeseAck
H245−>0:MsdAck
h323.c 1826: cstate : 3
−>H245<0> OLC
H245<−0:LcseOpen
Q931−>0:Alerting
[0]DPKT 1st: 3570916113 3570915873, pt 18
Enable LEC adapt [0]=1
H323Dispatcher : 3 3
Q931−>0:Connect
SCC:ev=12[0:0] 3 0
0:30;3,0,0,0,
[0:0]Mdm PassThru
[0]codec: 18 => 8
[0]Rx MTP NSE pkt c1000000
[0]Rx MTP NSE pkt c1000000
[0]Rx MTP NSE pkt c1000000
1:00;2,0,0,0,
1:30;2,0,0,0,
This is the debug command output for a fax call received by the Cisco ATA 186 from the 3640 in Fax Mode
method.
Q931−>*:SetUp:CR = 45
called number : 3000
SetUp routed to 0
Remote alias = 5300−gw
>> callingpartynumber info: 0x0 0x83 5
Q931<−0:Proceeding
SCC:ev=21[0:0] 0 0
SCC<−Alerting <5300−gw 208>
SCC:ev=5[0:0] 13 0
[0:0]RINGING
SCC−>(0 0) <cmd 3>
CESE/MSDSE start:<0 0 0 0>
capSize = 2
Q931<−0:Alerting
H245−>0:Cese
RemoteInputCap <15 5>
RemoteInputCap <15 4>
RemoteInputCap <15 1>
RemoteAudioCap <4 3>
MODE FRAME : 3 20
Capability set accepted
H245−>0:MSD: <rn tt> = <0x17d 60>
H245−>0:CeseAckH245−>0:MsdAck
h323.c 1826: cstate : 4
−>H245<0> OLC
H245<−0:LcseOpen
set TX audio to G711 (3) 20 fpp
Q931<−0:Connect
Enable LEC adapt [0]=1
SCC:ev=12[0:0] 6 0
[0]DPKT 1st: 3570916113 3570915873, pt 0
0:30;3,0,0,0,
1:00;3,0,0,0,
SCC−>(0 0) <cmd 11>
H245<−0:EndSessionCmd 1
0: Close RTPRX
Q931<−*:ReleaseComplete
Related Information
• Cisco ATA 186 Basic Configuration
• Configuring and Troubleshooting an ATA 186 with Cisco IOS Gatekeepers
• Configuring and Troubleshooting an ATA 186 with a Cisco IOS Gateway
• Cisco ATA 186 FAQ and Common Issues
• Modem Passthrough over VoIP
• Recommended Reading: Troubleshooting Cisco IP Telephony
• Technical Support & Documentation − Cisco Systems