From fde2775fc61d87efd6f37d5393e48c6e3752bf7b Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Wed, 2 Aug 2017 01:02:08 +0300 Subject: [PATCH] Fix. Send message notify when toggle vm message in Web UI. (#2774) --- app/voicemails/resources/classes/voicemail.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/voicemails/resources/classes/voicemail.php b/app/voicemails/resources/classes/voicemail.php index 95c54a864a..d2f0f43c3e 100644 --- a/app/voicemails/resources/classes/voicemail.php +++ b/app/voicemails/resources/classes/voicemail.php @@ -345,6 +345,9 @@ } public function message_waiting() { + //get the voicemail id + $this->get_voicemail_id(); + //send the message waiting status $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); if ($fp) { @@ -354,7 +357,7 @@ } public function message_delete() { - + //get the voicemail id $this->get_voicemail_id(); @@ -437,7 +440,6 @@ $this->message_waiting(); } - public function message_saved() { //check if for valid input