Update local_stream.conf.lua

Set a default rate for chime list if one is not provided.
This commit is contained in:
FusionPBX 2016-07-06 16:27:22 -06:00 committed by GitHub
parent ded9255613
commit 1a76484b5f
1 changed files with 4 additions and 1 deletions

View File

@ -39,6 +39,9 @@
--set the rate
rate = row.music_on_hold_rate;
if (rate ~= nil or rate == '') then
rate = '48000';
end
--add the full path to the chime list
chime_list = row.music_on_hold_chime_list;