mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-01 17:53:49 +00:00
Update extension_edit.php
This commit is contained in:
@@ -494,6 +494,8 @@
|
||||
$array["devices"][0]["device_lines"][0]["device_line_uuid"] = $device_line_uuid;
|
||||
$array["devices"][0]["device_lines"][0]["domain_uuid"] = $_SESSION['domain_uuid'];
|
||||
$array["devices"][0]["device_lines"][0]["server_address"] = $_SESSION['domain_name'];
|
||||
$array["devices"][0]["device_lines"][0]["outbound_proxy_primary"] = $_SESSION['provision']['outbound_proxy_primary']['text'];
|
||||
$array["devices"][0]["device_lines"][0]["outbound_proxy_secondary"] = $_SESSION['provision']['outbound_proxy_secondary']['text'];
|
||||
if (strlen($effective_caller_id_name) > 0) {
|
||||
$array["devices"][0]["device_lines"][0]["display_name"] = $effective_caller_id_name;
|
||||
}
|
||||
@@ -508,7 +510,6 @@
|
||||
$array["devices"][0]["device_lines"][0]["sip_transport"] = $_SESSION['provision']['line_sip_transport']['text'];
|
||||
$array["devices"][0]["device_lines"][0]["register_expires"] = $_SESSION['provision']['line_register_expires']['numeric'];
|
||||
$array["devices"][0]["device_lines"][0]["enabled"] = "true";
|
||||
|
||||
}
|
||||
|
||||
//save to the data
|
||||
|
||||
Reference in New Issue
Block a user