diff --git a/app/call_flows/app_defaults.php b/app/call_flows/app_defaults.php new file mode 100644 index 0000000000..3e55ff648d --- /dev/null +++ b/app/call_flows/app_defaults.php @@ -0,0 +1,38 @@ + + Portions created by the Initial Developer are Copyright (C) 2020 + the Initial Developer. All Rights Reserved. + + Contributor(s): + Mark J Crane +*/ + +//process this only one time +if ($domains_processed == 1) { + + //update the dialplan order + $database = new database; + $sql = "update v_call_flows set call_flow_enabled = 'true' where call_flow_enabled is null;\n"; + $database->execute($sql); + unset($sql); + +} + +?>