BLOG     |     FORUM

Forum Login

Login is optional - if you want to be notified about responses via email. You can also simply ask a question without logging in.



Just ask your question

No signup required

There is no need to sign up or register to ask a question in the forums.

Just ask your question.

You need to signup if you wish to be notified of answers to your question by email.

Other links

Other ways to reach us

Follow us on Twitter

Follow on twitter

Send us an email

mail us

Welcome, Guest
Please Login or Register.    Lost Password?
All your questions answered real quick by Unleash Networks Engineers.
Go to bottom
Post Reply
Post New Topic
Page: 123
TOPIC: Scripting
#38
Scripting 5 Years, 7 Months ago Karma: 0
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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#39
Re:Scripting 5 Years, 7 Months ago Karma: 0
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 (http://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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#40
Re:Scripting 5 Years, 7 Months ago Karma: 0
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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#41
Re:Scripting 5 Years, 7 Months ago Karma: 0
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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#42
Re:Scripting 5 Years, 7 Months ago Karma: 0
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.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#43
Re:Scripting 5 Years, 7 Months ago Karma: 0
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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 123