Device - Edit: Adjust detection of valid line ports.
This commit is contained in:
parent
e0f4309076
commit
cac884d672
|
|
@ -1239,7 +1239,7 @@
|
||||||
if (empty($row['server_address'])) { $row['server_address'] = $_SESSION['domain_name']; }
|
if (empty($row['server_address'])) { $row['server_address'] = $_SESSION['domain_name']; }
|
||||||
}
|
}
|
||||||
if (empty($row['sip_transport'])) { $row['sip_transport'] = $_SESSION['provision']['line_sip_transport']['text']; }
|
if (empty($row['sip_transport'])) { $row['sip_transport'] = $_SESSION['provision']['line_sip_transport']['text']; }
|
||||||
if (empty($row['sip_port'])) { $row['sip_port'] = $_SESSION['provision']['line_sip_port']['numeric']; }
|
if (!isset($row['sip_port'])) { $row['sip_port'] = $_SESSION['provision']['line_sip_port']['numeric']; }
|
||||||
if (empty($row['register_expires'])) { $row['register_expires'] = $_SESSION['provision']['line_register_expires']['numeric']; }
|
if (empty($row['register_expires'])) { $row['register_expires'] = $_SESSION['provision']['line_register_expires']['numeric']; }
|
||||||
|
|
||||||
//add the primary key uuid
|
//add the primary key uuid
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue