Sniff and record VoIP calls with VoIPong

VoIPong is a VoIP network sniffer that allows you to capture and record any VoIP call that crosses your network. From the VoIPong home page:
VoIPong is a utility which detects all Voice Over IP calls on a pipeline, and for those which are G711 encoded, dumps actual conversation to seperate wave files. It supports SIP, H323, Cisco's Skinny Client Protocol, RTP and RTCP.
There's a server daemon that sets your network adapter to promiscuous mode and watches for VoIP calls. Calls are automatically logged and the G.711 encoded conversations will be named by date and dumped in wav format to an output directory (sox is required to make this work). There's also a handy monitoring tool that will allow you to see what conversations are currently being monitored.
I tried it out this evening and it really works, recording both ends of the conversation to a WAV file. This could be a really handy tool for recording podcasts from a VoIP client that doesn't have a recording feature (Netmeeting, for example). You'll probably need to tweak mic levels on both ends, or one end of the conversation will sound louder than the other.
OS X Users: I was able to get VoIPong compiled for OS X by using the included Makefile.bsd. There is a compilation error at the end, however, due to gcc in OS X not supporting the -shared option. You can get around this by compiling and linking the two .so files manually:
Compiling the shared libs in OS X
# cc -fPIC -g -Wall -Iinclude -c modvocoder_pcma.c
# libtool -lc -dynamic -o modvocoder_pcma.so modvocoder_pcma.o
# cc -fPIC -g -Wall -Iinclude -c modvocoder_pcmu.c
# libtool -lc -dynamic -o modvocoder_pcmu.so modvocoder_pcmu.o
Give it a shot, and if you have any other cool ideas for how this could be used, let us know in the comments!
VoIPong: Voice over IP sniffer and call detector - Link
Posted by Jason Striegel |
May 28, 2007 09:53 PM
VoIP |
Permalink
| Comments (1)
Recent Entries
- Minty soldering jig
- Selecting row number in MySQL
- iPhone 3G software unlock
- Python on Android
- Controlling Sony camcorders with the Arduino
- Gradient text effect in CSS
- Retro gaming emulators that include (legal) ROMs?
- Das DereLicht - ham radio transmitter from a CFL bulb
- Using Google App Engine as a personal CDN
- Route-me - Open Source mapping library for iPhone
Comments
Newest comments listed first.
| Posted by: on December 10, 2007 at 12:55 PM |
This is a great hack for so many reasons, namely that it is FREE (not to mention useful). I have looked into nearly every OS X solution for capturing VoIP audio packets, and I haven't been impressed by any of them (especially Arcosoft's VONaLink products - they are the most poor looking applications I have ever encountered on a Mac!). However, I have a slight problem:
I am running 10.5.1, and have already installed sox without a hitch. As expected, I encountered a compilation error. However, I am a novice at command line compiling, and I am unsure exactly what you mean by:
You can get around this by compiling and linking the two .so files manually:
Compiling the shared libs in OS X
# cc -fPIC -g -Wall -Iinclude -c modvocoder_pcma.c
# libtool -lc -dynamic -o modvocoder_pcma.so modvocoder_pcma.o
# cc -fPIC -g -Wall -Iinclude -c modvocoder_pcmu.c
# libtool -lc -dynamic -o modvocoder_pcmu.so modvocoder_pcmu.o
Any assistance would be greatly appreciated. Thanks in advance.
Bloggers
Welcome to the Hacks Blog!
Categories
- Ajax
- Amazon
- Android
- AppleTV
- arduino
- Astronomy
- Baseball
- BlackBerry
- Blogging
- Body
- Cars
- Cryptography
- Data
- Design
- Education
- Electronics
- Energy
- Events
- Excel
- Excerpts
- Firefox
- Flash
- Flickr
- Flying Things
- Food
- Gaming
- Gmail
- Google Earth
- Google Maps
- Government
- Greasemonkey
- Hacks Series
- Hackszine Podcast
- Halo
- Hardware
- Home
- Home Theater
- iPhone
- iPod
- IRC
- iTunes
- Java
- Kindle
- Knoppix
- Language
- LEGO
- Life
- Lifehacker
- Linux
- Linux Desktop
- Linux Multimedia
- Linux Server
- Mac
- Mapping
- Math
- Microsoft Office
- Mind
- Mind Performance
- Mobile Phones
- Music
- MySpace
- MySQL
- NetFlix
- Network Security
- olpc
- Online Investing
- OpenOffice
- Outdoor
- Parenting
- PCs
- PDAs
- Perl
- Philosophy
- Photography
- PHP
- Pleo
- Podcast
- Podcasting
- Productivity
- PSP
- Retro Computing
- Retro Gaming
- Science
- Screencasts
- Security
- Shopping
- Skype
- Smart Home
- Software Engineering
- Sports
- SQL
- Statistics
- Survival
- TiVo
- Transportation
- Travel
- Ubuntu
- User Interface
- Video
- Virtualization
- Visual Studio
- VoIP
- Web
- Web Site Measurement
- Windows
- Windows Server
- Wireless
- Word
- World
- Xbox
- Yahoo!
- YouTube
Archives
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
Recent Posts
- Minty soldering jig
- Selecting row number in MySQL
- iPhone 3G software unlock
- Python on Android
- Controlling Sony camcorders with the Arduino
- Gradient text effect in CSS
- Retro gaming emulators that include (legal) ROMs?
- Das DereLicht - ham radio transmitter from a CFL bulb
- Using Google App Engine as a personal CDN
- Route-me - Open Source mapping library for iPhone
www.flickr.com
|






Leave a comment