Fix. Send message notify when toggle vm message in Web UI. (#2774)

This commit is contained in:
Alexey Melnichuk 2017-08-02 01:02:08 +03:00 committed by FusionPBX
parent 2821e9f0b9
commit fde2775fc6
1 changed files with 4 additions and 2 deletions

View File

@ -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