vomit(1)

NAME
vomit - converts an IP phone conversation into a wave filee

SYNOPSIS
vomit [-h] -r file [filter]

DESCRIPTION
The vomit utility converts a G.711 conversation into a wave file that can be played with ordinary sound players. G.711 is used by Cisco IP Phones and Microsoft Netmeeting. The conversation is played from a tcpdump(8) output file.

The options are as follows:

-h  Displays a short help for the command line options

-r file
    Instead of reading packets from the network, the packets are read from a tcpdump(8) dump file.

filter
    A valid pcap(3) filter that determines which packets contain a phone conversation.

Vomit uses libevent to simplify asynchronous event handling. You can find the source code for that library at

        http://www.monkey.org/~provos/libevent/

EXAMPLES

    vomit -r phone.dump | waveplay -S 8000 -B 16 -C 1

Plays back the phone conversation that has been captured in the dump file phone.dump.

ERRORS
vomit works only for protocols that use G.711.

ACKNOWLEDGMENTS
This program contains wave file interpreting code from waveplay by Y.Sonoda, ulaw conversion code from Sun Microsystems and some pcap code from Dug Song. It also contains contributions by Marius A. Eriksen.

AUTHORS
The vomit utility has been developed by Niels Provos.