mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
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";
|
||||
$db->query($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
|
||||
|
||||
Reference in New Issue
Block a user