mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Option to disable dialplan conditions
This commit is contained in:
@@ -335,6 +335,12 @@
|
||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_break'] = $row['@attributes']['break'];
|
||||
}
|
||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_group'] = $group;
|
||||
if (isset($row['@attributes']['enabled'])) {
|
||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_enabled'] = $row['@attributes']['enabled'];
|
||||
}
|
||||
else {
|
||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_enabled'] = 'true';
|
||||
}
|
||||
$y++;
|
||||
|
||||
if (is_array($row['action']) || is_array($row['anti-action'])) {
|
||||
|
||||
Reference in New Issue
Block a user