Sangoma Hardware Transcoder Troubleshooting/Debugging

Similar documents
Connecting to the Internet. LAN Hardware Requirements. Computer Requirements. LAN Configuration Requirements

Reboot the ExtraHop System and Test Hardware with the Rescue USB Flash Drive

Sample Configuration Using the ip nat outside source static

Chapter 10 Troubleshooting

Chapter 7 Troubleshooting

Analog IP Gateway GXW410x Quick Installation Guide SW version

Configuring DHCP Snooping

1.0 Basic Principles of TCP/IP Network Communications

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

Load Testing 2U Rockbochs System

Troubleshooting the Firewall Services Module

Configuring Music on Hold on the NetVanta 7000 Series

Troubleshooting. Hardware. Troubleshooting

이 기기는 업무용 급 으로 전자파적합등록을 한 기기이오니 판매자 또는 사용자는 이점을 주의하시기 바라며 가정 외의 지역에서 사용하는 것을 목적으로 합니다

Troubleshooting the Firewall Services Module

Welcome. Unleash Your Phone

CLEARONE DOCUMENT (REVISION 1.0) October, with Converge Pro Units

Domain 5.0: Network Tools

Chapter 15: Advanced Networks

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Legal Disclaimers. For C-UL Listed applications, the unit shall be installed in accordance with Part 1 of the Canadian Electrical Code.

Mellanox Academy Online Training (E-learning)

ON HOLD ANNOUNCER. Once you receive your audio announcer, check the packaging to ensure that all of the following items are enclosed:

Configuring Your Computer and Network Adapters for Best Performance

Sample Configuration Using the ip nat outside source list C

NTP Receiver/Software Installation Guide

PCIe Gigabit Ethernet Card

Integration Guide. Zen Load Balancer Ubuntu/Microsoft Windows

L-Series LAN Provisioning Best Practices for Local Area Network Deployment. Introduction. L-Series Network Provisioning

Webinar Information. Title: Websense Remote Filtering Audio information: Dial-in numbers:

Common Application Guide

ProCurve Networking. Troubleshooting WLAN Connectivity. Technical White paper

Quick Start Guide. Cisco Small Business. 200E Series Advanced Smart Switches

Router Recovery with ROM Monitor

ReadyNAS Remote Troubleshooting Guide NETGEAR

MFC8890DW Vista Network Connection Repair Instructions

Chapter 7 Configuring Trunk Groups and Dynamic Link Aggregation

Network Diagnostic Tools. Jijesh Kalliyat Sr.Technical Account Manager, Red Hat 15th Nov 2014

FortiVoice. Version 7.00 User Guide

User Manual Network Interface

Internet Filtering Appliance. User s Guide VERSION 1.2

HL2170W Windows Network Connection Repair Instructions

Figure 1 - T1/E1 Internet Access

Troubleshooting Guide

1 DDW2600 (U10C037) Wireless Cable Modem: FAQ

Contents. ST9612 Model WIC Printer. Get the original printer s information. Edited 11/04/15

Quick Start Guide. Cisco Small Business. 300 Series Managed Switches

HighPoint RAID Management User s Guide

StarLeaf Cloud Troubleshooter

McAfee Optimized Virtual Environments - Antivirus for VDI. Installation Guide

Efficient Video Distribution Networks with.multicast: IGMP Querier and PIM-DM

Chapter 1 Installing the Gateway

Appendix D: Configuring Firewalls and Network Address Translation

Honeywell Internet Connection Module

Lab Organizing CCENT Objectives by OSI Layer

Tue Apr 19 11:03:19 PDT 2005 by Andrew Gristina thanks to Luca Deri and the ntop team

H0/H2/H4 -ECOM100 DHCP & HTML Configuration. H0/H2/H4--ECOM100 DHCP Disabling DHCP and Assigning a Static IP Address Using HTML Configuration

Region 10 Videoconference Network (R10VN)

Troubleshooting Procedures for Cisco TelePresence Video Communication Server

MDI FAQ. Version 8.1.0a Page 1 of 16

Load Balancing ContentKeeper With RadWare

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

Customer Contract. MX Columbia. December 8, s u p p o r t e l d i o. c o m. P h o n e : F a x :

Barracuda Link Balancer

beronet Technical Training

Configuring Static and Dynamic NAT Simultaneously

