Update index.lua

Added a commented out resync option.
This commit is contained in:
FusionPBX 2021-02-23 20:56:37 -07:00 committed by GitHub
parent 9c82526021
commit d2ff58ee42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -193,6 +193,8 @@
event:addHeader('content-type', 'application/simple-message-summary');
--check sync
event:addHeader('event-string', 'check-sync;reboot='..reboot);
--event:addHeader('event-string', 'resync');
resync
--send the event
event:fire();
end);
@ -249,6 +251,7 @@
event:addHeader('content-type', 'application/simple-message-summary');
--check sync
event:addHeader('event-string', 'check-sync;reboot='..reboot);
--event:addHeader('event-string', 'resync');
--send the event
event:fire();
end