Set the default value of dialplan_detail_enabled to true
This commit is contained in:
@@ -115,6 +115,15 @@
|
|||||||
$sql = "update v_dialplan_details set dialplan_detail_data = 'recording_id=' where dialplan_detail_data = 'recording_id=true'\n";
|
$sql = "update v_dialplan_details set dialplan_detail_data = 'recording_id=' where dialplan_detail_data = 'recording_id=true'\n";
|
||||||
$database->execute($sql);
|
$database->execute($sql);
|
||||||
unset($sql);
|
unset($sql);
|
||||||
|
|
||||||
|
//dialplan cleanup
|
||||||
|
$sql = "delete from v_dialplans where dialplan_name is null and dialplan_enabled is null and dialplan_context is null;\n";
|
||||||
|
$database->execute($sql);
|
||||||
|
|
||||||
|
//set the default value of dialplan_detail_enabled to true
|
||||||
|
$sql = "update v_dialplan_details set dialplan_detail_enabled = 'true' where dialplan_detail_enabled is null";
|
||||||
|
$database->execute($sql);
|
||||||
|
unset($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
//remove origination_callee_id_name from domain-variables dialplan
|
//remove origination_callee_id_name from domain-variables dialplan
|
||||||
|
|||||||
Reference in New Issue
Block a user