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("/usr/local/freeswitch/conf/dialplan/default/".$dialplanincludefilename)) { unlink("/usr/local/freeswitch/conf/dialplan/default/".$dialplanincludefilename); } unset($dialplanincludefilename); unset($a_dialplan_includes[$_GET['id']]); write_config(); sync_package_freeswitch_dialplan_includes(); header("Location: freeswitch_dialplan_includes.php"); exit; } } } include("head.inc"); ?>

FreeSWITCH: Dialplan

"; //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; } } 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
   

/usr/local/freeswitch/conf/dialplan/default/