BLOG     |     FORUM
Welcome, Guest
Username: Password: Remember me
All your questions answered real quick by Unleash Networks Engineers.

TOPIC: Scripting

Scripting 17 years 9 months ago #38

Does the scripting objects allow CAP format files to be converted to WAV/Audio?

I.E. if i have a formatted cap file I have produced from a 3rd party application - would the script allow me to convert it to WAV ?

Thanks in advance

Will
The administrator has disabled public write access.

Re:Scripting 17 years 9 months ago #39

  • netscript
  • netscript's Avatar
Hi Will,

By \"CAP file\", I assume you mean packet capture file in tcpdump/ethereal format.

Unsniff can extract VoIP calls from a capture file. Using the scripting interface you can then save these calls to WAV format.

The easiest way to check is to download Unsniff (www.unleashnetworks.com/unsniff/unsniff.html) then import the capture file via \"File->Import from libpcap\". Now switch over to the \"User Objects\" tab. You should be able to see all the voice calls.

Some important things to remember:

* Unsniff only supports the H.323, IAX2, SIP signalling methods

* Only codecs Linear, G.711a-Law, G.711u-Law, iLBC, GSM can be saved to a WAV file. We dont support G.729 at the moment.


Hope this helps,

Best Regards,
Vivek Rajan
The administrator has disabled public write access.

Re:Scripting 17 years 9 months ago #40

Vivek, Thanks for the response.

You are correct that it is a libpcap/ethereal CAP file.

When I go to file>import

I dont have import from libpcap, I only have
tcpdump
and
Unsniff raw

Am i missing something ??

Thanks again,
Will
The administrator has disabled public write access.

Re:Scripting 17 years 9 months ago #41

  • netscript
  • netscript's Avatar
Will,

Try \"Import From->Tcpdump\". Tcpdump and libpcap are the same format.

Check if the calls show up in the \"User Objects\" sheet.

Best Regards,
Vivek Rajan
Unleash Networks
The administrator has disabled public write access.

Re:Scripting 17 years 9 months ago #42

Hi Again - I import via the TCPDump format and the file loads up into the App but I cant see anything in the User Objects Sheet.

Any clues.
The administrator has disabled public write access.

Re:Scripting 17 years 9 months ago #43

  • netscript
  • netscript's Avatar
Will,

Any idea about the type of VoIP traffic ? Is it H.323 or SIP or IAX2 (Asterisk) ? Do you see anything in the PDU Sheet ?

Once you get the user objects to show up, writing scripts to save them as WAV files is quite easy.

Regards,
Vivek
The administrator has disabled public write access.
Moderators: vivek [unleash]
Time to create page: 0.035 seconds