mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Merge pull request #1405 from moteus/voicemail_check_enable
Fix. Do not prompt password if there no mailbox.
This commit is contained in:
@@ -61,6 +61,12 @@
|
|||||||
end);
|
end);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- check either we found valid voicemail box
|
||||||
|
if (not voicemail_uuid) or (#voicemail_uuid == 0) then
|
||||||
|
return session:hangup();
|
||||||
|
end
|
||||||
|
|
||||||
--please enter your password followed by pound
|
--please enter your password followed by pound
|
||||||
dtmf_digits = '';
|
dtmf_digits = '';
|
||||||
password = macro(session, "voicemail_password", 20, 5000, '');
|
password = macro(session, "voicemail_password", 20, 5000, '');
|
||||||
|
|||||||
Reference in New Issue
Block a user