From a514c6f95f2010ac0718b706f4ab65509c282b68 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 18 Nov 2014 10:09:29 +0000 Subject: [PATCH] (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. --- resources/install/scripts/app.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/install/scripts/app.lua b/resources/install/scripts/app.lua index 5b49268b2c..9f44f4a8f9 100644 --- a/resources/install/scripts/app.lua +++ b/resources/install/scripts/app.lua @@ -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);