A200 Analog INSTALLATION MANUAL

FortiVoice. Version 7.00 VoIP Configuration Guide

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

Virtual Office. Network Tests. Revision x8, Inc O'Nel Drive San Jose, CA Phone: Fax:

GLS Support Guide Tips and Tricks

Network Client. Troubleshooting Guide FREQUENTLY ASKED QUESTIONS

BROADBAND INTERNET ROUTER USER S MANUAL. Version Page 1 of 13 -

Quick Start Guide. Cisco Small Business. 200 Series 8-Port Smart Switches

HDHomeRun Troubleshooting Guide ( )

LAB THREE STATIC ROUTING

Managed Appliance Installation Guide

VoIP Network Configuration Guide

HP StorageWorks 8Gb Simple SAN Connection Kit quick start instructions

Linksys Gateway SPA2100-SU Manual

Prestige 623R-T. Quick Start Guide. ADSL Dual-link Router. Version 3.40

How To Install Cisco Asr 9000 Series Router Software On A Mini Mini Mini (Cisco Ios) Router

Prestige 202H Plus. Quick Start Guide. ISDN Internet Access Router. Version /2004

Port Trunking. Contents

Welcome to the Adobe Connect Basic Troubleshooting Techniques training class.

Lab 2 - Basic Router Configuration

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

BR-800. ProHD Broadcaster. Easy Set-Up Guide V 1.01

TYLER JUNIOR COLLEGE School of Continuing Studies 1530 SSW Loop 323 Tyler, TX

Customer Network Assessment

NetVanta 7060/7100 Configuration Checklist

Amira License Manager

GreenEye Monitor Setup Guide V1.0 Brultech Research Inc.

Introduction to Network Security Lab 1 - Wireshark

CET442L Lab #2. IP Configuration and Network Traffic Analysis Lab

Asterisk SIP Trunk Settings - Vestalink

ACP ThinManager Tech Notes Troubleshooting Guide

Transcription:

Sangoma Hardware Transcoder Troubleshooting/Debugging The following document will help you troubleshoot possible issues with your Transcoder To begin troubleshooting please follow these steps in order: 1. Hardware Section -> Identify any hardware/network configuration issues -> Test the performance of your Hardware Transcoder with a hardware test 2. Asterisk users only 3. FreeSWITCH users only If you are having issues with your Sangoma Transcoder installation, please follow the steps below Please follow the Hardware Section first before proceeding to Asterisk/FreeSWITCH section Hardware Section 1. If using D100/D500 through PCI/PCIe interface a. Verify the transcoder interface (ethx) is detected by typing ifconfig If detected, you will see an output similar to the one below. The Mac address will always start with 02:19:23: b. If interface is not detected, you may need to install the Ethernet driver (tg3 for PCIe, micrel for PCI). -> cd INSTALL_DIR/server/eth_drivers ->./install.sh -> proceed with Ethernet driver install prompt c. Verify that the Ethernet interface has an IP address (as seen in Step 1a above) -> If you do not set an IP address for interface, you can experience the following symptoms: -> When trying to perform firmware upgrade:

-> When trying to configure the transcoder with sngtc_cfg server..

2. If using D150/D500 via LAN: a. D500 users: only connect one LAN connection, not both. Otherwise there will be network loop. Also, current software only allows you to use one sngtc_server for the entire card/modules. Only future software will allow to control individual modules onboard b. After plugging in LAN cable and power(d150 only), the Ethernet port on transcoder should light up green, if not, then verify physical cable to network, or make new cable. c. Make sure you plug in the transcoder to the SAME network as the sngtc_server. Only one sngtc_server is allowed per network and controls all transcoders on that network as one resource. If you have successfully verified the previous steps, please verify that you can probe your transcoder hardware by running: sngtc_tool -dev ethx list_modules (replace X in ethx with the interface of your transcoder) * Note: if using D150/D500 via LAN, use the interface of your LAN that communicates to the transcoder on the network. If the above step is successful you will see information on the transcoder module MAC address and license capacity. If this command fails please review the Hardware installation/network configuration. Hardware Test: Anytime you are having audio or functional issues your Sangoma transcoder, you must always first attempt the Transcoding Test application ( sngtc_client ) to verify the Sangoma Hardware is working properly (of course verify that sngtc_tool dev ethx list_modules is successful, otherwise this hardware test will also fail) If the Hardware test succeeds, then the issue is beyond hardware (i.e. Asterisk/FreeSWITCH configuration). Transcoder Test application and instructions can be found here: http://wiki.sangoma.com/transcode- Performance-Test-Application This application will basically perform hardware transcoding sessions with a sample file provided by you. All the output files are replica of each other and are in the format of the -outcodec codec provided. The amount of files will depend on how many session you run (-sessions ) You can open up any of the files in an audio analyzer to listen for audio issues Trick: If your resulting audio files are in a codec form that cannot be played in your audio analyzer, simply use one as an input for another run through the application, and select an outcodec that is audible (i.e. pcmu, pcma). If the audio is good, then you can confirm that the initial file was good. If you experience errors when running this test, the issue must be diagnosed at this level Error messages and debugging steps:

