Capturing audio from a call and streaming it to another app
Hello, I am fairly new to the world of Freeswitch and am a bit puzzled how to implement a particular use-case. The first use-case I implemented involved writing a modpython script which recorded some voice to a file, where the file was terminated when it detected silence... After it was saved to a file I uploading the wav file to another application... Now, the next use-case is a bit different... Instead of recording a short segment of voice to a file, I would like to be able to capture the entire voice conversation. In other words, I would like to stream the bytes of the entire voice conversation to another application. Can this use-case be implemented using modpython/lua or should it be done by other means? Thanks, Bob
I suspect the first use case doesn't even require scripting language and could trivially be done in dialplan. The second one for sure does not require any scripting language. What method would you like to use to stream the audio? We could trivially use mod_shout or rtmp streaming via mod_av. Mike
On Jul 13, 2016, at 5:49 AM, Bob T <captain.mubbers@gmail.com> wrote:
Hello,
I am fairly new to the world of Freeswitch and am a bit puzzled how to implement a particular use-case.
The first use-case I implemented involved writing a modpython script which recorded some voice to a file, where the file was terminated when it detected silence... After it was saved to a file I uploading the wav file to another application...
Now, the next use-case is a bit different... Instead of recording a short segment of voice to a file, I would like to be able to capture the entire voice conversation. In other words, I would like to stream the bytes of the entire voice conversation to another application.
Can this use-case be implemented using modpython/lua or should it be done by other means?
participants (2)
-
Bob T
-
Michael Jerris