Update dialplan_outbound_add.php
We don't need the sleep anymore in the outbound routes.
This commit is contained in:
parent
9e107e9c54
commit
264144caaf
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2008-2018
|
Portions created by the Initial Developer are Copyright (C) 2008-2020
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
|
|
@ -625,7 +625,7 @@
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_order'] = $y * 10;
|
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_order'] = $y * 10;
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_group'] = '0';
|
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_group'] = '0';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen($prefix_number) > 0) {
|
if (strlen($prefix_number) > 0) {
|
||||||
if ($_SESSION['cdr']['remove_prefix']['boolean'] == 'true') {
|
if ($_SESSION['cdr']['remove_prefix']['boolean'] == 'true') {
|
||||||
$y++;
|
$y++;
|
||||||
|
|
@ -640,16 +640,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$y++;
|
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_uuid'] = uuid();
|
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['domain_uuid'] = $_SESSION['domain_uuid'];
|
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_uuid'] = $dialplan_uuid;
|
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_tag'] = 'action';
|
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_type'] = 'sleep';
|
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_data'] = '${sleep}';
|
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_order'] = $y * 10;
|
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_group'] = '0';
|
|
||||||
|
|
||||||
if ($gateway_type == "transfer") { $dialplan_detail_type = 'transfer'; } else { $dialplan_detail_type = 'bridge'; }
|
if ($gateway_type == "transfer") { $dialplan_detail_type = 'transfer'; } else { $dialplan_detail_type = 'bridge'; }
|
||||||
$y++;
|
$y++;
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_uuid'] = uuid();
|
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_uuid'] = uuid();
|
||||||
|
|
@ -685,7 +675,6 @@
|
||||||
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_group'] = '0';
|
$array['dialplans'][$x]['dialplan_details'][$y]['dialplan_detail_group'] = '0';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
unset($bridge_data);
|
unset($bridge_data);
|
||||||
unset($bridge_2_data);
|
unset($bridge_2_data);
|
||||||
unset($bridge_3_data);
|
unset($bridge_3_data);
|
||||||
|
|
@ -1234,4 +1223,4 @@ function type_onchange(dialplan_detail_type) {
|
||||||
//show the footer
|
//show the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue