How can I acquire traces from PBX?

Follow steps below to acquire traces from PBX:

  1. SSH to PBX (covered in topic ‘How can I ssh to PBX?’)
  2. Change active directory to /var/spool/asterisk/tmp (command ‘cd /var/spool/asterisk/tmp’)
  3. Run command tcpdump to acquire traces: tcpdump -i eth0 -s 0 -n port 5060 -w traces.pcapng
  4. Replicate scenario when the issue occurs
  5. Stop the traces by pressing ‘CTRL+C’
  6. Copy ‘traces.pcapng’ to your computer (winscp if you are running Windows on your PC)
  7. Send file as attachment within ticket or upload it to google drive/dropbox and send link.