From 10f0e81e06f14ff34860240a4a815a25294950de Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 14 Aug 2014 18:26:50 +0000 Subject: [PATCH] Remove the confirm default only prompt to confirm if confirm is set to true --- resources/install/scripts/confirm.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/resources/install/scripts/confirm.lua b/resources/install/scripts/confirm.lua index 16b5d92592..5ea56b28a9 100644 --- a/resources/install/scripts/confirm.lua +++ b/resources/install/scripts/confirm.lua @@ -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