PCAP To SIP and RTP

From CDYNE Wiki
Jump to: navigation, search

This program with full C# source code allows you to dump the calls captured in Tethereal, Ethereal, or Wireshark. You will have the sound files to play Incoming, Outgoing, and Combined audio. The program demonstrates the use of ULAW to Signed Linear functions and Signed Linear to ULAW.

Contents

Downloads

How to use this

  • Dump packets to a pcap file. (You can also use the graphical Ethereal or Wireshark-Preferred)
tshark -w myoutput.pcap
  • On a Windows box (or Linux with the MONO PROJECT installed) after the capture
pcaptosip_rtp myoutput.pcap
  • Listen to the Sound files in the folder made by pcaptosip_rtp

CDYNE's use

We use this to debug some of our Phone Notify service calls. We can call into a VOIP system and check how notify performs with answering machines and more.


Code Examples of Routines used in PCAP to SIP/RTP

Example 1 - ULAW and Signed Linear Conversion


Invalid language argument, "c#", select one from the list:
6502kickass
spark
lsl2
perl
m68k
oberon2
scilab
parigp
php-brief
gdb
genie
dcpu16
epc
objeck
pf
div
6502tasm
modula2
mmix
xbasic
csharp
powerbuilder
oorexx
dcs
whitespace
magiksf
hicest
urbi
ini
68000devpac
basic4gl
mpasm
oobas
gwbasic
llvm
falcon
make
intercal
c_mac
asymptote
fortran
clojure
sas
stonescript
pike
zxbasic
chaiscript
sparql
tsql
lolcode
pcre
go
autoit
coffeescript
diff
applescript
f1
javascript
verilog
progress
jquery
text
oz
actionscript3
nagios
erlang
modula3
ldif
oxygene
reg
klonec
rexx
e
xml
proftpd
boo
pixelbender
rails
pys60
idl
bibtex
ruby
smarty
latex
genero
icon
haskell
yaml
rsplus
fo
winbatch
robots
freebasic
teraterm
php
cobol
caddcl
cil
systemverilog
avisynth
awk
cpp-qt
freeswitch
java
prolog
upc
xorg_conf
objc
apt_sources
c
klonecpp
groovy
dot
whois
vala
pascal
actionscript
plsql
oracle11
c_loadrunner
mirc
cfm
bascomavr
email
kixtart
unicon
uscript
lscript
hq9plus
cfdg
octave
locobasic
autohotkey
glsl
asm
tcl
netrexx
pic16
rpmspec
pycon
fsharp
xpp
postgresql
matlab
vedit
java5
properties
providex
python
autoconf
css
lotusformulas
bf
ada
mysql
ocaml-brief
arm
q
sql
cuesheet
algol68
html5
purebasic
per
j
eiffel
scala
rebol
vhdl
dos
cadlisp
4cs
asp
io
pli
vbnet
typoscript
inno
vim
delphi
cpp
abap
sdlbasic
z80
gambas
6502acme
smalltalk
newlisp
gml
euphoria
haxe
logtalk
visualfoxpro
thinbasic
visualprolog
mxml
povray
cmake
html4strict
vb
gnuplot
bnf
bash
lisp
powershell
nsis
dcl
lb
perl6
scheme
lotusscript
lua
apache
oracle8
qbasic
parasail
blitzbasic
gettext
d
ocaml
mapbasic
ecmascript

Example 2 - Byte Array to Structure


