Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Html
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

...

Html
 <div class="lang-box-pdf">
	<div>
		<div class="google-lang">
			<div id="google_translate_element">
			</div>
			<script type="text/javascript">
					function googleTranslateElementInit() {
						new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'de,es,fr,it,nl', autoDisplay: false}, 'google_translate_element');
						}
			</script>
			<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
		</div>
		
		<div class="pdf-button">
			<a href="https://confluence.wildix.com/spaces/flyingpdf/pdfpageexport.action?pageId=23986378" alt="Convert to .pdf" title="Convert to .pdf"><img src="https://confluence.wildix.com/download/attachments/14549012/pdf-button-download-wildix-documentation.png"></a>
		</div>
	</div>
</div>


Info

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

Created: April 2018

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

Table of Contents

Introduction

...

The following logical scheme demonstrates the procedure. In this case W02BRI is used (in case W01BRI is tested, you need another BRI device, to set up the second port):


To perform the test:

  • Create 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 online Guide if needed); connect the needed ports using the network cable RJ45:

...

Debugging of BRI/ PRI Gateways using PCM trace

PCM trace can help 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 progress. No data will be sent if the gateway if there are no calls in progress.

This debugging tool helps you to identify the following problems with echo :

  • Echo or noise in your network

...

  • Voice quality issues

...

  • Analog signals

Step 1. Connect to BRI/ PRI Media Gateway

  • Connect to BRI/ PRI via SSH using the following command:

Code Block
languagetext
ssh -l admin <DEVICE IP>

Where:
<DEVICE IP> is the IP adress of BRI/ PRI Media Gateway.


  • Launch  the following commands :

Code Block
languagetext
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 and utilities -> Generate trace
  • Enable "Custom tcpdump" option and enter the following string: 

Code Block
languagetext
-v -s0 -i any port "5001" or port "6001"

Where:

 "5001" (incoming) and "6001" (outgoing) are ports and channels to be specified.  For example:

  1. 5002, port 1 - channel 2

  2. 5003, port 2 - channel 1

  3. 5004, port 2 - channel 2 


Note

Note: Pcap trace can be enabled only for one particular channel.

  • Click Start to generate a file
  • 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 Format : .au and Channels : forward (or both)
  • Click OK to save the file

Step 4. Open a PCM file using Audacity program

After you converted a pcap file to a PCM one, you can open it using Audacity program.

With the help of Audacity, you can listen to each RTP stream that the PCM file contains and identify the reasons of echo or noise in your network or any other analog and voice quality issues.


Debugging of ISDN Gateways using Syslog 

...