Troubleshooting Tools to Diagnose or Report a Problem March 30, 2012

Similar documents
ISDN Troubleshooting. All Mediatrix Units with ISDN cards. v

ISDN Troubleshooting. All Mediatrix Units with ISDN cards

ISDN Troubleshooting. All Mediatrix Units with ISDN cards. v

DGW PCM Traces. All Mediatrix Units. v

First Aid. For All Mediatrix units. v

First Aid. For All Mediatrix units. Revision

First Aid. For All Mediatrix units. v

First Aid. For All Mediatrix units. v

First Aid. For all Mediatrix units. Revision

PBX Remote Line Extension

Configuring an FXO Mediatrix Gateway as a MS Lync 2010 PSTN Gateway

RP-FSO522 2-Line FXO, 2-Line FXS SIP IP Gateway. Feature

Using a PSTN Mediatrix Gateway (FXO, PRI, BRI) with a 3CX IP PBX

Installation with a DSL Connection.

Cisco IP Phone Configuration Guide

Yealink IP Phone Configuration Guides. Yeastar Technology Co., Ltd.

Auto-Provisioning Mediatrix units May 31, 2011

DMP 128 Plus C V DMP 128 Plus C V AT

AP-SAV100 Analog Voice Intercom

ADMINISTRATION GUIDE Cisco Small Business Pro SPA9000 Voice System Version 6.1

Grandstream IP Phone Configuration Guides

EIP 7012 Essence VoIP Phone Administration Guide Version 1.0B

Basic FXO Gateway Configuration

Basic FXO Mediatrix Unit Configuration with Asterisk

Configuration Notes 284

IP Telephony Troubleshooting

Quick Guide: How to Setup Multi-cell in SME VoIP Network

ANSEL FXS / 1 PSTN. VoIP Telephone Adaptor. User Manual V1.10

Application Notes for Configuring SIP Trunking between Bandwidth.com SIP Trunking Solution and an Avaya IP Office Telephony Solution Issue 1.

Customer Guide to Passive VoIP Recording. March

UCM6102/6104/6108/6116 Configuration

Avaya PBX SIP TRUNKING Setup & User Guide

Solution Integration Guide for Multimedia Communication Server 5100 Release 4.0 and AudioCodes

CyberData V3 Paging Server Integration with Zultys MX

Basic FXO Gateway Configuration

TT11 VoIP Router 1FXS/1FXO TA User Guide

Pancode IP User Manual from Version 49 and above

IPNext 187 Hybrid IP-PBX System High-performance Hybrid IP-PBX Solution

Rev

Remote User - Mediatrix SBC on the Edge

PANASONIC. Optimum Business Trunking and the Panasonic KX-NCP500 IP PBX V Configuration Guide

Fanvil IP Phone Configuration Guides. Yeastar Technology Co., Ltd.

Troubleshooting Voice Over IP with WireShark

Application Notes for OneAccess-Telstra Business SIP with Avaya IP Office Release 11 SIP Trunking - Issue 1.0

SPA400 Internet Telephony Gateway with 4 FXO Ports

SDP-R25 User Manual 05/06/2015

4 Port IP-PBX + SIP Gateway System

SVG300S+ 2 FXS SIP/IAX ATA USER MANUAL

SoLink-Lite IP-PBX. Administrator Guide. (Version 1.0)

SIP Gateways. For all Mediatrix units. v

Manual PBX IP Version: 1.0

Using a Mediatrix Gateway with a 3CX IP PBX

Configuration Notes 281

Abstract. Avaya Solution & Interoperability Test Lab

RING CENTRAL CONFIGURATION GUIDE: V3.1 PAGING SERVER

DMP 128 Plus C V DMP 128 Plus C V AT. Avaya Aura Configuration Guide REVISION: DATE: MARCH 7 TH 2018

LAB6: UC520 MULTI-SITE SETUP

Mediatrix 4400 Digital Gateway VoIP Gateway with the PSTN

XO SIP Service Customer Configuration Guide for Sutus BC200 with XO SIP

Welcome. Unleash Your Phone

EP502/EP504 IP PBX 1.1 Overview

