BugFix-Support spaces in streamfile.lua (#1811)

use table.concat as a workaround to spaces in filesames
alternative is adjust all destiantions to quote filenames, but would
require app_defaults catch to fix all exisiting written destinations.
This commit is contained in:
Mafoo
2016-08-13 15:59:37 +01:00
committed by FusionPBX
parent 5f0dacbeda
commit 5f1cfc17c3

View File

@@ -1,6 +1,7 @@
--get the argv values
script_name = argv[0];
file_name = argv[1];
file_name = table.concat(argv, " ");
freeswitch.consoleLog("notice", "[streamfile] file_name: " .. file_name .. "\n");
--include config.lua
require "resources.functions.config";