Update app_defaults.php
This commit is contained in:
parent
9cebeb75b7
commit
4924676825
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue