Page 76
Chapter 5 Parameters and Defaults
Configuration Text File Template
–IP address (e.g. 192.168.2.170)
–Integer (32-bit integer)
–Numeric digit string
Note The term Cisco ATA is used throughout this manual to refer to both the Cisco ATA 186 and the Cisco ATA 188, unless differences between the Cisco ATA 186 and Cisco ATA 188 are explicitly stated.
Note This section contains recommended values for the United States and other countries as configuration examples for certain parameters. For detailed recommendations of tone-parameter values by country, see Appendix D, “Recommended Cisco ATA Tone Parameter Values by Country.”
Configuration Text File Template
This is a listing of the mgcp_example.txt text file, without its annotations, that comes bundled with the Cisco ATA software.
You can make a copy of this file and use it as a template for creating your own default configuration file or Cisco ATA-specific configuration file. For instructions on how to create these configuration files, see the “Creating Unique and Common Cisco ATA Configuration Files” section on page 3-9.
The mgcp_example.txt file contains all the Cisco ATA default values. A configuration file must begin with #txt so that the formatting tool, cfgfmt.exe, treats the file as a text file. The sections that follow this listing describe all the parameters in this file.
#txt
UIPassword:0
UseTftp:1
TftpURL:0
CfgInterval:3600
EncryptKey:0
upgradecode:0,0x301,0x0400,0x0200,0.0.0.0,69,0,none
upgradelang:0,0x301,0x0400,0x0200,0.0.0.0,69,0,none
Dhcp:1
StaticIp:0
StaticRoute:0
StaticNetMask:0
DNS1IP:0.0.0.0
DNS2IP:0.0.0.0
VLANSetting:0x0000002b
CA0orCM0:0
CA1orCM1:0
CA0UID:0
CA1UID:0
EPID0orSID0:.
EPID1orSID1:.
PrfCodec:1
LBRCodec:3
MGCPPort:2427
MediaPort:16384
RetxIntvl:500
RetxLim:10
MGCPVer:MGCP1.0
Domain:.
Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator’s Guide for MGCP (version 3.0)
Contents
Corporate Headquarters
Text Part Number OL-4803-01
Copyright 2003, Cisco Systems, Inc All rights reserved
N T E N T S
Iii
Safety Recommendations
Dhcp
CA0UID CA1UID
NPrintf TraceFlags
Vii
Installation and Upgrade Issues
Viii
Audience
Objectives
This preface includes the following sections
Organization and Use
Conventions
Organization
Chapter Description
Bewaar Deze Instructies
Avvertenza Importanti Istruzioni Sulla Sicurezza
Warnung Wichtige Sicherheitshinweise
Xii
Aviso Instruções Importantes DE Segurança
Xiii
Use this guide in conjunction with these documents
Related Documentation
Xiv
Obtaining Documentation
Cisco.com
Documentation CD-ROM
Ordering Documentation
Obtaining Technical Assistance
Documentation Feedback
You can order Cisco documentation in these ways
Xvi
Technical Assistance Center
Cisco TAC Website
Cisco TAC Escalation Center
Xvii
Obtaining Additional Publications and Information
Xviii
Cisco Analog Telephone Adaptor Overview
Overview of Media Gateway Control Protocol
Pstn
Hardware Overview
Link LED
Function Button
Software Features
Cisco ATA supports the following protocols and services
Mgcp Versions
Voice Codecs Supported
Additional Supported Signaling Protocols
Cisco ATA Mgcp Services
Other Supported Protocols
729A 729B 729.AB
Supplementary Services that the Cisco ATA Provides
Fax Services
Service Parameter
Supplementary Services that the Call Agent Provides
Installation and Configuration Overview
Signaling image by using the Tftp server-upgrade method or
Manual-upgrade method
Action Reference
OL-4803-01
Installing the Cisco ATA
Network Requirements
Safety Recommendations
What the Cisco ATA Package Includes
5V power adaptor Power cord
Installation Procedure
What You Need
Procedure
Cisco ATA 186 Rear Panel Connections
Installing the Cisco ATA Installation Procedure
Power-Down Procedure
Configuring the Cisco ATA for Mgcp
Default Boot Load Behavior
Page
VLANSetting
Feature
Parameter and Bits Reference
Bits
Basic Configuration Steps in a Tftp Server Environment
Steps Needed to Configure the Cisco ATA
Hexadecimal format, this value is 0x01cc002b
Tftp server at boot up time
Action Reference
Basic Configuration Steps in a Non-TFTP Server Environment
Action
Setting Up the Tftp Server with Cisco ATA Software
Configuring the Cisco ATA Using a Tftp Server
Configurable Features and Related Parameters
Creating Unique and Common Cisco ATA Configuration Files
Save this file of Cisco ATA-specific parameters as
Syntax
Using atapname.exe Tool to Obtain MAC Address
Cfgfmt -mgcp -tptag.datata0a141e28323c.txt ata0a141e28323c
Command Example
Using Encryption With the cfgfmt Tool
Command Output
Total Binary Output Size
Non-zero
Syntax Definitions-Options
Syntax of the cfgfmt tool follows
Syntax Definitions-Required Parameters
Examples of Upgrading to Stronger Encryption Key
Syntax examples
Ata102030405060 is unencrypted
Atadefault.cfg Configuration File
Using a Dhcp Server
Using a Dhcp Server,
Other Dhcp Options You Can Set
Voice Configuration Menu
Without Using a Dhcp Server
Using the Voice Configuration Menu
Voice Menu Number Features
Entering Alphanumeric Values
Voice Menu Number
Resetting the Cisco ATA to Factory Default Values
Cisco ATA Web Configuration
Key Alphanumeric Characters
Cisco ATA Web Configuration
Refreshing or Resetting the Cisco ATA
Procedure to Refresh the Cisco ATA
Upgrading the Mgcp Signaling Image
Procedure to Reset the Cisco ATA
Cisco ATA-Supported Mgcp Services
Important Basic Mgcp Services
Setting the Codec
Configuring Refresh Interval
Required Parameters
Additional Mgcp Services
Endpoints and Connections
Call Agent Redundancy with Configuration Parameters
Mgcp Endpoint Device Type
Cisco ATA Registration Process with Mgcp
Syntax Type
Complete Reference Table of all Cisco ATA Mgcp Services
Rsip Message for Disconnect State
Configurable Feature Related Parameter
Supported Signals and Events
Supported Mgcp Connection Modes
Supported Local Connection Options
Related CIsco ATA Parameter
NCS 1.0 L-Package Supported by the Cisco ATA with Mgcp
Intermittent dial tone Timer Dtmf input
Code Description Type
Mgcp 0.1-1.0 G-Package Supported by the Cisco ATA with Mgcp
Mgcp 0.1-1.0 L-Package Supported by the Cisco ATA with Mgcp
Wt1, wt2, wt3, wt4 Call-waiting tone Dtmf tones wildcard
Mgcp 0.1-1.0 D-Package Supported by the Cisco ATA with Mgcp
Commands Supported with Mgcp
Operation failed Rbk### Rt@connection id
Parameters in Responses Sent to the Call Agent
Parameters in Commands Sent to the Call Agent
Parameter Usage
Mgcp Embedded Events
Example HdA, ESdl, Roc, 0-9#TD, D1xxxxxxxxxx9011x.T
OL-4803-01
Parameters and Defaults
Configuration Text File Template
IP address e.g Integer 32-bit integer Numeric digit string
UIPassword
User Interface UI Security Parameter
Value Type
Range
Parameters for Configuration Method and Encryption
UseTFTP
TftpURL
CfgInterval
Maximum 31 characters
905
EncryptKey
EncryptKeyEx
Range Default
Network Configuration Parameters
Not applicable for this parameter
Voice Configuration Menu Access Code Related Parameters
StaticIp
StaticRoute
IP address
255.255.255.0
StaticNetMask
916
Vlan Setting
Related parameter
CA0orCM0
Mgcp Configuration Parameters
Examples
CA1orCM1
Specify the ID of the primary Call Agent in this parameter
EPID0orSID0 and EPID1orSID1
Voice Configuration Menu Access Codes
Value Types
LBRCodec
PrfCodec
Integer
MGCPPort
300
2427
201
RetxIntvl
MediaPort
RetxLim
MGCPVer
Domain
205
Alphanumeric
CodecName
Audio Configuration Parameters
931
AudioMode
Default Names
Bit Number Definition
NumTxFrames
Operational Parameters
CallerIdMethod
Parameters and Defaults Operational Parameters
FXSInputLevel
FXSOutputLevel
ConnectMode
371
0x90000400
311
Bit Number
SigTimer
OpFlags
0x2
Bit Number Definition
0x000068B8
Tone Configuration Parameters
255
Tone Parameter Syntax-Basic Format
Each tone is specified by nine integers, as follows
Extended Format a
Tone Parameter Syntax-Extended Formats
Each tone is specified by 11 integers, as follows
Extended Format B
Cadence With Two On-Off Pairs
Cadence with Three On-Off Pairs
Component Setting Explanation
ReorderTone Parameter Example1
ReorderTone Parameter Example
Default values using the Basic format
Recommended Values
Specific Tone Parameter Information
DialTone
BusyTone
ReorderTone
RingbackTone
CallWaitTone
922
923
AlertTone
OffTime-2400 TotalToneTime-4800
924
925
Diagnostic Parameters
Default Recommended Values
RingCadence
NPrintf
TraceFlags
SyslogIP
Extended IP address
0x00000000
SyslogCtrl
Bit Number Type of Messages to Trace
CFGID-Version Parameter for Cisco ATA Configuration File
RTP statistics messages Reserved
OL-4803-01
Configuring and Debugging Fax Services
Using Fax Pass-through Mode
Configuring the Cisco ATA for Fax Pass-through mode
Fax Pass-through mode requires configuring two parameters
This setting translates to the following bitmap
AudioMode
Configuring Cisco IOS Gateways to Enable Fax Pass-through
Recommended Setting
This setting translates to the bitmap
ConnectMode
Enable Fax Pass-through Mode
Run the following command
Disable Fax Relay Feature
Perform the command
Using FAX Mode
Configuring the Cisco ATA for Fax Mode
Debugging the Cisco ATA 186/188 Fax Services
Configuring the Cisco IOS Gateway for Fax Mode
Common Problems When Using IOS Gateways
Problem Action
Using prserv for Diagnosing Fax Problems
Cisco ATA, and 0x0012XXXX for the Phone 2 port
For fax pass-through mode, AudioMode should be set to
Port
Prserv Overview
Analyzing prserv Output for Fax Sessions
Log event Description
Decoding timestamp was set to timestamp2
That the first RTP packet that the Cisco ATA received was
Encoded for channel
Originating-Gateway Example
Possible Reasons for Failure
Rtpcatch Overview
Using rtpcatch for Diagnosing Fax Problems
To use rtpcatch, follow these steps
Example of rtpcatch
Output Files
Explanation
CED tone Detected
Fax relay mode Cisco fax relay mode
Analyzing rtpcatch Output for Fax Sessions
Analysis
Both sides use G.711 for the entire fax session
Using rtpcatch to Analyze Common Causes of Failure
Example 6-3 Fax Pass-through Mode
Possible Causes for Failure
Cisco fax relay option is not disabled on the gateway
Possible Cause for Failure
Example 6-9 Fax Pass-through Mode Failure
Rtpcatch Limitations
Syntax of upgradecode Parameter
Upgrading the Signaling Image from a Tftp Server
Definitions
Upgradecode parameter value could be
Upgrading the Signaling Image Manually
Process
Upgrade Requirements
Preliminary Steps
Running the Executable File
Syntax
Upgrade Procedure
To perform the upgrade, follow these steps
Confirming a Successful Signaling Image Upgrade
Using a Web Browser
OL-4803-01
Troubleshooting
General Troubleshooting Tips
Symptoms and Actions
Installation and Upgrade Issues
Debugging
You should also have access to a sniffer or LAN analyzer
2* 1 1* 2* 8* 1 1* 7* 8* 1 1* 9* 0* 1 1* 9* 0* 0
Using System Diagnostics
Message Syntax
PriorityTimeOffset Ataip tag chMessage
Syntax Definitions
Example-DHCP Messages
Example-ARP Message
Example-TFTP messages
Example-System Reboot Message
Example-Cisco ATA Configuration Update Message
Example-Cisco ATA Event Messages
Example-Fax Event Messages
Local Tone Playout Reporting
Example-RTP Statistic Messages
Tone Type ID Description
Bit Number Description
Obtaining Network Status After Getting IP Connectivity
Bit Number Description Boolean Value
Cisco ATA failed to upgrade to the downloaded image file
Configuration file is not found
Bad configuration file
Checksum error for configuration file
Dhcp Status Html
Real-Time Transport Protocol RTP Statistics Reporting
Resetting Cisco ATA counters
Frequently Asked Questions
Ring Load per RJ-11 FXS Port Maximum Distance
Contacting TAC
OL-4803-01
Table A-1lists codes to return basic Cisco ATA information
Voice Menu Option Code Description
916 IP address of the primary DNS server
DNS 2 IP
Tftp URL
OL-4803-01
Physical Specifications
This section describes Cisco ATA specifications
Dimensions Weight
Specification
Electrical Specifications for Cisco ATA
Environmental Specifications
Description Specification
Physical Interfaces
Software Specifications
Ringing Characteristics
Tip/ring interfaces for each RJ-11 FXS port Slic
Appendix B Cisco ATA Specifications Software Specifications
Sccp
OL-4803-01
Mgcp Call Flows
Appendix C Mgcp Call Flows
Step Action Log
Cisco ATA 1 dials 6-Cisco ATA 1 to Call Agent
Cisco ATA 2 phone rings and displays Cisco ATA 1 ID on CID
Device-Call Agent to Cisco ATA
OK-Cisco ATA 2 to Call Agent
Routing Update Protocol RTP Media stream is now enabled on
RTP Media stream is now enabled on Cisco ATA 1. Both
Cisco ATA 2-Call Agent to Cisco ATA
Ringback stops on Cisco ATA 1-Call Agent to Cisco ATA
ATA 2 Connection mode changes to receive-only-Call Agent to
Cisco ATA 2 hangs up-Cisco ATA 2 to Call Agent
Cisco ATA 2 Connection is deleted-Call Agent to Cisco ATA
Agent to Cisco ATA
Recommended Cisco ATA Tone Parameter Values by Country
OL-4803-01
Table D-1 Argentina
Table D-5 Brazil
Table D-9 Czech Republic
Table D-13 France
Table D-17 Hungary
Table D-21 Ireland
Table D-25 Korea
Table D-29 Netherlands
Table D-33 Panama
Table D-37 Portugal
Table D-41 Slovakia
Table D-45 Sweden
Parameter Recommended Values
OL-4803-01
GL-1
GL-2
GL-3
GL-4
Messages can be part of Sgcp and Mgcp messages
Signaling connection control part
GL-5
GL-6
Business-class services for Internet telephony
Traffic
Allow you to define your own customized markup language
GL-7
GL-8
Bootload
Codec negotiation in sending fax
Codecs Cabling requirements LBRCodec Call Agent Supported
IN-1
EncryptKey
CallerIdMethod CfgInterval CodecName ConnectMode Dhcp
IN-2
IN-3
Debugging Services
Fax mode 6-1,6-6 Configuration
Fax relay disabling
IN-4
IN-5
RTP payload type RTP statistics reporting
Cisco ATA RSIP*@ipaddress syntax setting
IN-6
IN-7
IN-8