Update app_defaults.php

This commit is contained in:
FusionPBX
2018-06-17 16:31:59 -06:00
committed by GitHub
parent 77a4f41837
commit 742ff7a0c9

View File

@@ -91,6 +91,13 @@
$sql = "update v_dialplans set dialplan_order = '890' where dialplan_order = '999' and dialplan_name = 'local_extension';\n";
$db->query($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