DMP 128 Plus C V DMP 128 Plus C V AT. Avaya Aura Configuration Guide REVISION: 1.1 DATE: SEPTEMBER 1 ST 2017

The following information will help you troubleshoot general audio issues experienced during inbound and outbound call scenarios.

Welltech WellGate User Manual

Secure Communications on VoIP Networks

AT&T VOIP Nortel BCM50 Release 3.0 SIP Configuration Guide For Use with AT&T IP Flexible Reach Service. Issue /26/2007

Matrix SETU ATA. VoIP Adaptors with FXO, FXS, GSM Ports and Multiple SIP Accounts

Application Notes for Configuring EarthLink SIP Trunk Service with Avaya IP Office using UDP/RTP - Issue 1.0

Abstract. Avaya Solution & Interoperability Test Lab

AP Port Analog VoIP Gateway High Performance VoIP Gateway Solution

Interop- Mediatrix PRI FXO Gateway as a MS Lynx 2010 PSTN Gateway - Medatrix 3000 Series

ZyXEL V120 Support Notes. ZyXEL V120. (V120 IP Attendant 1 Runtime License) Support Notes

Trace Collection Guidelines

Analog Telephone Adapter Setup for Q-SYS Softphone

MP-202 Telephone Adapter User's Manual. Version 2.4

8-Port SIP VoIP Gateway (8 FXS)

ATCOM IPPBX IP01 Product Guide Version: VoIPon Tel: +44 (0) Fax: +44 (0)

Base Stations/Handset Firmware Update Via TFTP Contents Contents...1 Document History... 1 Introduction: Firmware Upgrades/Downgrades...

KTA1010 INSTALL GUIDE

Grandstream Networks, Inc. UCM6200 Basic Configuration Guide

Abstract. Avaya Solution & Interoperability Test Lab

AP800 TM PSTN Backup 4-Port FXS VoIP Gateway High Performance VoIP Gateway Solution

DMP 128 Plus C V DMP 128 Plus C V AT. Cisco CUCM Configuration Guide REVISION: DATE: MARCH 7 TH, 2018

DMP 128 Plus C V DMP 128 Plus C V AT. RingCentral Configuration Guide REVISION: 1.0 DATE: JUNE 26 TH 2018

ApplianX IP Gateway User Guide

see the Cisco SPA100 Series Administration Guide for details. The configuration profile is uploaded to the Cisco SPA122 at the time of provisioning.

Configuration Notes for Mediatrix FXS Units in Nortel CS1K Release 3 H.323 Environment June 21, 2011

AP-GS808S 8-Port GSM VoIP Gateway High Performance GSM VoIP Gateway Solution

for VoIP Gateway Series

RING CENTRAL CONFIGURATION GUIDE: V3 SIP-ENABLED IP INTERCOMS

Configuration Note. Connecting XO Communications SIP Trunking Service to Microsoft Lync Server Using

Setting Up a Serial (SMDI, MCI, or MD-110) PIMG Integration with Cisco Unity Connection

Remote User - Mediatrix SBC on the Edge

Application Notes for TelStrat Engage Record Version 3.3 with Avaya Business Communication Manger Release 6.0 VoIP Recording Issue 1.

Chapter TIMG BOILERPLATE

CyberData SIP Page Server V3 Integration with 8x8 Serial Numbers 1461x

Application Note. Mediatrix 1204 Analog Gateway (SIP) Features and Benefits. Table of Contents. Mediatrix. ST-0224 December 14, 2006

Linkus User Guide. Android Edition 1.2.6

DMP 128 Plus C V DMP 128 Plus C V AT. Avaya IP Office Configuration Guide REVISION: 1.2 DATE: JANUARY 9 TH 2018

AP500 4-Port FXS VoIP Gateway

Transcription:

Troubleshooting Tools to Diagnose or Report a Problem March 30, 2012 Proprietary 2012 Media5 Corporation

