Why are the created .pcap files empty when logging AnyDevice/Softphone?

 
 

Problem

The analysis for the call setup for AnyDevice calls or when using softphones is required. Logging in the XPhone Connect Server web administration has been activated in the Logging -> Telephony Gateways area for the XCC and the corresponding SIP trunk.
Checking the log files has shown that the ".pcap" files are only displayed as one kilobyte file size. If these files are opened, no content is displayed.


Explanation

When using the NPcap analysis tool, all network interfaces of the server (including internal interfaces) are used for selection. By default, the loopback interface with ID "0" and the first interface with ID "1" are always used for analysis. If the interface with the ID "1" is not an Ethernet interface with an active connection, no data is written for data protection reasons.
The trace interface must then be defined in the settings of the XCC SIP trunk.

Preparation

The current version of XPhone Connect Server must have been installed. At least version 6.0.183 is expected.
The NPcap must be installed on the XPhone Connect Server.

Checking the ID of the respective interface

In the XPhone Connect Server web administration, select the diagnosis of the corresponding SIP trunk. Search for the "TraceInterface" parameter and write down the value.
If the parameter cannot be found, please check the patches of the server via the Support Info Collector and install the missing patches if necessary.
Start Windows Powershell and change to the XPhone Connect Server installation path. If this is installed in the C: drive, the command to change the path is as follows:
cd '.\Program Files\C4B\XPhone Connect Server'""
Start the Windump program using the following call:
C:\Program Files\C4B\XPhone Connect Server> .\WinDump.exe -D
You then receive the output of the interface. The output can look as follows:

Powershell

This shows that the loopback interface uses the ID "1" and the network card has the ID "4".


Adaptation of the Trace Interface at the SIP Trunk

The trace interface on the XCC SIP trunk must be adapted to the ID of the network card found using the Windump tool.

In the "Advanced Settings" of the SIP Trunk, the parameter "TraceInterface" must be added with the corresponding value.

According to the example it would be the value "4", as you can see in the next screenshot.

XCC SIP-Trunk

Please note that a restart of the XCC SIP trunk is necessary due to the adaptation of the trace interface.


Verification

After the SIP trunk has been restarted, enable logging of the trunk and make a test call. Open the *.pcap files and check if they have any content.


Subscribe to our Newsletter

 
 
 
 
 
 
 

Thank you for subscribing. To confirm your subscription, please click the link in your registration email.

 
 

An error occured. Please try again.



Cookies ermöglichen eine bestmögliche Darstellung unserer Dienste. Mit der Nutzung der Seiten von C4B Com For Business, erklären Sie sich damit einverstanden, dass wir Cookies verwenden. mehr Infos