Voicemail: Let skip_instructions channel variable still take priority over voicemail_recording_options in database.
This commit is contained in:
parent
679df10c6e
commit
a8f25e9657
|
|
@ -278,6 +278,7 @@
|
||||||
end
|
end
|
||||||
|
|
||||||
--check voicemail recording options setting
|
--check voicemail recording options setting
|
||||||
|
if (skip_instructions == nil) then
|
||||||
if (skip_options == nil) then
|
if (skip_options == nil) then
|
||||||
if (voicemail_recording_options == 'true') then
|
if (voicemail_recording_options == 'true') then
|
||||||
skip_options = 'false';
|
skip_options = 'false';
|
||||||
|
|
@ -285,6 +286,9 @@
|
||||||
skip_options = 'true';
|
skip_options = 'true';
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
skip_options = skip_instructions;
|
||||||
|
end
|
||||||
|
|
||||||
--options press 1 to listen to the recording, press 2 to save the recording, press 3 to re-record
|
--options press 1 to listen to the recording, press 2 to save the recording, press 3 to re-record
|
||||||
if (session:ready()) then
|
if (session:ready()) then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue