Input/output latency is not problem. I use Kazoo on my servers and call recording is stored to database during 5 seconds after hangup.
What is broken in your case if save file using webdav or http_cache?On Mon, Apr 4, 2016, 21:10 Vincent Gire <vincent.gire@gmail.com> wrote:Hello Sergey,Thank you for your answer.I've looked into webdav mounted filesystem.Unfortunately, most WebDav clients (especially davfs2 on debian) do a lot of buffering, caching and even lock-null requests (lock a non existent resource before writing to it). I also suspect that they wait for the end of the write operation.The result is a latency of a few seconds witch is not much better than what I achieve with mod_shout if I transcode the MP3.Any other idea ?Thank you !Best regardsVincentOn Sun, Apr 3, 2016 at 7:30 PM, Sergey Safarov <s.safarov@gmail.com> wrote:Please look at webdav mounted filesystem.
On Sun, Apr 3, 2016, 19:17 Vincent Gire <vincent.gire@gmail.com> wrote:_________________________________________________________________________Hi all,Thank you to all contributing to FreeSWITCH !I'm working on a IVR project where logic is implemented on a HTTP server.We are leaving Twilio because we now need to record and live stream the session to the HTTP server in WAV format (chunked transfer encoding).mod_httapi looks great (HT TAPI very similar to Twilio's) but it seems that the records are first saved to disk before there are sent to the server as chunked data.We need the transfer to start as soon as the recording starts.mod_shout does start the request almost as the records starts but it does not support WAV file and shout:// is not exactly a HTTP request (SOURCE method instead of PUT).Is there a way to use these modules to achieve our goal ?If not, we are willing to author a specific module or rather contribute to the existing ones.We've identified two approaches:
- From mod_httapi Modify mod_httapi to directly stream the record instead of completely saving it to disk before the HTTP chunked transfer starts.
This seems the most logical but with more than 3000 lines, mod_httapi does not seem to be the easiest module to build upon for newcomers!- From mod_shout
- Modify libshoot to replace the custom SOURCE method with standard HTTP PUT method
- Modify mod_shout to support wav files
- Implement our IVR in script (javascript/lua)
What do you think ?Thank you for your help.Cheers,Vincent
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_________________________________________________________________________--Vincent Gire
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