Invalid language argument, "c#", select one from the list:
6502kickass
spark
lsl2
perl
m68k
oberon2
scilab
parigp
php-brief
gdb
genie
dcpu16
epc
objeck
pf
div
6502tasm
modula2
mmix
xbasic
csharp
powerbuilder
oorexx
dcs
whitespace
magiksf
hicest
urbi
ini
68000devpac
basic4gl
mpasm
oobas
gwbasic
llvm
falcon
make
intercal
c_mac
asymptote
fortran
clojure
sas
stonescript
pike
zxbasic
chaiscript
sparql
tsql
lolcode
pcre
go
autoit
coffeescript
diff
applescript
f1
javascript
verilog
progress
jquery
text
oz
actionscript3
nagios
erlang
modula3
ldif
oxygene
reg
klonec
rexx
e
xml
proftpd
boo
pixelbender
rails
pys60
idl
bibtex
ruby
smarty
latex
genero
icon
haskell
yaml
rsplus
fo
winbatch
robots
freebasic
teraterm
php
cobol
caddcl
cil
systemverilog
avisynth
awk
cpp-qt
freeswitch
java
prolog
upc
xorg_conf
objc
apt_sources
c
klonecpp
groovy
dot
whois
vala
pascal
actionscript
plsql
oracle11
c_loadrunner
mirc
cfm
bascomavr
email
kixtart
unicon
uscript
lscript
hq9plus
cfdg
octave
locobasic
autohotkey
glsl
asm
tcl
netrexx
pic16
rpmspec
pycon
fsharp
xpp
postgresql
matlab
vedit
java5
properties
providex
python
autoconf
css
lotusformulas
bf
ada
mysql
ocaml-brief
arm
q
sql
cuesheet
algol68
html5
purebasic
per
j
eiffel
scala
rebol
vhdl
dos
cadlisp
4cs
asp
io
pli
vbnet
typoscript
inno
vim
delphi
cpp
abap
sdlbasic
z80
gambas
6502acme
smalltalk
newlisp
gml
euphoria
haxe
logtalk
visualfoxpro
thinbasic
visualprolog
mxml
povray
cmake
html4strict
vb
gnuplot
bnf
bash
lisp
powershell
nsis
dcl
lb
perl6
scheme
lotusscript
lua
apache
oracle8
qbasic
parasail
blitzbasic
gettext
d
ocaml
mapbasic
ecmascript

Example 3 - Structure to Byte Array


Invalid language argument, "c#", select one from the list:
6502kickass
spark
lsl2
perl
m68k
oberon2
scilab
parigp
php-brief
gdb
genie
dcpu16
epc
objeck
pf
div
6502tasm
modula2
mmix
xbasic
csharp
powerbuilder
oorexx
dcs
whitespace
magiksf
hicest
urbi
ini
68000devpac
basic4gl
mpasm
oobas
gwbasic
llvm
falcon
make
intercal
c_mac
asymptote
fortran
clojure
sas
stonescript
pike
zxbasic
chaiscript
sparql
tsql
lolcode
pcre
go
autoit
coffeescript
diff
applescript
f1
javascript
verilog
progress
jquery
text
oz
actionscript3
nagios
erlang
modula3
ldif
oxygene
reg
klonec
rexx
e
xml
proftpd
boo
pixelbender
rails
pys60
idl
bibtex
ruby
smarty
latex
genero
icon
haskell
yaml
rsplus
fo
winbatch
robots
freebasic
teraterm
php
cobol
caddcl
cil
systemverilog
avisynth
awk
cpp-qt
freeswitch
java
prolog
upc
xorg_conf
objc
apt_sources
c
klonecpp
groovy
dot
whois
vala
pascal
actionscript
plsql
oracle11
c_loadrunner
mirc
cfm
bascomavr
email
kixtart
unicon
uscript
lscript
hq9plus
cfdg
octave
locobasic
autohotkey
glsl
asm
tcl
netrexx
pic16
rpmspec
pycon
fsharp
xpp
postgresql
matlab
vedit
java5
properties
providex
python
autoconf
css
lotusformulas
bf
ada
mysql
ocaml-brief
arm
q
sql
cuesheet
algol68
html5
purebasic
per
j
eiffel
scala
rebol
vhdl
dos
cadlisp
4cs
asp
io
pli
vbnet
typoscript
inno
vim
delphi
cpp
abap
sdlbasic
z80
gambas
6502acme
smalltalk
newlisp
gml
euphoria
haxe
logtalk
visualfoxpro
thinbasic
visualprolog
mxml
povray
cmake
html4strict
vb
gnuplot
bnf
bash
lisp
powershell
nsis
dcl
lb
perl6
scheme
lotusscript
lua
apache
oracle8
qbasic
parasail
blitzbasic
gettext
d
ocaml
mapbasic
ecmascript

Personal tools
Namespaces

Variants
Actions
Navigation
Tools

Trial Key