Merge pull request #5924 from greenbea/patch-34

[voicemail] allow setting greeting_number_id to default
This commit is contained in:
FusionPBX 2021-05-13 23:14:40 -06:00 committed by GitHub
commit e52cd61887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
--play the greeting
dtmf_digits = '';
if (string.len(greeting_id) > 0) then
if (string.len(greeting_id) > 0 and greeting_id ~= "default") then
--sleep
session:execute("playback","silence_stream://200");