Update app_defaults.php
This commit is contained in:
@@ -98,6 +98,18 @@
|
|||||||
$sql = "update v_device_lines set outbound_proxy_secondary = null where outbound_proxy_secondary = '';\n";
|
$sql = "update v_device_lines set outbound_proxy_secondary = null where outbound_proxy_secondary = '';\n";
|
||||||
$db->query($sql);
|
$db->query($sql);
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
|
//change recording_slots to recording_id
|
||||||
|
$sql = "update v_dialplan_details set dialplan_detail_data = 'recording_id=true' ";
|
||||||
|
$sql .= "where dialplan_uuid in (select dialplan_uuid from v_dialplans where app_uuid = '430737df-5385-42d1-b933-22600d3fb79e') ";
|
||||||
|
$sql .= "and dialplan_detail_data = 'recording_slots=true'; \n";
|
||||||
|
$db->query($sql);
|
||||||
|
unset($sql);
|
||||||
|
$sql = "update v_dialplan_details set dialplan_detail_data = 'recording_id=false' ";
|
||||||
|
$sql .= "where dialplan_uuid in (select dialplan_uuid from v_dialplans where app_uuid = '430737df-5385-42d1-b933-22600d3fb79e') ";
|
||||||
|
$sql .= "and dialplan_detail_data = 'recording_slots=false'; \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