Update forward_add_intro.lua
This commit is contained in:
parent
543631e169
commit
ed5a422083
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue