mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-09 10:08:23 +00:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user