Scope of this Document This Technical Bulletin aims to inform the reader on the troubleshooting software tools available and how to use them, thus providing capabilities to diagnose a problem or properly report the problem to Mediatrix. Some examples are used to illustrate the functionality of each software tool. More specifically, the following is detailed in this Technical Bulletin: Scope of this Document... 2 Information Required when Reporting a Problem to Mediatrix... 3 Network Configuration / Call Setup... 3 Saving the Configuration of a Mediatrix Product using SIP v5.0, H.323 or MGCP... 3 Saving the Configuration of a Mediatrix Product using Dgw v2.0... 3 Wireshark... 4 Download Site... 4 Using Wireshark... 4 Remote Capture... 5 How to Create Filters... 6 Converting an RTP Stream to an Audio File... 8 Audacity... 9 Download Site... 9 Using Audacity... 9 Plot Spectrum Utility... 10 SIP Scenario... 11 Download Site... 11 Creating a SIP Scenario File... 11 Syslog Daemons and Enabling Debug Traces... 12 Enabling Syslogs in Debug Mode... 12 Signaling Logs (SIP or MGCP)... 13 Download Site... 13 Enabling Signaling Logs on a Mediatrix 1100/1200/4100, 2102 and Liaison... 13 Enabling Signaling Logs on a Mediatrix 3400/3500/3600/4400... 13 Page 2 of 13

Information Required when Reporting a Problem to Mediatrix When reporting a problem and to make sure that all the relevant information is given to the Mediatrix support team at once, a Mediatrix partner should consider providing the following: 1. A detailed description of the network configuration, the call setup, and all the participants. 2. The configuration file of the Mediatrix unit(s) involved. 3. A Wireshark capture of the problem (the Wireshark capture should contain the signaling protocol SIP, MGCP or H.323 the RTP stream, and the syslog messages in debug mode). Network Configuration / Call Setup 1. Mediatrix product name, release and build number. 2. Serial number of the Mediatrix unit if a hardware problem is suspected. 3. Name / manufacturer / type of other VoIP devices along with their IP addresses. 4. Name / manufacturer / software version of the Proxy server (SIP), Call agent (MGCP), or Gatekeeper (H.323). 5. Whenever possible, a diagram of the network or wiring setup. 6. Call flow / call scenario to reproduce the problem. 7. Please mention if the call goes through a NAT, Firewall, Bridge, VPN, Router, Soft switch, etc. 8. Please detail any change to the configuration made recently. Saving the Configuration of a Mediatrix Product using SIP v5.0, H.323 or MGCP The following is the recommended method to save the whole configuration of a Mediatrix analog product 1. Install the latest GA version of the Mediatrix Unit Manager Network (UMN). 2. Auto detect your unit. 3. Note the last 5 alphanumerical values of the unit's MAC address. 4. Right-click the unit s MAC address, then select Configuration File and Save to XML. 5. Put checks in both options, and then click OK. Send the proper XML file to Mediatrix (based on the MAC address). It can normally be found in C:\Program Files\Unit Manager Network 3.2\UnitManager\CfgFile. Saving the Configuration of a Mediatrix Product using Dgw v2.0 1. Using the Web configuration page, go to the Management web page. 2. Under the section Export Script, set the content field to All config 3. Click on download. 4. Save the configuration script file to your computer. Page 3 of 13

Wireshark Wireshark is a network protocol analyzer. It is an Open Source software released under the GNU General Public License. It can decode SIP, MGCP, H.323, RTP, and a lot more protocols. Download Site The following link should take you directly to the latest Wireshark download site: http://www.wireshark.org/download.html. Note: Select the Windows version. Make sure you install winpcap and read the instructions. Using Wireshark In the Capture menu, select options(ctrl+k). 1. In the following screen: Make sure the proper Ethernet network adapter is selected in the interface field. In the Capture Filter: field, use the button to select a pre-saved filter or enter your own filter. Useful examples could be to capture send/receive packets from known devices: o Knowing the MAC address of the device, the capture filter would be: ether host 00:90:f8:00:60:82 Note: Capturing at the MAC level allows to capture Ethernet protocols such as DHCP. o Knowing the IP address of the device, the capture filter would be: host 192.168.0.250 2. For real-time display, enable Update list of packet in real time and Automatic scrolling in live capture in the Display options section. Page 4 of 13

