Update call_center_notify.php

This commit is contained in:
FusionPBX 2019-06-08 10:24:53 -06:00 committed by GitHub
parent aa2e2778ab
commit 571eb538cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -35,8 +35,7 @@ include "root.php";
public $answer_state;
public $agent_uuid;
//feature_event method
//feature_event method
public function send_call_center_notify() {
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
@ -54,10 +53,10 @@ include "root.php";
$event .= "answer-state: ".$this->answer_state."\n";
event_socket_request($fp, $event);
//echo $event."<br />";
fclose($fp);
fclose($fp);
}
} //function
} //class
?>