Author Topic: MBG Packet trace MiNet Calls  (Read 6020 times)

Offline donlou

  • New Member
  • *
  • Posts: 4
  • Country: gb
  • Karma: +0/-0
    • View Profile
MBG Packet trace MiNet Calls
« on: October 16, 2015, 04:27:28 PM »
Hello,

Does anyone know what needs to be done in the PBX/MBG to be able to capture MiNet calls?
I am able to capture SIP calls in MBG using Packet trace option under "Diagnostics" but not MiNet calls?
Please advise.

Thanks


Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #1 on: October 16, 2015, 05:00:44 PM »
You can do a TCPDUMP at the linux command prompt.

Ralph

Offline donlou

  • New Member
  • *
  • Posts: 4
  • Country: gb
  • Karma: +0/-0
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #2 on: October 16, 2015, 06:36:54 PM »
Hi Ralph,

What is the full command for MiNet capture using TCPDUMP command in linux?
And how do you start/stop the capture?

Offline dilkie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 344
  • Karma: +11/-0
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #3 on: October 16, 2015, 06:51:48 PM »
what version? later version of MBG have a "running" capture that will capture sip and, recently, minet.

Though I am curious why you want to actually capture minet, the tug logs show plenty of minet information.

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #4 on: October 17, 2015, 08:29:59 AM »
Here's the commands I'm familiar with:

tcpdump -i any -n -s0 -w wcs.cap udp
tcpdump -i any -n -s0 -C 20 -W 3 -Z root -w mitel.cap  (Limits size of dump)

Ralph

Offline donlou

  • New Member
  • *
  • Posts: 4
  • Country: gb
  • Karma: +0/-0
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #5 on: October 17, 2015, 09:10:52 AM »
I assume once those commands are entered, it will start capturing.
How do you stop the capture??

Thanks

Offline donlou

  • New Member
  • *
  • Posts: 4
  • Country: gb
  • Karma: +0/-0
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #6 on: October 17, 2015, 09:12:10 AM »
what version? later version of MBG have a "running" capture that will capture sip and, recently, minet.

Though I am curious why you want to actually capture minet, the tug logs show plenty of minet information.

I am trying to troubleshoot no audio issue on both ends.

Offline boycey9

  • Full Member
  • ***
  • Posts: 182
  • Karma: +4/-0
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #7 on: October 18, 2015, 03:55:26 PM »
Plug a pc in the back of the phone and turn on the port mirror function this will give you enough to diagnose audio issues, Minet packets will go to the controller and will not be in readable form anyway

Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4100
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Re: MBG Packet trace MiNet Calls
« Reply #8 on: October 19, 2015, 02:51:14 AM »
FYI... You can make the MiNet packets readable, although they might not make the most sense to a lay-person, go in the MCD System Options and turn of Audio Encryption (or something like that, do not have access to a system atm).

Offline sarond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1404
  • Country: au
  • Karma: +73/-0
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #9 on: October 19, 2015, 03:00:38 AM »
Even after disabling encryption you need to decode as RTP I believe.

Offline boycey9

  • Full Member
  • ***
  • Posts: 182
  • Karma: +4/-0
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #10 on: October 19, 2015, 08:14:03 AM »
Turning off Voice Encryption will only allow you to replay the voice stream it wont allow you to view Minet packets as these are proprietary, The only way to do this is to use the minet dissector if you can get hold of it, However there should be no need for this to diagnose voice streams.
Decoding the Minet will give you call control info like Call Put on Hold etc.

Offline answerthephone

  • Contributer
  • *
  • Posts: 6
  • Country: gb
  • Karma: +0/-0
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #11 on: November 03, 2015, 12:13:57 PM »
Just adding this for future reference.

At the prompt type   > tcpdump -s0 -i any -w  capturefile.pcap

To stop the trace type CTRL-C

The file 'capturefile.pcap' will now exist in the root directory

Fire up WinSCP and log into the MBG.  WinSCP provides a file explorer type interface which you can use to get into the root directory and find the capturefile.  Drag and drop it into your harddisk.

The file can now be opened in wireshark for analysis.

Offline martyn

  • Hero Member
  • *****
  • Posts: 688
  • Country: au
  • Karma: +10/-0
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #12 on: November 03, 2015, 06:20:28 PM »
Just adding this for future reference.

At the prompt type   > tcpdump -s0 -i any -w  capturefile.pcap

To stop the trace type CTRL-C

A  couple of things to consider when doing the tcpdump is that the folder that you are writing the dump to has write access. There are quite a few folders on MSL that don't have write access. I usually do the dumps to /tmp as that is a safe bet.
As Ralph previously mentioned in his post about limiting the size of the file, if you need to have the logs running for a while, say a couple of days to capture a problem, then rotating the files through when they reach a limit is handy as then you don't need to trawl through an excessively large file to find what you are after, and if you need to email it, or transfer it over the net back to the office, etc, then the files zip down pretty well. I usually set a 20MB rotation, and then that zips down to a few meg to transfer.
Using the -C xxx as a switch sets the file size to rotate through. So "-C 20" would set a 20MB file rotation

Likewise, if you know you only want to capture SIP traffic, then you can also specify the port so that the capture only contains the information you need. This saves capturing other traffic like HTTP/S or SSH, etc that isn't relevant to what you are looking for, and only serves to increase the amount of garbage in the capture. If you specify "port 5060" then the tcpdump will only capture SIP traffic on port 5060.

Online ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: MBG Packet trace MiNet Calls
« Reply #13 on: November 04, 2015, 08:14:39 AM »
Thanks Martyn.
Very useful.

Ralph


 

Sitemap 1 2 3 4 5 6 7 8 9 10