Update index.lua

This commit is contained in:
FusionPBX 2019-01-03 17:20:33 -07:00 committed by GitHub
parent d97aa75a6b
commit a013c5fc05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@
--play the greeting
if (session:ready()) then
if (ring_group_greeting and #ring_group_greeting > 0) then
session:answer();
session:sleep(1000);
play_file(dbh, domain_name, domain_uuid, ring_group_greeting)
session:sleep(1000);