Introduction
This document describes different logs required to be collected in case of an inbound/outbound call failure across gateways.
Prerequisites
Requirements
Cisco recommends that you have knowledge of these topics:
- Cisco Unified Communications Manager (CUCM) version 10.5 and above
- Real-Time Monitoring Tool (RTMT)
Components Used
This document is not restricted to specific 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, ensure that you understand the potential impact of any command.
Call Flows
CUCM and MGCP Gateway
- Call manager detailed level traces
- Event viewer application logs and system logs
CUCM and H323 Gateway
- Call manager detailed level traces
- Event viewer application logs and system logs
Debug from Gateway:
- debug h225asn1
- debug h245asn1
- debug isdnq931
- debug voice ccapi inout
CUCM and SIP Gateway
- Call manager detailed level traces
- Event viewer application logs and system logs
Debug from Gateway:
- debug ccsip messages
- debug voice ccapi inout
Trace Settings
Please refer to this image for setting trace to the correct level.

Gather Traces From RTMT
After the issue was reproduced, gather the traces requested by TAC immediately. This prevents the trace files from being overwritten before you can gather them.
- Launch the RTMT.
- Connect to the IP address of your CUCM Publisher.
- Log on with the same credentials you use for the CUCM Administration web page.
- Navigate to System > Tools > Trace & Log Central, as shown in the image.
- Double-clickCollect Files. The Collect Files window opens to Select UCM Services/Applications.
- Under Select UCM Services/Applications, check the box in All Servers column for Cisco CallManager

- ClickNext. The Collect Files window advances to the Collect File Options screen.
- Configure your Collection Time:
- As you have timestamps for your test call(s), click the Absolute Rangeradio button.
- From theFrom Date/Timedrop-down list, choose the time for one minute before your first test call.
- From the To Date/Timedrop-down list, choose the time for one minute after your last test call.
- Configure your Download File Options. ClickBrowse in order to configure your Download File Directory and specify a new directory for each trace file collection.
Verify Trace File
Review the files that you have gathered in order to ensure they cover the problem time frame. The simplest way to do this is to review theTraceCollectionResult*.xml files.
When RTMT collects a set of files, it writes aTraceCollectionResult*.xml file to the download file directory for each server that it collects data from. You will see these files along with subdirectories for each CUCM server. TheTraceCollectionResult*.xml files state which files were successfully downloaded from each server. The subdirectories contain the actual trace and log files.