Mitel Forums - The Unofficial Source

Mitel Forums => Mitel MiVoice Business/MCD/3300 => Topic started by: mszodiac on October 03, 2016, 09:30:00 AM

Title: SIP trace command that captures voice packets
Post by: mszodiac 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.
Title: Re: SIP trace command that captures voice packets
Post by: sarond 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.
Title: Re: SIP trace command that captures voice packets
Post by: ralph on October 03, 2016, 12:48:35 PM
sarond is correct.
It only captures control packets.
The command is SIP TCPDUMP <on/Off>

Ralph
Title: Re: SIP trace command that captures voice packets
Post by: petr.necas 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
Title: Re: SIP trace command that captures voice packets
Post by: martyn 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.