If you have any errors running the test first thing to make sure if that your firewall/ip tables are turned off, for troubleshooting purposes (i.e. /etc/init.d/iptables stop) 1. Symptom This means the application is unable to communicate with the Soap client (which is the hardware transcoder) Verify that the sngtc_server is running. Type sngtc_server_ctrl start If you have errors starting sngtc_server then make sure that you have configured your transcoder with sngtc_cft server.. If you receive this error message, please verify that your Ethernet interface is up, and has an ip address (ifconfig) 2. Symptom -> This means that the application was unable to create transcoding sessions for some reason -> verify that the Ethernet interface has an IP Address (ifconfig) -> Make sure that you are not trying to transcode more sessions than what the transcoder is licensed for. Run sngtc_tool dev EthX list_modules to verify your license information. Best practice is to try only 1 or 2 sessions (-sessions 2) to verify that the hardware is simply able to perform transcoding. -> If you are unable to perform at least 1 or 2 sessions of sngtc_client and verified no firewall/ IP routing issues, run a packet capture trace via the transcoder interface: -> For D150/D500 connected via LAN: -> tcpdump ni eth0 s 0 w trace.pcap (assuming Asterisk resides on Eth0) The above trace will take all traffic. Verify that you see packets from eth0 IP to the transcoder ip(ex. 10.1.1.150 for D150/D500 LAN) -> For D100/D500 connection via PCI interface: -> tcpdump ni ethx -s 0 w trace.pcap (where ethx is interface of transcoder, ie. 10.1.1.1) verify packets flowing to-and-from interface with transcoder module IP (ex. 10.1.1.150) -> send your results to sangoma technical support : support@sangoma.com

