Fix remove excessive messages when using XML handler.

This commit is contained in:
Mark Crane
2014-11-08 04:46:51 +00:00
parent 7359b63a14
commit 66fc5354dd

View File

@@ -81,10 +81,10 @@
if( originate_disposition == "SUBSCRIBER_ABSENT" ) then
--return 404 UNALLOCATED_NUMBER if extension doesn't exist
freeswitch.consoleLog("notice", "[app] lua route: ".. scripts_dir .. "/app/" .. app_name .. "/index.lua" .. arguments ..". HANGUP.\n");
--freeswitch.consoleLog("notice", "[app] lua route: ".. scripts_dir .. "/app/" .. app_name .. "/index.lua" .. arguments ..". HANGUP.\n");
session:hangup("UNALLOCATED_NUMBER");
elseif( not forward_on_busy and originate_disposition ~= "CALL_REJECTED" ) then
--route the request to the application
freeswitch.consoleLog("notice", "[app] lua route: ".. scripts_dir .. "/app/" .. app_name .. "/index.lua" .. arguments .."\n");
--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