mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix remove excessive messages when using XML handler.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user