3CX Linux Command Line Tshark / Wireshark

3CX Linux Command Line Tshark / Wireshark

*** How to capture using tShark
1) Log into your Linux machine through SSH as root.
2) Install tshark we using the following command: apt-get update && apt-get upgrade -y && apt-get install tshark -y
3) To start capturing use the following command: mkdir -p /home/3cx/3cx_captures && chmod 777 /home/3cx/3cx_captures && tshark -i any -b filesize:20480 -w /home/3cx/3cx_captures/3cx.pcap
4) Wait until the issue occurs.
5) To stop the capture you will now need to press Ctrl + C.
6) Log into your Linux machine using an FTP client (e.g. FileZilla, WinSCP).
7) All the capture files will be located /home/3cx/3cx_captures/ . Download all files onto your PC and zip them into one file. 
    • Related Articles

    • 3CX Update 16.3 to 16.4 Fix For Upgraded Jesse to Stretch Linux Debian Instances

      sudo -s rm /etc/apt/sources.list.d/backports.list curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - apt update
    • Upgrade Raspberry Pi to Latest Firmware

      How do you update your Raspberry Pi to get the latest firmware? Can’t wait to get the latest firmware for your Raspberry Pi but do not know how? Here are the instructions: Step 1: Verify Connectivity Ensure that your Raspberry Pi 4 has internet ...
    • Force 3CX In or Out of Office

      This dial code (which is unspecified by default for security purposes) is a code that when used, will set the entire PBX to either: In office hours Out of Office hours Back to auto switching based on time This code is designed for emergency services ...