parent
90b6d06f4d
commit
7727b04b09
|
|
@ -79,7 +79,7 @@
|
|||
if (row.method == "curl") then
|
||||
api_command_argument = api_command_argument:gsub(" ", "%%20");
|
||||
url = [[http://]]..row.username..[[:]]..row.password..[[@]]..row.hostname..[[:]]..row.port..[[/webapi/luarun?app/servers/resources/clear_cache.lua%20]]..api_command_argument;
|
||||
api:executeString("system curl" .. url );
|
||||
api:executeString("system curl " .. url );
|
||||
freeswitch.consoleLog("INFO", "[notice] curl ".. url .. " \n");
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue