background image

Debugging and troubleshooting of Media Gateways

Debugging and troubleshooting of Media Gateways

Page 1 of 14

Jun 10, 2020 22:20

Debugging and troubleshooting of Media Gateways

Introduction

Troubleshooting of BRI Gateways in case of provisioning or network issues

Troubleshooting of BRI/ PRI Gateways in case of call issues

Resolving issues with ISDN operator’s line connection

Resolving issues with PBX legacy/other devices connection

Debugging of BRI/ PRI Gateways using PCM trace

Step 1. Connect to BRI/ PRI Media Gateway

Step 2. Enable pcap trace on PBX

Step 3. Convert a pcap file using Wireshark packet analyzer 

Step 4. Open a PCM file using Audacity program

Debugging of BRI/ PRI Gateways using PCAP trace

Debugging of ISDN Gateways using Syslog 

Debugging of W04FXO Gateways

Troubleshooting of W01/ W02 FXS 2014

Introduction

This Guide provides information about various ways of solving Media Gateways issues and analyzes the most 

typical problems with the help of examples.

Consult the Guide in case you have provisioning, network and call issues. 

Some useful links

Refer to these Quick Installation Guides for reminding how to connect and configure Media Gateways:

W02/04BRI

W01/02PRI

W01/02/04FXS

W24FXS 2015

W04FXO

SIP Trunk Settings Guide describes trunk settings and can be helpful in configuring various parameters of Media 

Gateways

This Admin Guide describes how to debug and troubleshoot various issues with Wildix Media Gateways.

Created: April 2018

Updated: August 2019

Permalink: 

https://confluence.wildix.com/x/ygBuAQ

Summary of Contents for BRI Series

Page 1: ...ebugging of BRI PRI Gateways using PCAP trace Debugging of ISDN Gateways using Syslog Debugging of W04FXO Gateways Troubleshooting of W01 W02 FXS 2014 Introduction This Guide provides information about various ways of solving Media Gateways issues and analyzes the most typical problems with the help of examples Consult the Guide in case you have provisioning network and call issues Some useful lin...

Page 2: ...eway appears not to work correctly the ports are not functional the signal lights blink in a strange way Reason Provisioning network or functioning of BRI devices is not correct Solution The Reset procedure of the Gateway Reset operation resolves some problems related to the Gateway strange blinking of LEDs connectivity problems and some problems related to LAN connection access to the configurati...

Page 3: ...ated to this user 1 Dialplan procedure 1 provisioned BRI device which was previously reset and upgraded to the latest version of firmware 1 network cable to connect the ports involved in the test The test The test consists of a call with two ports involved one used as outgoing another one as incoming The PBX plays the audio file in loop to keep the call running and give the possibility to test the...

Page 4: ...a user or use an existing one to perform the test In this example the user test2 with the extension number 103 is used Connect the Gateway to the Wildix test PBX and make the provisioning refer to the if online Guide needed connect the needed ports using the network cable RJ45 Create a dialplan procedure to perform the test of the ports ...

Page 5: ... is generated it s possible to check all the eventual lines interruptions and the conversation quality taking the necessary time to perform the test Once the procedure is entered into the Dialplan it should be associated to the user Go to WMS select BRI device and click to configure Set up TE as one port NT as the Trunks Edit second port by choice and associate Dialplan procedure with both of them...

Page 6: ...ails to make receive calls Reason Connection of BRI PRI Gateway to the ISDN operator s line or to the PBX Legacy other devices should be checked Solution Access PRI BRI Gateway web interface Go to menu Now you can see the list of all the ISDN interfaces and the state of the physical link ISDN Up indicates that the service works correctly while Down indicates the problem on the line and or in the G...

Page 7: ...WMS under the configuration menu Clock Use provided clock Trunks of BRI PRI trunk Request an operator to check the line s state Resolving issues with PBX legacy other devices connection Issue 2 1 The physical link is not active How to solve Check substitute the wiring Check the mode in which the ISDN interface of the PBX Legacy operates If it operates in TE mode with the Wildix PRI Gateway should ...

Page 8: ...roblems both with incoming and outgoing calls How to solve Make sure that the gateway ports are set up in TE mode Connect Cisco device to the Media Gateway ports using the crossover cables Debugging of BRI PRI Gateways using PCM trace PCM traces record all analog signals sent or received on the side of the Wildix media gateway The data will be sent once a call is being established or is in progres...

Page 9: ...aunch the following commands Mipt PcmCaptureEnable Enable Mipt PcmCaptureEndpoint BRI PRI port channel Mipt PcmCaptureIpAddr PBX IP Where BRI PRI port channel is BRI PRI port and channel from which the PCM trace will be taken For example BRI1 1 is BRI port 1 channel 1 PBX IP is the IP address of your PBX where the PCM traffic will be sent Step 2 Enable pcap trace on PBX Go to WMS Settings Tools an...

Page 10: ...ate a file Start When the file is generated click Stop Click on the file to download it Step 3 Convert a pcap file using Wireshark packet analyzer To convert a pcap file to a PCM file au format use Wireshark Select UDP packet Analyze Decode as RTP After the decoding is completed go to Telephony RTP RTP Analysis Select Save Payload As Name the file and select a folder to save it Choose and or Forma...

Page 11: ...work or any other analog and voice quality issues Debugging of BRI PRI Gateways using PCAP trace Access the Gateway s web interface System Packet Capture Fill in the following fields URL file test pcap where file is the path to save a file test pcap its name Link Name eth1 To start the trace click the status is changed to Requested Apply Start Capture Make a call After completing it click the stat...

Page 12: ...mote Syslog Guide ISDN Gateways Connect to the Gateway via SSH on Windows you can use putty or other SSH clients using the same credentials you used for access to web interface Use the string to begin the session logs on To finish the session use the string logs off Make a test call The logs help you to understand eventual issues here is what happens when a user places an outgoing call to a trunk ...

Page 13: ...reasons https en wikipedia org wiki ISDN_User_Part Cause_codes Debugging of W04FXO Gateways To debug W04FXO device access the Gateway on its IP address e g 192 168 1 16 via telnet protocol Use the command line on Windows or Terminal on Unix and other systems to enter the Gateway telnet IP e g 192 168 1 16 telnet DEVICE IP Where DEVICE IP is the IP adress of W04FXO Log in using your admin access cr...

Page 14: ...02FXS is used for SIP registration the first port from RTP range In some scenarios for example when iptables forwarding is not available port redirect doesn t work As a result W01 02 FXS can loss SIP registration Solution Disable the encryption for devices located behind NAT Firewall To implement you need to apply the following custom parameters to wildixfxs section of rw2 etc provisioning conf fi...

Reviews: