Update local_stream.conf.lua

Check if row.music_on_hold_timer_name is empty.
This commit is contained in:
FusionPBX
2016-06-28 12:24:31 -06:00
committed by GitHub
parent f75eef6307
commit 0354e137ea

View File

@@ -41,7 +41,7 @@
end
--set the default timer name to soft
if (row.music_on_hold_timer_name == nil) then
if (row.music_on_hold_timer_name == nil or row.music_on_hold_timer_name == '') then
timer_name = "soft";
else
timer_name = row.music_on_hold_timer_name;