-> If you only receive the above errors only when you have reached a portion of your licenses sessions (i.e. 200 sessions when licensed for 400) then verify that your system is able to handle the load: -> run vmstat n 1 or top (then press 1 ) WHILE running the sngtc_client and verify that your CPU usage is not being overload -> if you notice your CPU being overloaded please contact Sangoma Technical Support at support@sangoma.com. This case would be experienced if you are running a D500 where each core of your CPU does not contain enough onboard cache (i.e. only 512kb and trying to run 2000 hardware sessions). Cat /proc/cpuinfo will give you the details of your system including the core CPU. -> Make sure that you are running the very latest Ethernet driver with the Transcoder -> refer to STEP 1. B -> type modinfo tg3 to verify the installed version of your tg3 driver (PCIe transcoder only Always reference /var/log/sngtc_server.log for any error messages while transcoding. If you notice any errors, please contact Sangoma Tech Support at support@sangoma.com Asterisk IF you have not gone through the Hardware Section steps, please go through those steps before attempting Asterisk steps 1. If you cannot start Asterisk after configuring the transcoder and you see this: simply edit /etc/asterisk/sangoma_codec.conf and add the following line: allownondahditiming=yes -> Then try to start asterisk again. 2. Amr doesn t load after adding it in /etc/asterisk/sangoma_codec.conf -> AMR is not supported in Asterisk. It is support using FreeSWITCH only -> you may also reference the supported codec page for more codec details: http://wiki.sangoma.com/codec-support-and-configuration-0#codec_support 3. If transcoding is not working at all, then verify that the codec modules have loaded properly: -> Asterisk CLI> sangoma show translators If the above does not output your codec translators, try reloading the codec modules in asterisk:

a-> Asterisk CLI> module unload codec_sangoma.so b-> Asterisk CLI> module load codec_sangoma.so Then you should see your translators reloading in asterisk -> Asterisk CLI> core show translation If your output shows 999999 for your codec translations, then that means your translators have not loaded properly (or not at all). i.e BAD Please verify that the sngtc_ server is running (sngtc_server_ctrl start) -> if issue still persists, then reconfigure your transcoder with sngtc_cfg server asterisk A healthy output of core show translation :

4. Do you hear static or bad audio during transcoding? -> in asterisk CLI: type core show translation and verify that none of the loaded sangoma codecs show 0. This would mean that there is an intermediate codec being used (one that is not part of the call. -> if 0, then edit sangoma_codec.conf and create a noregister for that particular codec. Then reload asterisk and test 5. You hear silence when trying to transcode a. Verify the codec module is loaded into asterisk -> Asterisk CLI: module load codec_module.so -> if the above command fails, verify that you have edited Sangoma_codec.conf properly with your codec. Consult: http://wiki.sangoma.com/codec-support-and- Configuration-0 b. In asterisk CLI type: core show translation -> if all the codecs loaded by transcoder module show 99999, this means that those codecs will not be used, that there is a problem -> try reloading the codec module in asterisk -> Asterisk CLI: module reload codec_sangoma.so. If you see something similar to: ERROR[12673]: codec_sangoma.c:1212 sangoma_new: Failed to create Sangoma transcoding session [Oct 30 16:54:07] WARNING[12673]: translate.c:381 calc_cost: Translator 'sngulawtog729' appears to be broken and will probably fail the sngtc_server is probably not running, proceed to next step: -> verify that the sngtc_server is running: sngtc_server_ctrl start -> if the above command fails to start the sngtc_server, the reason would be indicated in /var/log/sngtc_server.log. But simply try re-installing the software for quick resolve -> if sngtc_server was running, then there is another reason why the codec module is not talking to the sngtc_server properly. Try reconfiguring with sngtc_cfg server asterisk c. Run the following command in Asterisk CLI: -> Asterisk CLI: sangoma show transcoding sessions -> if you don t see any codecs being used, then the transcoder is not being used for transcoding.

-> try reloading the codec module in asterisk -> Asterisk CLI: module reload codec_sangoma.so -> if you see transcoding session, verify you see both encoding and decoding sessions occuring d. Verify that your firewall is not preventing packets from not being blocked, turn off firewall momentarily and re-test e. Take a packet trace on the line to see if packets from Asterisk are reaching the hardware transcoder and vice versa -> tcpdump ni eth0 s 0 w trace.pcap (assuming Asterisk resides on Eth0) The above trace will take all traffic. Verify that you see packets from eth0 IP to the Ethernet interface of the transcoder (d100/d500) or directly to the transcoder ip(ex. 10.1.1.150 for D150/D500 LAN). Also verify you see packets going from Ethernet interface (or transcoder) to asterisk IP address (eth0) For D100/D500 PCI interface: Take packet trace for traffic through Ethernet interface of transcoder (ie. 10.1.1.1) -> tcpdump ni ethx -s 0 w trace.pcap (where ethx is interface of transcoder) verify packets flowing to-and-from interface with transcoder module IP (ex. 10.1.1.150) -> send your results to sangoma technical support : support@sangoma.com FreeSWITCH 1. Silence during transcoding a. Verify that your codec of choice is loaded into FreeSWITCH -> CLI: reload mod_sangoma.so -> verify you see your codec of choice loaded from the CLI output after command -> if codec not loaded, then check syntax for codec in sangoma_codec.conf.xml against: http://wiki.sangoma.com/codec-support-and-configuration-0 b. Verify codec being used. Type the following in FreeSWITCH CLI while running transcoding calls: -> CLI: sangoma_codec sessions -> if you don t see any codecs being used, try re-loading FreeSWITCH c. Try verifying legs of the call for audio -> as soon as one leg of the call connects to FreeSWITCH, playback an audio file (or use the echo application) to verify there is two way audio. d. If there is no audio on one leg while playing back a file, or using the echo command, then your issue is here. e. Begin by taking packet capture traces on FreeSWITCH IP (i.e. Eth0), and the Transcoder inferface

f. Because FreeSWITCH can be configured in a variety of ways, troubleshooting FreeSWITCH transcoding should be assisted by Sangoma Technical Support. Reach a representative at support@sangoma.com