Page 37
Chapter 3 Configuring the Cisco ATA for MGCP
Specifying a Preconfigured VLAN ID or Disabling VLAN IP Encapsulation
3.Also from the DHCP server, the Cisco ATA requests the IP address of the TFTP server.
4.The Cisco ATA contacts the TFTP server and downloads the Cisco ATA release software that contains the correct signaling image for the Cisco ATA to function properly.
Note If you are not using a TFTP server, you need to manually upgrade the Cisco ATA to the correct signaling image. For information on this procedure, see the “Upgrading the Signaling Image Manually” section on page 7-2.
5.The Cisco ATA looks for a Cisco ATA-specific configuration file (designated by the MAC address of the Cisco ATA and named ata<macaddress> with a possible file extension) on the TFTP server and downloads this file if it exists. For information about configuration file names, see the “Configuration Files that the cfgfmt Tool Creates” section on page 3-13.
6.If the Cisco ATA does not find an ata<macaddress> configuration file, it looks for an atadefault.cfg configuration file and downloads this file if it exists. This file can contain default values for the Cisco ATA to use.
Note When the Cisco ATA is downloading its DHCP configuration, the function button on the top panel blinks.
Specifying a Preconfigured VLAN ID or Disabling VLAN IP Encapsulation
If you want the Cisco ATA to use a preconfigured VLAN ID instead of using the Cisco Discovery Protocol to locate a VLAN, or if you want to disable VLAN IP encapsulation, refer to Table 3-1for a reference to the parameters and bits you may need to configure. Use the voice configuration menu to configure these parameters. (See the “Voice Configuration Menu” section on page 3-20for instructions on using this menu.) Also, refer to Table 3-2for a matrix that indicates which VLAN-related parameters and bits to configure depending on your network environment.
Note Bits are numbered from right to left, starting with bit 0.
Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator’s Guide for MGCP (version 3.0)
Contents
Text Part Number OL-4803-01
Corporate Headquarters
Copyright 2003, Cisco Systems, Inc All rights reserved
Iii
N T E N T S
Safety Recommendations
Dhcp
CA0UID CA1UID
Vii
NPrintf TraceFlags
Viii
Installation and Upgrade Issues
Audience
Objectives
This preface includes the following sections
Conventions
Organization and Use
Organization
Chapter Description
Bewaar Deze Instructies
Avvertenza Importanti Istruzioni Sulla Sicurezza
Warnung Wichtige Sicherheitshinweise
Xii
Xiii
Aviso Instruções Importantes DE Segurança
Use this guide in conjunction with these documents
Related Documentation
Xiv
Cisco.com
Obtaining Documentation
Documentation CD-ROM
Ordering Documentation
Documentation Feedback
Obtaining Technical Assistance
You can order Cisco documentation in these ways
Xvi
Cisco TAC Website
Technical Assistance Center
Cisco TAC Escalation Center
Xvii
Xviii
Obtaining Additional Publications and Information
Cisco Analog Telephone Adaptor Overview
Pstn
Overview of Media Gateway Control Protocol
Link LED
Hardware Overview
Function Button
Cisco ATA supports the following protocols and services
Software Features
Mgcp Versions
Voice Codecs Supported
Cisco ATA Mgcp Services
Additional Supported Signaling Protocols
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
Signaling image by using the Tftp server-upgrade method or
Installation and Configuration Overview
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
Cisco ATA 186 Rear Panel Connections
Procedure
Installing the Cisco ATA Installation Procedure
Power-Down Procedure
Configuring the Cisco ATA for Mgcp
Default Boot Load Behavior
Page
Feature
VLANSetting
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
Action Reference
Tftp server at boot up time
Action
Basic Configuration Steps in a Non-TFTP Server Environment
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
Syntax
Save this file of Cisco ATA-specific parameters as
Cfgfmt -mgcp -tptag.datata0a141e28323c.txt ata0a141e28323c
Using atapname.exe Tool to Obtain MAC Address
Command Example
Using Encryption With the cfgfmt Tool
Command Output
Non-zero
Total Binary Output Size
Syntax Definitions-Options
Syntax of the cfgfmt tool follows
Syntax Definitions-Required Parameters
Syntax examples
Examples of Upgrading to Stronger Encryption Key
Ata102030405060 is unencrypted
Atadefault.cfg Configuration File
Using a Dhcp Server,
Using a Dhcp Server
Other Dhcp Options You Can Set
Without Using a Dhcp Server
Voice Configuration Menu
Voice Menu Number Features
Using the Voice Configuration Menu
Voice Menu Number
Entering Alphanumeric Values
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
Setting the Codec
Important Basic Mgcp Services
Configuring Refresh Interval
Required Parameters
Endpoints and Connections
Additional Mgcp Services
Mgcp Endpoint Device Type
Call Agent Redundancy with Configuration Parameters
Cisco ATA Registration Process with Mgcp
Syntax Type
Rsip Message for Disconnect State
Complete Reference Table of all Cisco ATA Mgcp Services
Configurable Feature Related Parameter
Supported Mgcp Connection Modes
Supported Signals and Events
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
IP address e.g Integer 32-bit integer Numeric digit string
Configuration Text File Template
User Interface UI Security Parameter
UIPassword
Value Type
Range
UseTFTP
Parameters for Configuration Method and Encryption
CfgInterval
TftpURL
Maximum 31 characters
905
EncryptKey
EncryptKeyEx
Range Default
Network Configuration Parameters
Not applicable for this parameter
StaticIp
Voice Configuration Menu Access Code Related Parameters
StaticRoute
IP address
255.255.255.0
StaticNetMask
916
Related parameter
Vlan Setting
CA0orCM0
Mgcp Configuration Parameters
Examples
Specify the ID of the primary Call Agent in this parameter
CA1orCM1
EPID0orSID0 and EPID1orSID1
Voice Configuration Menu Access Codes
Value Types
LBRCodec
PrfCodec
Integer
300
MGCPPort
2427
201
RetxIntvl
MediaPort
RetxLim
Domain
MGCPVer
205
Alphanumeric
CodecName
Audio Configuration Parameters
931
AudioMode
Default Names
Bit Number Definition
NumTxFrames
Operational Parameters
CallerIdMethod
Parameters and Defaults Operational Parameters
FXSOutputLevel
FXSInputLevel
371
ConnectMode
0x90000400
311
Bit Number
SigTimer
0x2
OpFlags
Bit Number Definition
0x000068B8
Tone Configuration Parameters
255
Each tone is specified by nine integers, as follows
Tone Parameter Syntax-Basic Format
Extended Format a
Tone Parameter Syntax-Extended Formats
Each tone is specified by 11 integers, as follows
Cadence With Two On-Off Pairs
Extended Format B
Cadence with Three On-Off Pairs
ReorderTone Parameter Example1
Component Setting Explanation
ReorderTone Parameter Example
Recommended Values
Default values using the Basic format
Specific Tone Parameter Information
DialTone
ReorderTone
BusyTone
CallWaitTone
RingbackTone
922
923
OffTime-2400 TotalToneTime-4800
AlertTone
924
925
Default Recommended Values
Diagnostic Parameters
RingCadence
NPrintf
SyslogIP
TraceFlags
Extended IP address
0x00000000
Bit Number Type of Messages to Trace
SyslogCtrl
RTP statistics messages Reserved
CFGID-Version Parameter for Cisco ATA Configuration File
OL-4803-01
Using Fax Pass-through Mode
Configuring and Debugging Fax Services
Fax Pass-through mode requires configuring two parameters
Configuring the Cisco ATA for Fax Pass-through mode
This setting translates to the following bitmap
AudioMode
Recommended Setting
Configuring Cisco IOS Gateways to Enable Fax Pass-through
This setting translates to the bitmap
ConnectMode
Run the following command
Enable Fax Pass-through Mode
Perform the command
Disable Fax Relay Feature
Configuring the Cisco ATA for Fax Mode
Using FAX Mode
Configuring the Cisco IOS Gateway for Fax Mode
Debugging the Cisco ATA 186/188 Fax Services
Common Problems When Using IOS Gateways
Problem Action
Cisco ATA, and 0x0012XXXX for the Phone 2 port
Using prserv for Diagnosing Fax Problems
For fax pass-through mode, AudioMode should be set to
Port
Analyzing prserv Output for Fax Sessions
Prserv Overview
Decoding timestamp was set to timestamp2
Log event Description
That the first RTP packet that the Cisco ATA received was
Encoded for channel
Possible Reasons for Failure
Originating-Gateway Example
Rtpcatch Overview
Using rtpcatch for Diagnosing Fax Problems
To use rtpcatch, follow these steps
Output Files
Example of rtpcatch
Explanation
CED tone Detected
Analyzing rtpcatch Output for Fax Sessions
Fax relay mode Cisco fax relay mode
Analysis
Both sides use G.711 for the entire fax session
Example 6-3 Fax Pass-through Mode
Using rtpcatch to Analyze Common Causes of Failure
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
Preliminary Steps
Upgrade Requirements
Running the Executable File
Syntax
To perform the upgrade, follow these steps
Upgrade Procedure
Using a Web Browser
Confirming a Successful Signaling Image Upgrade
OL-4803-01
General Troubleshooting Tips
Troubleshooting
Symptoms and Actions
Installation and Upgrade Issues
Debugging
2* 1 1* 2* 8* 1 1* 7* 8* 1 1* 9* 0* 1 1* 9* 0* 0
You should also have access to a sniffer or LAN analyzer
Message Syntax
Using System Diagnostics
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
Configuration file is not found
Cisco ATA failed to upgrade to the downloaded image file
Bad configuration file
Checksum error for configuration file
Real-Time Transport Protocol RTP Statistics Reporting
Dhcp Status Html
Resetting Cisco ATA counters
Frequently Asked Questions
Ring Load per RJ-11 FXS Port Maximum Distance
Contacting TAC
OL-4803-01
Voice Menu Option Code Description
Table A-1lists codes to return basic Cisco ATA information
DNS 2 IP
916 IP address of the primary DNS server
Tftp URL
OL-4803-01
This section describes Cisco ATA specifications
Physical Specifications
Dimensions Weight
Specification
Environmental Specifications
Electrical Specifications for Cisco ATA
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 2 phone rings and displays Cisco ATA 1 ID on CID
Cisco ATA 1 dials 6-Cisco ATA 1 to Call Agent
Device-Call Agent to Cisco ATA
OK-Cisco ATA 2 to Call Agent
RTP Media stream is now enabled on Cisco ATA 1. Both
Routing Update Protocol RTP Media stream is now enabled on
Cisco ATA 2-Call Agent to Cisco ATA
Ringback stops on Cisco ATA 1-Call Agent to Cisco ATA
Cisco ATA 2 hangs up-Cisco ATA 2 to Call Agent
ATA 2 Connection mode changes to receive-only-Call Agent to
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
Traffic
Business-class services for Internet telephony
Allow you to define your own customized markup language
GL-7
GL-8
Codec negotiation in sending fax
Bootload
Codecs Cabling requirements LBRCodec Call Agent Supported
IN-1
EncryptKey
CallerIdMethod CfgInterval CodecName ConnectMode Dhcp
IN-2
IN-3
Fax mode 6-1,6-6 Configuration
Debugging Services
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