(not forward_on_busy and originate_disposition ~= "CALL_REJECTED") needs to be optional behavior as it contradicts current behavior. My response here is complaints that the new behavior is a bug at least in some peoples eyes so needs to be a configurable option that is not forced onto those that don't want it.

This commit is contained in:
Mark Crane 2014-11-18 10:09:29 +00:00
parent 4a2d99d3a2
commit a2daf9a3a3
1 changed files with 2 additions and 4 deletions

View File

@ -75,7 +75,5 @@
end
--route the request to the application
if (not forward_on_busy and originate_disposition ~= "CALL_REJECTED") then
--freeswitch.consoleLog("notice", "[app] lua route: ".. scripts_dir .. "/app/" .. app_name .. "/index.lua" .. arguments .."\n");
loadfile(scripts_dir .. "/app/" .. app_name .. "/index.lua")(argv);
end
--freeswitch.consoleLog("notice", "[app] lua route: ".. scripts_dir .. "/app/" .. app_name .. "/index.lua" .. arguments .."\n");
loadfile(scripts_dir .. "/app/" .. app_name .. "/index.lua")(argv);