Update local_stream.conf.lua
Set a default rate for chime list if one is not provided.
This commit is contained in:
+3
@@ -39,6 +39,9 @@
|
|||||||
|
|
||||||
--set the rate
|
--set the rate
|
||||||
rate = row.music_on_hold_rate;
|
rate = row.music_on_hold_rate;
|
||||||
|
if (rate ~= nil or rate == '') then
|
||||||
|
rate = '48000';
|
||||||
|
end
|
||||||
|
|
||||||
--add the full path to the chime list
|
--add the full path to the chime list
|
||||||
chime_list = row.music_on_hold_chime_list;
|
chime_list = row.music_on_hold_chime_list;
|
||||||
|
|||||||
Reference in New Issue
Block a user