3. When troubleshooting a random problem happening weekly, we suggest using the above filters along with the multiple files functionality. As an example you could set Next file every field to 1 day Important Note: It is not recommended to capture in a switching network unless the PC running Wireshark itself is also participating in the call (is either a proxy server or a soft phone), meaning that it is directly receiving/sending network messages. For better results, it is sometimes useful to temporarily connect a hub into the switch and then connect both the PC capturing and the VoIP equipment into the hub. Refer to your Wireshark Manual or Display Filters Manual for more information about Wireshark. Remote Capture When using a Mediatrix unit running firmware DGW v2.0r17.285 or higher, it is possible to remotely start a network capture on the Mediatrix unit and send the result to a PC running Wireshark. CLI access is required to execute this procedure. 1. From the PC, download the plink utility from this download site : http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html 2. Save the plink utility somewhere accessible from a command line. 3. Open a command line and enter the following command by replacing each field with the information in your setup : For example: plink.exe -pw "PASSWORD" USERNAME@IP_ADDRESS "pcapture -raw i any" wireshark -k -i plink.exe -pw "1234" public@192.168.0.100 "pcapture -raw i any" wireshark -k -i This command would connect to the CLI of unit with IP address 192.168.0.100 using the public username and the 1234 password. The pcapture command will be executed in the CLI and the result will be sent to a new Wireshark window. Page 5 of 13

You can look at the DGW v2.0 Software Configuration Guide for more information on the pcapture command. How to Create Filters 1. Once looking at a previously made or running capture, you can use the Filter field to show specific frames. Use any protocol name to filter out all other protocols: sip bootp syslog rtp t38 mgcp h245 q931 h225 When converting PCMU/PCMA RTP streams into audio files, use the following display filter to remove every Comfort Noise and DTMF out-of-band based on their RTP payload type: rtp && rtp.p_type!= 13 && rtp.p_type!= 96 The following is a screenshot of a display filter. Page 6 of 13

2. To create a new filter for a particular field value in any frame, select a frame (must be a known protocol, meaning decoded by Wireshark). Then right-click Apply as Filter and then choose your type of filter. Page 7 of 13

Converting an RTP Stream to an Audio File 1. The following are the steps to convert a PCMA/PCMU RTP stream into an audio file: Make sure you remove all non-voice packets by using a display filter, typically: rtp && rtp.p_type!= 13 && rtp.p_type!= 96 Make sure all RTP streams in the capture are decoded as RTP by Wireshark. Depending on the firmware used in the Mediatrix unit, the PCM capture could be generated by using both PCMA and PCMU. If the PCM capture contains both PCMA and PCMU RTP packets, you will need to convert each RTP stream separately, otherwise the audio file will contain noise. To get an audio file without the noise, use the following display filters before you analyse the RTP streams to create separate audio files. rtp.p_type == 0 && rtp.p_type!= 13 && rtp.p_type!= 96 rtp.p_type == 8 && rtp.p_type!= 13 && rtp.p_type!= 96 Go in the Statistics menu, then select RTP, then Show All Stream. In the following screen, select any RTP stream you would like to convert, then click the Analyze button. 2. In the following screen, click the Save payload button. Page 8 of 13

3. In the following screen, select the.au format and the forward direction. Select also the proper folder, enter a filename, then click the OK button to save your audio file. 4. To view this file in Audacity, drag and drop from Windows explorer into the Audacity screen. Audacity Audacity is a free, easy-to-use audio editor and recorder. It is an Open Source software released under the GNU General Public License. Download Site The following link should take you directly to the latest Audacity download site: http://audacity.sourceforge.net/ Using Audacity 1. To start viewing a file, drag and drop a supported audio file in Audacity s window or use the File/Open option. 2. In the View menu, use the Fit Vertically or Fit to Windows options to quickly fit the audio file in your screen. 3. Use the mouse to select a portion of the audio file, then the Zoom to Selection option to zoom in a particular part of the audio file. 4. When ready, hit the play button to listen for the selected portion. Note: Isolating and listening to each RTP stream can help you identify the source of echo or noise in your network. Page 9 of 13

