Update record_message.lua
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
if (skip_instructions == "true") then
|
if (skip_instructions == "true") then
|
||||||
--skip the instructions
|
--skip the instructions
|
||||||
else
|
else
|
||||||
if (string.len(dtmf_digits) == 0) then
|
if (dtmf_digits and string.len(dtmf_digits) == 0) then
|
||||||
dtmf_digits = macro(session, "record_message", 1, 100);
|
dtmf_digits = macro(session, "record_message", 1, 100);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -226,4 +226,4 @@
|
|||||||
record_menu("message", voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext);
|
record_menu("message", voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user