0) { $i=0; if (count($a_public_includes_details) > 0) { foreach($a_public_includes_details as $row) { if ($row["publicincludeid"] == $publicincludeid) { //echo "child id: ".$i."
\n"; unset($a_public_includes_details[$i]); } $i++; } } } //if the public include xml file exists then delete it if (file_exists("/usr/local/freeswitch/conf/public/default/".$publicincludefilename)) { unlink("/usr/local/freeswitch/conf/public/default/".$publicincludefilename); } unset($publicincludefilename); unset($a_public_includes[$_GET['id']]); write_config(); sync_package_freeswitch_public_includes(); header("Location: freeswitch_public_includes.php"); exit; } } } include("head.inc"); ?>

FreeSWITCH: Public

"; //print_r ($a_public_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("The FreeSWITCH recordings have been changed.
You must apply the changes in order for them to take effect."); //echo"
"; //endif; ?>

Public
The public dialplan is used to route incoming calls to destinations based on conditions and context. It can send incoming calls to IVRs, extensions, external numbers, and scripts.



0) { foreach ($a_public_includes as $ent) { if (strlen($ent['extensionname'].$ent['enabled']) > 0) { ?>
Extension Name Order Enabled Description
   

/usr/local/freeswitch/conf/dialplan/public/