Remove the confirm default only prompt to confirm if confirm is set to true
This commit is contained in:
parent
3f9644bef0
commit
b22eb25460
|
|
@ -56,15 +56,6 @@
|
||||||
if (not default_voice) then default_voice = 'callie'; end
|
if (not default_voice) then default_voice = 'callie'; end
|
||||||
|
|
||||||
--confirm the calls
|
--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
|
--prompt for digits
|
||||||
if (confirm == "true") then
|
if (confirm == "true") then
|
||||||
--send to the log
|
--send to the log
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue