Sorry all, it was my phone auto corrector. Again:
Thanks Avi,
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 pcapsipdump for the current call from there?
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.
Thank you!
Thanks Avi,
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 pcapsipdump for the current call from there?
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.
Thanks you!
Em 10/09/2015 23:08, "Avi Marcus" <avi@avimarcus.net> escreveu:I use pcapsipdump to capture all call SIP + RTP, grouped by call in PCAP format.-AviOn Fri, Sep 11, 2015 at 4:36 AM, Leonardo Lima Ribeiro <llribeiro90@gmail.com> wrote:Hi!
I’m tying to capture the current call audio but I have no idea on how to do that.
My main achievement is to get the current call audio and them stream this audio bytes to an API via HTTP Post.
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.
But the mainly part is that I need the current call audio, and it has no file in the system to stream right?
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.
Could you please help me?
Thank you,
Leonardo Ribeiro
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org