<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">And from the cap file I can get the audio right?<div class="">I’m taking a look in some scripts that can extract the audio from pcap files, but I think it’s need to be embedded on the pcap file when it’s saving right?</div><div class=""><br class=""></div><div class="">I tried the sngrep and it generated a 128k pcap file, and I did about 3 calls, does it really have the audio?</div><div class=""><br class=""></div><div class="">(I’m about to test pcapsipdump but the installation is failing in OS X, I think I will move to a CentOS machine)</div><div class=""><br class=""></div><div class="">Thank you all guys!</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">Em 11/09/2015, à(s) 2:47 PM, ik &lt;<a href="mailto:idokan@gmail.com" class="">idokan@gmail.com</a>&gt; escreveu:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I'm using sngrep, it saves a specific dialog to a pcap file, or several dialogs, based on what you select.<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Sep 11, 2015 at 4:58 PM, Aqs Younas <span dir="ltr" class="">&lt;<a href="mailto:aqsyounas@gmail.com" target="_blank" class="">aqsyounas@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">pcapsipdump captures all calls on particular instance into separate files. You can't make it to capture a specific file.&nbsp; </div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On 11 September 2015 at 16:43, Leonardo Ribeiro <span dir="ltr" class="">&lt;<a href="mailto:llribeiro90@gmail.com" target="_blank" class="">llribeiro90@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="">Sorry all, it was my phone auto corrector. Again:</p><p dir="ltr" class="">Thanks Avi,</p><p dir="ltr" class="">I had read about and I'm going to try that. My IVR is a script on lua, do you know how can I call the&nbsp; pcapsipdump for the current call from there?</p><p dir="ltr" class="">I was thinking about another solution... What if I execute a record mycall.wav 300 and try to stream this file while is being record? It would work? The main problem is that the script calls the execute record as a synchronous way, but I would need to do some actions while it's recording like play sounds, curl posts etc.</p><p dir="ltr" class="">Thank you!</p><div class=""><div class="">
<div class="gmail_quote">Em 11/09/2015 08:38, "Leonardo Ribeiro" &lt;<a href="mailto:llribeiro90@gmail.com" target="_blank" class="">llribeiro90@gmail.com</a>&gt; escreveu:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="">Thanks Avi,</p><p dir="ltr" class="">I've readed about and I'm going to try that. My IVR is a script on lua, do you know how can I call the&nbsp; pcapsipdump for the current call from there?</p><p dir="ltr" class="">I was thinking Abou another solution, and what if I execute a record mycall.wav 300 and try to stream this file while is being record? It would work? The main problem is that the script calls the execute record as a synchronous way, but I would need to do some actions while it's recording like play sounds, curl posta etc.</p><p dir="ltr" class="">Thanks you!</p>
<div class="gmail_quote">Em 10/09/2015 23:08, "Avi Marcus" &lt;<a href="mailto:avi@avimarcus.net" target="_blank" class="">avi@avimarcus.net</a>&gt; escreveu:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">I use pcapsipdump to capture all call SIP + RTP, grouped by call in PCAP format.<div class="gmail_extra"><br clear="all" class=""><div class=""><div class=""><div dir="ltr" class="">-Avi<br class=""></div></div></div>
<br class=""><div class="gmail_quote">On Fri, Sep 11, 2015 at 4:36 AM, Leonardo Lima Ribeiro <span dir="ltr" class="">&lt;<a href="mailto:llribeiro90@gmail.com" target="_blank" class="">llribeiro90@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br class="">
<br class="">
I’m tying to capture the current call audio but I have no idea on how to do that.<br class="">
<br class="">
My main achievement is to get the current call audio and them stream this audio bytes to an API via HTTP Post.<br class="">
<br class="">
I was doing some tries with mod_shout and mod_vlc, and I was successful in the streaming part - I tested some wavs and mp3 files.<br class="">
<br class="">
But the mainly part is that I need the current call audio, and it has no file in the system to stream right?<br class="">
<br class="">
I was thinking if there’s a command that I can get the audio bytes from the current call but I really don’t know, I could not find any option like that.<br class="">
<br class="">
Could you please help me?<br class="">
<br class="">
Thank you,<br class="">
Leonardo Ribeiro<br class="">
_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote></div><br class=""></div></div>
<br class="">_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div>
</blockquote></div>
</div></div><br class="">_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""></div>
</div></div><br class="">_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>