Remove the confirm default only prompt to confirm if confirm is set to true

This commit is contained in:
Mark Crane
2014-08-14 18:26:50 +00:00
parent e9055eab14
commit 10f0e81e06

View File

@@ -56,15 +56,6 @@
if (not default_voice) then default_voice = 'callie'; end
--confirm the calls
--if an extension answer the call
if (confirm) then
cmd = "user_exists id ".. destination_number .." "..context;
result = api:executeString(cmd);
--freeswitch.consoleLog("NOTICE", "[confirm] "..cmd.." "..result.."\n");
if (result == "true") then
confirm = "true";
end
end
--prompt for digits
if (confirm == "true") then
--send to the log