0) { $i=0; foreach($a_dialplan_includes_details as $row) { if ($row["dialplanincludeid"] == $dialplanincludeid) { //echo "child id: ".$i."
\n"; unset($a_dialplan_includes_details[$i]); } $i++; } } //if the dialplan include xml file exists then delete it if (file_exists($v_conf_dir."/dialplan/default/".$dialplanincludefilename)) { unlink($v_conf_dir."/dialplan/default/".$dialplanincludefilename); } unset($dialplanincludefilename); unset($a_dialplan_includes[$_GET['id']]); write_config(); sync_package_v_dialplan_includes(); header("Location: v_dialplan_includes.php"); exit; } } } include("head.inc"); ?> $v_label: Dialplan

\n"; } ?>
"; //print_r ($a_dialplan_includes); //echo ""; //if ($config_change == 1) { // write_config(); // $config_change = 0; //} //if ($savemsg) print_info_box($savemsg); //if (file_exists($d_hostsdirty_path)): echo"

"; //print_info_box_np("This has been changed.
You must apply the changes in order for them to take effect."); //echo"
"; //endif; ?>

Dialplan
The dialplan is used to setup call destinations based on conditions and context. You can use the dialplan to send calls to gateways, IVRs, external numbers, to scripts, or any destination.



0) { foreach ($a_dialplan_includes as $ent) { $a_dialplan_includes[$i]['id'] = $i; $i++; } } //order the array function cmp_number($a, $b) { if ($a["order"] > $b["order"]) { return 1; } else { return 0; } } if (count($a_public_includes) > 0) { usort($a_dialplan_includes, "cmp_number"); } $i = 0; if (count($a_dialplan_includes) > 0) { foreach ($a_dialplan_includes as $ent) { ?>
Extension Name Order Enabled Description