mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update app_defaults.php
This commit is contained in:
@@ -91,6 +91,13 @@
|
|||||||
$sql = "update v_dialplans set dialplan_order = '890' where dialplan_order = '999' and dialplan_name = 'local_extension';\n";
|
$sql = "update v_dialplans set dialplan_order = '890' where dialplan_order = '999' and dialplan_name = 'local_extension';\n";
|
||||||
$db->query($sql);
|
$db->query($sql);
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
|
//set empty strings to null
|
||||||
|
$sql = "update v_device_lines set outbound_proxy_primary = null where outbound_proxy_primary = '';\n";
|
||||||
|
$db->query($sql);
|
||||||
|
$sql = "update v_device_lines set outbound_proxy_secondary = null where outbound_proxy_secondary = '';\n";
|
||||||
|
$db->query($sql);
|
||||||
|
unset($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
//add xml for each dialplan where the dialplan xml is empty
|
//add xml for each dialplan where the dialplan xml is empty
|
||||||
|
|||||||
Reference in New Issue
Block a user