Update local_stream.conf.lua
Check if row.music_on_hold_timer_name is empty.
This commit is contained in:
parent
4ea5b2a4ad
commit
bc46191440
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue