[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

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");