/usr/local/freeswitch/scripts/ |
0) {
$i = 0;
foreach($a_dialplan_includes as $row) {
echo $row['opt1value']." == {".$_GET['huntgroupid']."}
\n";
if ($row['opt1value'] == '{'.$_GET['huntgroupid'].'}') {
$dialplanincludeid = $row['dialplanincludeid'];
$id = $i;
unset($a_dialplan_include_details[$id]);
}
$i++;
}
unset($i);
}
//delete dialplan include details
if (count($a_dialplan_include_details) > 0) {
$i = 0;
foreach($a_dialplan_include_details as $row) {
if ($row['dialplanincludeid'] == $dialplanincludeid) {
$id = $i;
unset($a_dialplan_include_details[$id]);
}
$i++;
}
unset($i);
}
*/
unset($a_hunt_group[$_GET['id']]);
write_config();
sync_package_v_hunt_group();
header("Location: v_hunt_group.php");
exit;
}
}
}
include("head.inc");
?>
/usr/local/freeswitch/scripts/ |