Technical Application Note

Similar documents
Configuration Note. MP-26x Debugging and Diagnostic Tools. MP-26x Series. Version and Later. AudioCodes CPE & Access Gateway Products

Configuration Note Restoring Factory Defaults

Configuration Note How to Backup and Restore SPS

Administrator and User Manual Hot Desking with SPS for Microsoft Lync

Configuration Note. Connecting MSBR to WAN through 3G Cellular Modem. Multi-Service Business Router (MSBR) Mediant 850 MSBR.

User's Guide. AudioCodes CLI Wizard Utility. Session Border Controllers (SBC) Multi-Service Business Routers (MSBR)

Installation Guide. Version 1.0. AudioCodes Applications License Server. December 2014 Document # LTRT-00876

Configuration Note Recover from Rescue Mode Procedure

Configuration Note Recovery from Rescue Mode Procedure

Mediant Software E-SBC. Session Border Controllers. Virtual Edition. Installation Manual. Version 6.6. October 2013 Document #: LTRT-10343

Configuration Note 3G Cellular Modem WAN Connection

400HD Series of High Definition IP Phones. Configuration Note. Call Recording on AudioCodes. 400HD Series IP Phones. Document #: LTRT-11360

Configuration Note How to Install SPS on the SBA

Configuration Note. RADIUS for Secure Device Access. Multi-Service Business Routers. Enterprise Session Border Controllers. VoIP Media Gateways

MP-11x, Mediant 1000 & Mediant Application Note

Configuration Note. SPS Best Practice Preventative Maintenance and Health Check Procedures. Version 1.0. SIP Phone Support (SPS) VoIP Media Gateways

Mediant 1000B Chassis. Physical Description

User's Guide Call Progress Tones Wizard (CPTWizard) Utility

SBC Deployment Guide Architecture Options and Configuration Examples

Configuration File Backup and Restore Procedure

Configuration Guide IP-to-IP Application

SBC Configuration Examples

Transport Layer Security (TLS) Configuration Note

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

Configuration Note Debug Recording Feature

Backup and Restore Procedure

SIP Phone Support. Release Notes. Version

SBC Configuration Examples for Mediant SBC

AudioCodes CPE & Access Gateway Products MP-20x Multimedia Home Gateway Quick Guide MediaPack 20x for BroadSoft s BroadCloud PacketSmart Monitoring

Configuration Note. Enhanced Gateway with Analog Devices for Microsoft Lync Server Microsoft Lync Server 2010.

Configuration Note Capturing Traffic on MSBR

Solution SPSS. Compatible. From Ver For. ays

Configuration Note Microsoft Lync Server 2013 & tipicall SIP Trunk using Mediant E-SBC

Performance Monitoring and Alarm Guide

IP Phone Manager Express

Microsoft Office 365 X-UM with IP PBXs using AudioCodes CloudBond X-UM Standard

Configuration Note Microsoft Lync Server 2013 & BluIP SIP Trunk using Mediant E-SBC

SmartTAP Call Recording Solution

SBA Management Interface for Skype for Business

Mediant Cloud Edition (CE)

VOCANOM Web Based Management Tool Administrator's Guide

Configuring MediaPack 1288 Analog Gateway as Third-Party SIP Device (Advanced) in Cisco Unified Communications Manager Ver

IP Phone Manager Express

Mediant VE SBC. Session Border Controller. Virtual Edition. Installation Manual. Version 6.8. June 2015 Document #: LTRT-10352

AudioCodes Academy Course Catalog February 2013

Configuration Note. AireSpring SIP Trunk & Genesys Contact Center using AudioCodes Mediant SBC. Session Border Controllers (SBC)

User Management Pack 365

Release Notes. AudioCodes One Voice for Microsoft Skype for Business. Mediant SBA for Microsoft Skype for. Business. Version 7.2

CloudBond 365 Standard / Standard+ Box Editions

SIP Phone Support (SPS)

Configuration Note. Microsoft Lync Server 2013 & ITSP SIP Trunk using AudioCodes Mediant SBC. Interoperability Laboratory. Version 6.

Hardware Installation Manual

