Misc: Remove parameters from event_socket_create() calls.
This commit is contained in:
@@ -247,7 +247,7 @@
|
||||
|
||||
//get the hostname
|
||||
if ($sip_profile_hostname == '') {
|
||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||
$fp = event_socket_create();
|
||||
if ($fp) {
|
||||
$sip_profile_hostname = event_socket_request($fp, 'api switchname');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user