Troubleshooting Tools to Diagnose or Report a Problem February 23, 2012



Similar documents
Configuration Notes 0217

Mediatrix 4404 Step by Step Configuration Guide June 22, 2011

Configuration Notes 290

P160S SIP Phone Quick User Guide

Mediatrix 3000 with Asterisk June 22, 2011

Enabling NAT and Routing in DGW v2.0 June 6, 2012

VoIP Recorder V2 Setup Guide

Configuration Notes 283

DPH-140S SIP Phone Quick User Guide

Optimum Business SIP Trunk Set-up Guide

Fonality. Optimum Business Trunking and the Fonality Trixbox Pro IP PBX Standard Edition V p13 Configuration Guide

NetComm V90 VoIP Phone Quick Start Guide Draft Release 0.1

ISDN Troubleshooting October 11, 2012

Setup Reference guide for PBX to SBC interconnection

GW400 VoIP Gateway. User s Guide

Internet Basics Thursday, November 20, 2008

Integrating a Hitachi IP5000 Wireless IP Phone

How To Configure A Linksys Pap2T With Virtualbpx On A Cell Phone On A Pc Or Ipad Or Ipa (For Ipa) On A Ipa Or Ip2T On A Sim Sim (For Sim Sims

EINTE LAB EXERCISES LAB EXERCISE #5 - SIP PROTOCOL

Allworx Installation Course

V310 Support Note Version 1.0 November, 2011

IP PBX. SD Card Slot. FXO Ports. PBX WAN port. FXO Ports LED, RED means online

Configuring the Synapse SB67070 SIP Gateway from AT&T for Clearfly SIP Trunking. January 2013

Back Office Recorder 4iP Installation Guide Intelligent Recording Limited

MAGIC TH6. System Configuration SW Version 2.000

Installation and setup guide V 1.0

System Log Setup (RTA1025W Rev2)

Application Notes for Configuring Cablevision Optimum Voice SIP Trunking with Avaya IP Office - Issue 1.1

Note: these functions are available if service provider supports them.

6.40A AudioCodes Mediant 800 MSBG

StarLeaf Network Guide

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Configuration Guide for connecting the Eircom Advantage 4800/1500/1200 PBXs to the Eircom SIP Voice platform.

NetVanta 7100 Exercise Service Provider SIP Trunk

User Manual. SIP Analog Telephone Adaptor SIP-GW2. Sedna Advanced Electronics Ltd.

Version 0.1 June Xerox WorkCentre 7120 Fax over Internet Protocol (FoIP)

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Allworx 6x IP PBX

In the following installation procedures, do not disconnect the Mediatrix 3000 Series while the LEDs are flashing.

Lab VI Capturing and monitoring the network traffic

Vertex VoIP Caller ID (Version 1.5)

FortiVoice. Version 7.00 User Guide

Application Notes for Configuring Broadvox SIP Trunking with Avaya IP Office - Issue 1.0

Smart Telephone System

SIP-DECT Knowledge Base SIP-DECT System Update

Prestige 2002 Series. VoIP Analog Telephone Adaptor. Quick Start Guide

NEC DSX-40 IP-PBX. Optimum Business Trunking and the NEC DSX-40 PBX Configuration Guide

Mediatrix Gateway 440x Series Quick Configuration Guide

Lab Conducting a Network Capture with Wireshark

Avaya IP Office 8.1 Configuration Guide

Abstract. Avaya Solution & Interoperability Test Lab

Network Setup Guide. 1 Glossary. 2 Operation. 1.1 Static IP. 1.2 Point-to-Point Protocol over Ethernet (PPPoE)

MAXCS Release 7.0. Application Note: Remote MultiVoIP Gateway Configuration. Intended audience: AltiGen Authorized Partners

Chapter 02. Diagnostics & Troubleshooting

Voice over IP Basics for IT Technicians

PCoIP Infrastructure Deployment Guide. TER Issue 1

Welcome. Unleash Your Phone

Avaya IP Office SIP Trunk Configuration Guide

Business VoIP Solution Training 04/2009

PCBest Networks VOIP Recorder

Application Notes for BT Wholesale/HIPCOM SIP Trunk Service and Avaya IP Office 8.0 Issue 1.0

For additional information, refer to the user guide of Yealink SIP-T2xP IP phones or contact Yealink FAE (Field Application Engineer).

PC/POLL SYSTEMS Version 7 Polling SPS2000 Cash Register TCP/IP Communications

Thank you for purchasing a Panasonic Pure IP-PBX. Please read this manual carefully before using this product and save this manual for future use.

MyIC setup and configuration (with sample configuration for Alcatel Lucent test environment)

Peer-to-Peer SIP Mode with FXS and FXO Gateways

PSTN Survivability - Sentinel in the LAN with PBX Registering to Sentinel. Dgw v Revision 01 April 30,

IPNext 50 NGN IP-PBX High-performance Next Generation IP-PBX Solution

Smoking and any food or drinks are not permitted in the Applications Lab!

Firewall VPN Router. Quick Installation Guide M73-APO09-380

DLink-655 Router Configuration Guide for VoIP

Basic Network Configuration

Configuring a Mediatrix 500 / 600 Enterprise SIP Trunk SBC June 28, 2011

KX-UT113/KX-UT123 KX-UT133/KX-UT136 KX-UT248

BioStar Config Guide V1.0

IP Telephony. User Guide. System SPA9000. Model No. Voice

PREDICTIVE DIALER AND REMOTE AGENT SETUP GUIDE

Application Notes for Configuring Yealink T-22 SIP Phones to interoperate with Avaya IP Office - Issue 1.0

L1-31B February NetVanta 7100 Administrator s Guide

MAX T1/E1. Quick Start Guide. VoIP Gateway. Version 1.0

Analog IP Gateway GXW410x Quick Installation Guide SW version

Technical Configuration Notes

Setup Reference Guide for KX-NS1000 to SBC SIP Trunking

IPPBX FAQ. For Firmware Version: V2.0/V

Application Notes for Configuring Intelepeer SIP Trunking with Avaya IP Office Issue 1.0

AudioCodes. MP-20x Telephone Adapter. Frequently Asked Questions (FAQs)

OfficeMaster Gate (Virtual) Enterprise Session Border Controller for Microsoft Lync Server. Quick Start Guide

UIP1868P User Interface Guide

Setup Reference Guide for KX-TDE/NCP to SBC SIP Trunking

Kapanga The Media over IP Softphone. Quick Start Manual April 2005

4. H.323 Components. VOIP, Version 1.6e T.O.P. BusinessInteractive GmbH Page 1 of 19

Getting Started KX-TDA5480

TALKSWITCH VOIP NETWORK TROUBLESHOOTING GUIDE

ZULTYS. Optimum Business Trunking and the Zultys MX250 IP PBX Configuration Guide

How To Configure A Kiwi Ip Address On A Gbk (Networking) To Be A Static Ip Address (Network) On A Ip Address From A Ipad (Netware) On An Ipad Or Ipad 2 (

SIP Trunking using Optimum Business Sip Trunk Adaptor and the Zultys MX250 IP PBX

X Series Application Note 43:

Setup Reference guide

How To Program A Talkswitch Phone On A Cell Phone On An Ip Phone On Your Ip Phone (For A Sim Sim) On A Pc Or Ip Phone For A Sim Phone On Iphone Or Ipro (For An Ipro) On

Abstract. Avaya Solution & Interoperability Test Lab

NEFSIS DEDICATED SERVER

Transcription:

Troubleshooting Tools to Diagnose or Report a Problem February 23, 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 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. Page 5 of 13

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