Author Topic: SIP trace command that captures voice packets  (Read 4361 times)

Offline mszodiac

  • Sr. Member
  • ****
  • Posts: 232
  • Country: ca
  • Karma: +7/-0
    • View Profile
SIP trace command that captures voice packets
« on: October 03, 2016, 09:30:00 AM »
Hi Everyone.  Does anyone know of a SIP trace command that also captures voice packets? I've used the SIP TCPDUMP ON/OFF command but as mentioned on one of the old threads, this command does not capture voice packets.


Offline sarond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1404
  • Country: au
  • Karma: +73/-0
    • View Profile
Re: SIP trace command that captures voice packets
« Reply #1 on: October 03, 2016, 10:13:30 AM »
I don't believe you will be able to capture the RTP stream using the system.

You will need to mirror a port to capture the audio packets.

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: SIP trace command that captures voice packets
« Reply #2 on: October 03, 2016, 12:48:35 PM »
sarond is correct.
It only captures control packets.
The command is SIP TCPDUMP <on/Off>

Ralph

Offline petr.necas

  • Sr. Member
  • ****
  • Posts: 393
  • Country: cz
  • Karma: +8/-0
    • View Profile
Re: SIP trace command that captures voice packets
« Reply #3 on: October 26, 2016, 10:48:00 AM »
If you have MBG that is connected to SIP trunk you can capture RTP stream and SIP signaling using:

[root@mbg ~]# tcpdump -i eth0 -B 1600 -w capture.pcap -v

You have to log in via ssh as root. Then download the file via SFTP from ssh://root:@mbg:22/root/capture.pcap

Offline martyn

  • Hero Member
  • *****
  • Posts: 688
  • Country: au
  • Karma: +10/-0
    • View Profile
Re: SIP trace command that captures voice packets
« Reply #4 on: November 01, 2016, 05:47:06 PM »
The RTP does not flow through a controller, and only flows around (this can't be changed).

Like it has been mentioned, if you invoke a MBG SIP proxy then you will be able to capture signalling and RTP from that interface.


 

Sitemap 1 2 3 4 5 6 7 8 9 10