diff --git a/app/click_to_call/click_to_call.php b/app/click_to_call/click_to_call.php
index 99bea9c0d5..0872d60644 100644
--- a/app/click_to_call/click_to_call.php
+++ b/app/click_to_call/click_to_call.php
@@ -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)
@@ -149,11 +146,10 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
$destination = "{origination_caller_id_name='$dest_cid_name',origination_caller_id_number=$dest_cid_number}".$bridge_array[0];
if (permission_exists('click_to_call_call')) {
if (strpbrk($dest, '@') != FALSE) {
- //call a sip uri
+ //call a sip uri
//echo "Found an @ 4, do nothing for now
\n";
echo " \n";
echo " \n";
- echo "Enter the type.\n";
+ echo "Enter the name.\n";
echo "
\n";
echo "
\n";
diff --git a/includes/install/scripts/intercept.lua b/includes/install/scripts/intercept.lua
index 08188ca1f9..789045fb62 100644
--- a/includes/install/scripts/intercept.lua
+++ b/includes/install/scripts/intercept.lua
@@ -106,7 +106,7 @@ if ( session:ready() ) then
if (debug["sql"]) then
freeswitch.consoleLog("NOTICE", "sql "..sql.."\n");
end
- dbh:query(sql, function(result)
+ dbh:query(sql, function(result)
--for key, val in pairs(result) do
-- freeswitch.consoleLog("NOTICE", "result "..key.." "..val.."\n");
--end
diff --git a/includes/install/scripts/xml_handler.lua b/includes/install/scripts/xml_handler.lua
index 21be15f48c..440634bad2 100644
--- a/includes/install/scripts/xml_handler.lua
+++ b/includes/install/scripts/xml_handler.lua
@@ -1,6 +1,6 @@
-- xml_handler.lua
-- Part of FusionPBX
--- Copyright (C) 2010 Mark J Crane
+-- Copyright (C) 2013 Mark J Crane
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without