To run a packet capture on the pi you need to do it manually, we usually recommend tshark but you can of course use another linux tool for packet captures if you prefer.
To clarify a few things regarding logs and packet captures:
PBX
• Enabling Verbose Logging for the PBX is done via "Dashboard >> Activity Log >> Settings". This will enable verbose logging for the PBX's logs only. Does not affect packet captures.
• To run a packet capture on the PBX you have to go to "Dashboard >> Activity Log >> click on 'Capture'". If you want to capture SBC traffic too you will have to select all interfaces, as the SBC traffic is encapsulated in the 3CX tunnel and therefore can only be seen on the loopback interface. IF the PBX is running on a windows machine you have to install wireshark and make sure that the npcap driver is also installed to allow packet captures on the loopback interface.
SBC
• To enable verbose logging on the SBC you will have to navigate to "SIP Trunks >> Edit the SBC >> Settings >> Change Logging Level to Verbose and save(OK)". Go back to SIP Trunks, selectthe SBC and click on "Push Config" above. This should take care of the SBC's logs verbosity but has nothing to do with the packet capture.
• To run a packet capture on the SBC you will have to manually connect to the SBC (SSH, etc) and use a tool such as tshark to start , stop, save the packet capture. This cannot be managed via the 3CX Management Console.