From 55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Fri, 6 Feb 2009 19:18:00 -0600 Subject: mv packages to config dir to match web layout --- config/freeswitch/freeswitch_public_includes.tmp | 275 +++++++++++++++++++++++ 1 file changed, 275 insertions(+) create mode 100644 config/freeswitch/freeswitch_public_includes.tmp (limited to 'config/freeswitch/freeswitch_public_includes.tmp') diff --git a/config/freeswitch/freeswitch_public_includes.tmp b/config/freeswitch/freeswitch_public_includes.tmp new file mode 100644 index 00000000..66f733b3 --- /dev/null +++ b/config/freeswitch/freeswitch_public_includes.tmp @@ -0,0 +1,275 @@ + 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 NameOrderEnabledDescription + + + + + +
+
+ + + + +   + +   + + + + + + +
+
+ + + + + +
+
+ +

+ +/usr/local/freeswitch/conf/dialplan/public/ +
+
+
+
+
+
+ +
+ +
+ + + + + -- cgit v1.2.3