Quick Start Guide. AudioCodes One Voice for Microsoft Skype for Business. CloudBond 365. Pro / Enterprise Box Edition. Version 7.0

Installation Manual ARM. AudioCodes Routing Manager. Version 7.0

AudioCodes Routing Manager (ARM)

CloudBond 365 & User Management Pack 365

CloudBond 365 Pro / Enterprise Box Editions

Mediant CCE Appliances

SEM for AudioCodes Media Gateways and Servers. Session Experience Manager. User's Manual. Version 6.8

User's Manual. Version 5.6

Configuration Note Microsoft Lync Server 2013 & Windstream SIP Trunk using Mediant E-SBC

Configuration Note Microsoft Lync Server 2013 & Netia SIP Trunk using Mediant E-SBC

Hardware Installation Manual

Configuration Note. Microsoft Lync Server 2013 & NextGenTel SIP Trunk using Mediant E-SBC. Enterprise Session Border Controllers (E-SBC)

Spectrum Enterprise SIP Trunking Service AudioCodes Mediant Series IP PBX Configuration Guide

User's Manual MP-20x Telephone Adapter Version Document #: LTRT-50609

User's Manual. Version 5.8

Administrator's Manual

Performance Monitoring and Alarm Guide

Configuration Note. CAS Protocol Tables. Mediant Series Digital PSTN Gateways. Version 7.0

MediaPack TM Series. MP-11x & MP-124. Analog VoIP Gateways. Installation Manual. Version 6.6. April 2012 Document #: LTRT-59815

Mediant MSBR. Wireless Access Configuration. Configuration Guide. Version 6.8. Multi-Service Business Routers Product Series

AudioCodes Routing Manager (ARM)

CPE & Digital Access Gateways. MediaPack MP-40x. User s Manual. Version 2.2

AudioCodes Element Management System (EMS) and Session Experience Manager (SEM) Release Notes. Version 6.8

Mediant Appliances. Mediant 800 CCE & Mediant Server CCE. Microsoft Skype for Business Cloud Connector Edition (CCE) Version

Element Management System (EMS) Server Installation, Operation & Maintenance Manual

Configuration Note Microsoft Office 365 Exchange UM with IP PBXs using AudioCodes Mediant SBC

User's Guide. AudioCodes One Voice Operations Center. SBA ProConnect. Version 7.2

OAMP (EMS) Integration Guide

APPLICATION NOTE. Microsoft Unified Communications Network Architectures. Introduction

MP-20x Telephone Adapter Release Notes

One-Voice Resiliency. Branch Sites in Microsoft Lync Server or Skype for Business Environments. Version 7.0. Configuration Note

Mediant MSBR. Version 6.8. Security Setup. Configuration Guide. Version 6.8. Multi-Service Business Routers Product Series

Configuring AudioCodes Mediant 2000 in the Cisco PGW MGCP Version

Configuration Note. Multi-Service Business Routers Product Series. Mediant MSBR. Layer-2 Bridging. Version 7.2

Microsoft Skype for Business Server 2015 and Flowroute SIP Trunk using AudioCodes Mediant E-SBC

Installation, Operation and Maintenance Manual

Microsoft Skype for Business Server 2015 and ShoreTel UC System using AudioCodes Mediant E-SBC

AUDIOCODES DESIGN GUIDE BUSINESS CONNECTIVITY SOLUTIONS

Mediant Virtual Edition (VE) SBC

Connecting IP-PBX to BroadSoft's BroadCloud SIP Trunk using AudioCodes Mediant SBC

MP-11x Fast Track Installation Guide MGCP, H.323 & SIP. Version 4.6 Document #: LTRT-61504

Microsoft Lync Server 2013 and Twilio SIP Trunk using AudioCodes Mediant E-SBC

Application Note. AudioCodes One Voice for Microsoft 365. CloudBond 365. Partner Guidelines for Verifying Third-Party Applications

Hardware Installation Manual

CLI Reference Guide for Data Functionality

400HD Series of High Definition IP Phones. User s Manual. 420HD IP Phone with Microsoft Lync. Version 2.0.1

Element Management System (EMS) User s Manual

Microsoft Skype for Business Server 2015 and TELUS SIP Trunk using AudioCodes Mediant E-SBC

