Scroll export button | ||||||||
---|---|---|---|---|---|---|---|---|
|
Info |
---|
This Admin Guide describes how to debug and troubleshoot various issues with Wildix Media Gateways. Note that BRI/ PRI Media Gateways are EOL. Created: April 2018 Updated: May 2022 Permalink: https://wildix.atlassian.net/wiki/x/pw3OAQ |
Table of Contents |
---|
Introduction
...
Troubleshooting of W01/ W02 FXS 2014
Special behavior
Custom encryption is enabled on W01/ W02 FXS for SIP signaling (implemented in WMS version 3.82.32840.35). Starting from WMS version 3.85.35394.9, alternative SIP port for remote registration of W01FXS / W02FXS 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 file:
...
- The Gateway should be connected only to the power :
- Press the button signed as reset/default on the backside of the Gateway, using paperclip or the object of a similar shape:
- Hold the reset button. After a few moments the four LEDs of the display will start to blink. Only when all the four LEDs stop blinking, release the reset button and wait for the light of the LEDs to go out. Then unplug the power and retest the device.
...
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:
Create a dialplan procedure to perform the test of the ports:
The procedure, while calling the number 9999, occupies the line corresponding to the predetermined BRI port and calls the number 5555.
...
Once the procedure is entered into the Dialplan, it should be associated to the user:
- Go to WMS -> Trunks -> select BRI device and click Edit to configure. Set up TE as one port, NT as the second port (by choice) and associate "testbri" Dialplan procedure with both of them. Here, in the example, W01BRI is tested and another BRI device is used to set up the second port:
Here is what we have after ports configuration:
The setting is ready for the test procedure. Dial the number 9999 and check the work of the BRI device by listening to the sound file.
...
“Up” indicates that the service works correctly, while “Down” indicates the problem on the line and/ or in the Gateway configuration:
Resolving issues with ISDN operator’s line connection
...
- Check/ substitute the wiring
- Check that the following wiring scheme is used (“straight” wiring):
- In case of the wiring to the network terminal Selta with DB9 connector, the correct scheme of the wiring is the following one:
Issue 1.2. The signal is not active
...
- 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
...
"PBX IP" is the IP address of your PBX where the PCM traffic will be sent.
Step 2. Enable pcap trace on PBX
...
- 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
...
- 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
...
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 BRI/ PRI Gateways using PCAP trace
Note |
---|
PCAP tracing feature is available starting from BRI/ PRI firmware v. 43.1.1264. |
- 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 Apply & Start Capture -> the status is changed to "Requested"
- Make a call
- After completing it, click Apply & Stop Capture -> the status is changed to "Completed"
- Go to Management menu -> File -> click on the file to download it:
Open the trace with Wireshark program.
...
Check the field indicating the reason of the call disconnection, for example: “Cause: Normal call clearing (16)”. Check the codes of disconnection reasons: https://en.wikipedia.org/wiki/ISDN_User_Part#Cause_codes
...
...
Macrosuite divider macro | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Button macro | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|