mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Remove hangup on subscriber absent user_exists condition on dialplan_local extension already verifies that it is an extension.
This commit is contained in:
@@ -74,13 +74,6 @@
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--hangup on subscriber absent
|
|
||||||
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");
|
|
||||||
session:hangup("UNALLOCATED_NUMBER");
|
|
||||||
end
|
|
||||||
|
|
||||||
--route the request to the application
|
--route the request to the application
|
||||||
if (not forward_on_busy and originate_disposition ~= "CALL_REJECTED") then
|
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");
|
--freeswitch.consoleLog("notice", "[app] lua route: ".. scripts_dir .. "/app/" .. app_name .. "/index.lua" .. arguments .."\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user