Transcription:

AudioCodes CPE & Access Gateway Products MP-20x Series MediaPack Series Telephone Adapters with Integrated Router Technical Application Note MP-20x Debugging and Diagnostic Tools Version 3.0.0

Technical Application Note Contents Table of Contents 1 Introduction... 7 2 Basic Logging and Debug Tools... 9 2.1 System Monitoring... 9 2.2 Log Level Option... 10 2.3 System and Security Logging... 11 2.4 Configuration File... 11 3 DSP Packet Recording... 13 3.1 Advanced DSP Packet Recording... 14 4 SIP Logs... 17 4.1 Configuration Examples... 18 Version 3.0.0 3 October 2009

MP-20x Series List of Figures Figure 2-1: System Monitoring Screen - Connections... 9 Figure 2-2: SIP Messages in the 'System Monitoring - System Log' Screen... 10 Figure 2-3: System and Security Logging... 11 Figure 3-1: Usage of the Packet Recording... 13 Figure 3-2: Wireshark Capture with Packet Recording... 14 Figure 3-3: Wireshark Capture with TDM Recording and Packet Recording... 15 Figure 4-1: Capturing the Syslog Packets in Wireshark... 18 Debugging and Diagnostic Tools 4 Document #: LTRT-58202

Technical Application Note Notices Notice This document describes the debugging and diagnostic tools for AudioCodes MP-20x Telephone Adapter. Information contained in this document is believed to be accurate and reliable at the time of printing. However, due to ongoing product improvements and revisions, AudioCodes cannot guarantee accuracy of printed material after the Date Published nor can it accept responsibility for errors or omissions. Before consulting this document, check the corresponding Release Notes regarding feature preconditions and/or specific support in this release. In cases where there are discrepancies between this document and the Release Notes, the information in the Release Notes supersedes that in this document. Updates to this document and other documents can be viewed by registered customers at http://www.audiocodes.com/support. Copyright 2009 AudioCodes Ltd. All rights reserved. This document is subject to change without notice. Date Published: October-08-2009 Tip: When viewing this manual on CD, Web site or on any other electronic copy, all cross-references are hyperlinked. Click on the page or section numbers (shown in blue) to reach the individual cross-referenced item directly. To return back to the point from where you accessed the crossreference, press the ALT and keys. Trademarks AudioCodes, AC, AudioCoded, Ardito, CTI2, CTI², CTI Squared, HD VoIP, InTouch, IPmedia, Mediant, MediaPack, NetCoder, Netrake, Nuera, Open Solutions Network, OSN, Stretto, TrunkPack, VoicePacketizer, VoIPerfect, VoIPerfectHD, What s Inside Matters, Your Gateway To VoIP and 3GX are trademarks or registered trademarks of AudioCodes Limited. All other products or trademarks are property of their respective owners. WEEE EU Directive Pursuant to the WEEE EU Directive, electronic and electrical waste must not be disposed of with unsorted waste. Please contact your local recycling authority for disposal of this product. Customer Support Customer technical support and service are provided by AudioCodes Distributors, Partners, and Resellers from whom the product was purchased. For Customer support for products purchased directly from AudioCodes, contact support@audiocodes.com. Abbreviations and Terminology Each abbreviation, unless widely used, is spelled out in full when first used, and only Industry standard terms are used throughout this manual. Version 3.0.0 5 October 2009

MP-20x Series Related Documentation Document # LTRT-505xx LTRT-506xx LTRT-504xx Manual Name MP-202 Telephone Adapter Release Notes MP-202 Telephone Adapter User's Manual MP-202 Telephone Adapter Quick Installation Guide Revision History Revision Date MP-20x Version Comments 1 30/06/08 2.6.1 First edition 2 07/10/09 3.0.0 Second edition Debugging and Diagnostic Tools 6 Document #: LTRT-58202

Technical Application Note 1. Introduction 1 Introduction The MP-20x (namely, the MP-202 FXS) has several debugging tools. This Technical Application Note describes these tools and their usage: Logging and debug tools DSP packet recording SIP logs Version 3.0.0 7 October 2009

