[voicemail] allow setting greeting_number_id to defualt

This commit is contained in:
agree 2021-04-29 16:43:39 -04:00 committed by GitHub
parent 138e3baa31
commit 09e5280f3e
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 --play the greeting
dtmf_digits = ''; dtmf_digits = '';
if (string.len(greeting_id) > 0) then if (string.len(greeting_id) > 0 and greeting_id ~= "default") then
--sleep --sleep
session:execute("playback","silence_stream://200"); session:execute("playback","silence_stream://200");