Plot Spectrum Utility 1. A North American ring back is displayed in this audio file. To analyze the frequencies used in this ring back, carefully select the ring portion of the audio file then use the Plot Spectrum functionality from the View menu. 2. Select 8192 as the bit rate. The two peaks indicate that this ring is made up of two frequencies: 440 Hz and 480 Hz. Note: Plot Spectrum can be used to analyze tones played by PBX or PSTN (SCN) lines to help configure the Far-End- Disconnect tone on a 1204 or to understand why Dial tone detection is not working. We have seen many PBXs having offset frequencies when playing tones, making it hard for a 1204 to recognize them with default settings until set properly. Page 10 of 13

SIP Scenario The SIP Scenario Generator creates SIP Call Flows or SIP scenario diagrams, in HTML format, of SIP messages from Ethernet capture files. SIP Scenario Generator shows the actual call processing trace in a format that is easily understood using browser technology. Clicking on a SIP message hyperlink displays the contents of the traced SIP. It definitely helps reporting a problem to a vendor or a customer. Download Site SIP Scenario can be downloaded at http://www.iptel.org/~sipsc/. Creating a SIP Scenario File 1. Copy your Wireshark file into your SIP Scenario directory. 2. Open the Command Prompt window and use the CD command to work in your SIP Scenario directory. 3. Type sip_scenario.exe followed by the name of your capture. SIP Scenario will then create several files based on the name of your capture. The following screenshot is a portion of what we can see by opening SIP_call.html. Page 11 of 13

Syslog Daemons and Enabling Debug Traces The following syslog daemons have been used successfully by Mediatrix: Kiwi Syslog Daemons Freeware: http://www.kiwisyslog.com/software_downloads.htm Note: Wireshark can also decode syslog messages; therefore, a syslog daemon is not mandatory. Kiwi Syslog Daemon has logging and filter functionalities and can run as a service on Windows NT-based machines. This daemon listens on port 514 for incoming syslog messages. The Kiwi Syslog Daemon can also receive signaling logs from our units (see Signaling Logs). Enabling Syslogs in Debug Mode Using the Unit Manager Network (Mediatrix 1100/1200/4100, 2102, Liaison) In the Syslog daemon section of the Administration page, enter the static IP address of the PC running the syslog daemon. Set the Messages to debug. Using the unit s web page of the Mediatrix 1200/4100, 2102, Liaison Login to the Administration web page In the Monitoring sub-link of the Device Info section, enter the static IP address of the PC running the syslog daemon. Set the Syslog Max. Severity to debug. Using the unit s web page of the Mediatrix 3400/3500/3600/4400 In the Syslog sub-link of the System section, enter the static IP address of the PC running the syslog daemon. Set the Diagnostic Traces to Enable. Click the Edit button next to Filter. Make sure all Traces are set to All. Page 12 of 13

Signaling Logs (SIP or MGCP) Signaling logs, which are copies of the ongoing SIP or MGCP signaling, can be sent to a program listening for UDP packets on a specific port, much like syslog daemons. Mediatrix has created a little UDP Listener for its own need. It is provided as is with no guarantee that it will not harm or slow down your system. Logging over a long period of time would require file logging capability as you may overload your system memory. Note that the Kiwi syslog daemon has file logging capability and can receive UDP logs as well. You can use Signaling logs when debugging a remote unit and/or when taking a Wireshark capture is impossible. Download Site The Mediatrix UDP Listener can be freely downloaded on the Mediatrix Download Portal (http://www.mediatrix.com). Enabling Signaling Logs on a Mediatrix 1100/1200/4100, 2102 and Liaison 1. With the Unit Manager Network, right-click the unit s MAC address and select Edit SNMP. This takes you to the MIB. 2. The following path should take you to the signaling log configuration: private>enterprises-->mediatrix-->mediatrixexperimental-->mxdebugmib--> mxdebugmibobjects-->mxdebugsignalinglog Enable the signaling log then set the host and port to those on which your UDP program is listening. Enabling Signaling Logs on a Mediatrix 3400/3500/3600/4400 1. With the Unit Manager Network, right-click the unit s MAC address and select Edit SNMP. This takes you to the MIB. 2. The following path should take you to the signaling log configuration: private>enterprises-->mediatrix-->mediatrixsystem-->gen5-->mediatrixcommon--> mediatrixservices-->sipepmib-->sipepmibobjects-->debuggroup Enable the signaling log then set the host and port to those on which your UDP program is listening. Page 13 of 13