MP-20x Series Reader s Notes Debugging and Diagnostic Tools 8 Document #: LTRT-58202

Technical Application Note 2. Basic Logging and Debug Tools 2 Basic Logging and Debug Tools 2.1 System Monitoring The 'System Monitoring - Connections' screen, displayed below, displays important system information such as: Key network device parameters Network traffic statistics System log Length of time that has transpired since the system was last reset or powered on Voice over IP Figure 2-1: System Monitoring Screen - Connections Please refer to the MP-20X Telephone Adapter User's Manual for additional information regarding this feature. Version 3.0.0 9 October 2009

MP-20x Series 2.2 Log Level Option When this parameter is enabled, SIP messages are visible in the 'System Log' screen. To activate the log level option: 1. Open a Telnet session to the MP-20x. 2. At the prompt, type the following command: voip_set_log_level 1 3. To view the SIP messages, click the System Monitoring menu, and then click the System Log tab. 4. To disable this feature, type the following command: voip_set_log_level 0 Figure 2-2: SIP Messages in the 'System Monitoring - System Log' Screen Debugging and Diagnostic Tools 10 Document #: LTRT-58202

Technical Application Note 2. Basic Logging and Debug Tools 2.3 System and Security Logging The System and Security Logging configuration remains the same as in previous versions (refer to the MP-202 Telephone Adapter User's Manual) and affects debug messages that are not related to the VoIP application. To activate the log level option: 1. In the left-side bar, click the Advanced icon, and then select the System Settings icon. 2. In the 'System Logging' and 'Security Logging' sections, choose the logging level. Figure 2-3: System and Security Logging To view the System and Security Logging, browse to 'System Monitoring' screen -> 'System Log'. 2.4 Configuration File The MP-20x allows you to view, save, and load its configuration file to backup and restore your current configuration. Please refer to the MP-20x Telephone Adapter User's Manual for additional information regarding this feature. Version 3.0.0 11 October 2009

MP-20x Series Reader s Notes Debugging and Diagnostic Tools 12 Document #: LTRT-58202

Technical Application Note 3. DSP Packet Recording 3 DSP Packet Recording The Packet Recording feature enables the recording of all packets transmitted and received by the MP-20x DSP. This feature is essential for efficient debugging. The recorded packets are transmitted to the host through the network port and can be captured using the Ethereal or Wireshark capturing tools. If you are requested to capture packet recording, please send the capture to AudioCodes for analysis. To activate the Packet Recording tool: 1. Open a Telnet session with the MP-20x. 2. Start the Ethereal or Wireshark applications located on your host PC. 3. Activate packet recording, by typing the following command: slic_dsp_cmd <Enter> dsp_cmd pr <ch_id> <start/stop> <host IP> <host IP> <host IP> <host IP> For example, to record the packets of Channel 0 (MP-20x, Line 1) and send it to host IP with the address of 10.16.2.4, type the following command: slic_dsp_cmd> dsp_cmd pr 0 1 10 16 2 4 Figure 3-1: Usage of the Packet Recording Version 3.0.0 13 October 2009

MP-20x Series You can identify the recorded packets by their protocol type (which is UDP) and their port number (which is 50000). Figure 3-2: Wireshark Capture with Packet Recording Note: The dsp_cmd pr command has additional functionality. Ensure that you run this command only once. 3.1 Advanced DSP Packet Recording The Packet Recording feature enables the recording of the TDM input or the network packets in G.711 format, regardless of the channel status and configuration. In addition, this feature enables you to record RTP packets that are being transmitted/received by the DSP. Similar to packet recording, the TDM, network and RTP recordings are transmitted to the host through the network port and can be captured using the Ethereal or Wireshark capturing tools. Note: The packet recording captures are still active when the TDM and or network packet recording are activated. Debugging and Diagnostic Tools 14 Document #: LTRT-58202

Technical Application Note 3. DSP Packet Recording To activate the TDM input recording: 1. If the packet recording tool is already activated, use the same command for packet recording (otherwise, skip to Step 2): slic_dsp_cmd> dsp_cmd pr 0 1 10 16 2 4 2. If the packet recording tool is not activated, perform the following: a. Perform steps 1 through 3 for packet recording in Section 3 on page 13. b. Run the dsp_cmd pr command again. Figure 3-3: Wireshark Capture with TDM Recording and Packet Recording To activate both TDM input and network recording: 1. If the packet recording tool is already activated, enter the packet recording command twice, as shown below (otherwise, skip to Step 2): slic_dsp_cmd> dsp_cmd pr 0 1 10 16 2 4 slic_dsp_cmd> dsp_cmd pr 0 1 10 16 2 4 2. If the packet recording tool is not activated, perform the following: a. Perform steps 1 through 3 for packet recording in Section 3 on page 13. b. Run the dsp_cmd pr command twice. Version 3.0.0 15 October 2009

MP-20x Series To activate RTP recording: 1. If the packet recording tool is already activated, use the same command three more times (otherwise, skip to Step 2): slic_dsp_cmd> dsp_cmd pr 0 1 10 16 2 4 slic_dsp_cmd> dsp_cmd pr 0 1 10 16 2 4 slic_dsp_cmd> dsp_cmd pr 0 1 10 16 2 4 2. If the packet recording tool is not activated, perform the following: a. Perform steps 1 through 3 for packet recording in Section 3 on page 13. b. Run the dsp_cmd pr command three times. Debugging and Diagnostic Tools 16 Document #: LTRT-58202

Technical Application Note 4. SIP Logs 4 SIP Logs The MP-20x enables you to capture VoIP-related debug messages (including SIP stack, call control, and VoIP application). The SIP logs are sent to the host through the network port and can be captured using the Ethereal, Wireshark, or Syslog server tools. The configuration is performed using Telnet. To activate the SIP logs: 1. Open a Telnet session with the MP-20x. 2. At the prompt, run the following commands: conf <Enter> set /voip/syslog/syslog_udp_terminal_flag [0-3] set /system/rv_log_filter [0-7] reconf 1 3. The default Syslog IP address is 192.168.2.2. The default port is 514. If you want to change the default Syslog address and port, run the following commands (before performing the reconf command): conf <Enter> set /voip/syslog/syslog_server_addr [Host IP address] set /voip/syslog/syslog_server_port [Host Port address] 4. Activate Wireshark capture or Syslog server to capture the SIP logs. 5. Reboot the MP-20x. Below are explanations regarding configuration options: /voip/syslog/syslog_udp_terminal_flag: defines the destination of the debug messages: 0: Logs are not sent at all (default) 1: Logs are sent to the Syslog server 2: Logs are sent to the RS-232 terminal 3: Logs are sent to both the RS-232 terminal and Syslog server /voip/syslog/syslog_server_addr: default server address is 192.168.2.2. /voip/syslog/syslog_server_port: default server port is 514. /system/rv_log_filter: controls the modules for printing. 0: None 1: MTF + USR (note that MTF already includes USR) 2: SIP 3: MTF, USR, and SIP 4: USR 5: MTF and USR == 1 6: SIP and USR 7: MTF, USR, and SIP == 3 Version 3.0.0 17 October 2009

MP-20x Series 4.1 Configuration Examples The following example configures the MP-20x for sending SIP logs (no filters all logs are open) to a Syslog server. Assume the following: The host IP address is 10.16.2.4. The host port is 514. To activate the SIP logs: 1. Run the following commands at the MP-20x terminal prompt: conf <Enter> set /voip/syslog/syslog_udp_terminal_flag 1 set /system/rv_log_filter 7 set /voip/syslog/syslog_server_addr 10.16.2.4 reconf 1 2. Activate the Wireshark application, and then reboot the MP-20x; the MP-20x sends the SIP logs via Syslog server to the Host PC (see Figure 4-1). Figure 4-1: Capturing the Syslog Packets in Wireshark Debugging and Diagnostic Tools 18 Document #: LTRT-58202

Technical Application Note 4. SIP Logs Reader s Notes Version 3.0.0 19 October 2009

AudioCodes CPE & Access Gateway Products MP-20x Series MediaPack Series Telephone Adapters with Integrated Router Technical Application Note MP-20x Debugging and Diagnostic Tools Version 3.0.0 www.audiocodes.com