A few changes from the merge.

This commit is contained in:
Mark Crane 2013-01-20 01:13:19 +00:00
parent 2be81da122
commit d1faa30d41
8 changed files with 10 additions and 18 deletions

View File

@ -33,12 +33,10 @@
include "root.php";
require_once "includes/require.php";
require_once "includes/checkauth.php";
//require_once "includes/checkauth.php";
if (permission_exists('click_to_call_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
@ -126,7 +124,6 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
}
}
else {
if (strlen($src) < 7) {
if (strlen($dest_cid_number) == 0) {
//get the caller id from the extension caller id comes from the extension (the source number)
@ -153,7 +150,6 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
//echo "Found an @ 4, do nothing for now<br><br>";
$switch_cmd = "api originate $source &bridge({origination_caller_id_name='$src_cid_name',origination_caller_id_number=$src_cid_number,call_direction=outbound}sofia/external/$dest)";
//echo "<br>SWITCH-CMD: $switch_cmd<br>";
}
else {
//regular call

View File

@ -567,7 +567,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$x++;
} //end foreach
unset($sql, $result, $row_count);
} //end if results
echo "<tr>\n";

View File

@ -27,7 +27,6 @@ include "root.php";
require_once "includes/require.php";
require_once "includes/checkauth.php";
require_once "includes/paging.php";
require_once "app_languages.php";
if (permission_exists('fax_extension_add')) {
//access granted
}

View File

@ -26,7 +26,6 @@
include "root.php";
require_once "includes/require.php";
require_once "includes/checkauth.php";
require_once "app_languages.php";
if (permission_exists('fax_extension_delete')) {
//access granted
}

View File

@ -27,7 +27,6 @@
include "root.php";
require_once "includes/require.php";
require_once "includes/checkauth.php";
require_once "app_languages.php";
if (permission_exists('fax_extension_view')) {
//access granted
}

View File

@ -210,12 +210,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " Type:\n";
echo " Name:\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='default_setting_name' maxlength='255' value=\"$default_setting_name\">\n";
echo "<br />\n";
echo "Enter the type.\n";
echo "Enter the name.\n";
echo "</td>\n";
echo "</tr>\n";

View File

@ -1,6 +1,6 @@
-- xml_handler.lua
-- Part of FusionPBX
-- Copyright (C) 2010 Mark J Crane <markjcrane@fusionpbx.com>
-- Copyright (C) 2013 Mark J Crane <markjcrane@fusionpbx.com>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without