recording to remote server from lua
Hi All, I'm trying to record a wav file to a remote server. Just passing in a URL to session:execute("record" ,...) doesn't work. I don't see any errors in FS or in the remote web server log. What is the correct lua command? Also, how do I configure my remote (web) server to accept the file? Thanks, Neil
a bit of info on how to record to remote web server: https://wiki.freeswitch.org/wiki/Mod_httapi#Usage that page could probably use more info, but there should be enough to put together what its doing. On Jan 16, 2014, at 5:02 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
Hi All,
I'm trying to record a wav file to a remote server. Just passing in a URL to session:execute("record" ,...) doesn't work. I don't see any errors in FS or in the remote web server log.
What is the correct lua command? Also, how do I configure my remote (web) server to accept the file?
Thanks Michael. Two questions: - Are any of the params listed (file, profile, method, name) mandatory? - What config needs to be done (if any) on the remote server end? My apache server isn't getting the request (per logs). Is the data coming as a POST? I'm missing some understanding of how the data actually gets sent. I'd be happy to update the wiki with the new info. Thanks! Neil On Thu, Jan 16, 2014 at 8:22 PM, Michael Jerris <mike@jerris.com> wrote:
a bit of info on how to record to remote web server:
https://wiki.freeswitch.org/wiki/Mod_httapi#Usage
that page could probably use more info, but there should be enough to put together what its doing.
On Jan 16, 2014, at 5:02 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
Hi All,
I'm trying to record a wav file to a remote server. Just passing in a URL to session:execute("record" ,...) doesn't work. I don't see any errors in FS or in the remote web server log.
What is the correct lua command? Also, how do I configure my remote (web) server to accept the file?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (2)
-
Michael Jerris
-
Neil Patel