Fix. Send message count in each MWI notify. (#1728)

* move send event code to separate function
* move get message count to separate function
This commit is contained in:
Alexey Melnichuk
2016-07-01 10:08:55 -06:00
committed by FusionPBX
parent 002bc66550
commit b7506b5b18
8 changed files with 140 additions and 98 deletions
@@ -235,6 +235,8 @@
require "app.voicemail.resources.functions.record_greeting";
require "app.voicemail.resources.functions.choose_greeting";
require "app.voicemail.resources.functions.record_name";
require "app.voicemail.resources.functions.message_count"
require "app.voicemail.resources.functions.mwi_notify";
--send a message waiting event
if (voicemail_action == "mwi") then