Update forward_add_intro.lua

This commit is contained in:
FusionPBX 2016-09-01 13:31:55 -06:00 committed by GitHub
parent 543631e169
commit ed5a422083
1 changed files with 90 additions and 91 deletions

View File

@ -1,5 +1,5 @@
-- Part of FusionPBX
-- Copyright (C) 2013 Mark J Crane <markjcrane@fusionpbx.com>
-- Copyright (C) 2016 Mark J Crane <markjcrane@fusionpbx.com>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@ -35,10 +35,8 @@
--request whether to add the intro
--To add an introduction to this message press 1
--add_intro_id = macro(session, "forward_add_intro", 20, 5000, '');
--if (add_intro_id == '1') then
--
--end
add_intro_id = macro(session, "forward_add_intro", 20, 5000, '');
if (add_intro_id == '1') then
--record your message at the tone press any key or stop talking to end the recording
if (session:ready()) then
@ -138,5 +136,6 @@
freeswitch.consoleLog("notice", "[voicemail] SQL: " .. sql .. "\n");
end
end
end
end