From 4dbd6ca2c2aa1b8301e8284758dcf3ceacec102e Mon Sep 17 00:00:00 2001 From: konradSC Date: Sat, 23 Sep 2017 02:12:47 -0400 Subject: [PATCH] Update device_edit.php (#2854) Search all profiles when looking up the sofia contact. --- app/devices/device_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index 986ee91ba8..6f6df36894 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -486,7 +486,7 @@ //get the sip profile name $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); if ($fp) { - $command = "sofia_contact ".$user_id."@".$server_address; + $command = "sofia_contact */".$user_id."@".$server_address; $contact_string = event_socket_request($fp, "api ".$command); if (substr($contact_string, 0, 5) == "sofia") { $contact_array = explode("/", $contact_string);