Compare commits

..
10 Commits
Author SHA1 Message Date
mattf 7293e003e7 updated user_stats.php
git-svn-id: svn://192.168.202.10@254 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-09-07 13:50:53 +00:00
mattf 4d7c11d8e1 fixed 3 translations bugs and rebuilt agc translations files for pl, es and el
git-svn-id: svn://192.168.202.10@239 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-09-01 20:05:10 +00:00
mattf dc53515302 fixed translation bug in live_exten_check.php
git-svn-id: svn://192.168.202.10@218 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-08-25 14:49:24 +00:00
mattf 20be406564 fixed translation bug in live_exten_check.php
git-svn-id: svn://192.168.202.10@217 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-08-25 14:30:34 +00:00
mattf 772ec5ceb9 changed blank option to 9999 to fix bug 17 on the tracker
git-svn-id: svn://192.168.202.10@215 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-08-25 13:51:16 +00:00
mattf 7e2cc207ba updated Spanish agc_es
git-svn-id: svn://192.168.202.10@209 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-08-24 14:32:46 +00:00
mattf 24d066d676 added polish - pl images for agc client and updated translation file
added updated polish agc_pl files

git-svn-id: svn://192.168.202.10@207 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-08-24 14:12:03 +00:00
mattf af5774f8f3 update to SCRATCH_INSTALL for new versions, dnsmgr.conf and binfone config
git-svn-id: svn://192.168.202.10@190 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-08-18 18:51:23 +00:00
mattf 6617ce9bba agc_pl contents and pl.gif for polish - pl agc translation
git-svn-id: svn://192.168.202.10@182 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-08-17 13:53:45 +00:00
mattf e79cfefe3e pl_language.txt and agc_pl folder for polish - pl agc translation
git-svn-id: svn://192.168.202.10@181 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-08-17 13:46:46 +00:00
89 changed files with 13637 additions and 366 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 951 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1007 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 882 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

+24 -19
View File
@@ -27,6 +27,8 @@
# 50711-1204 - removed HTTP authentication in favor of user/pass vars
# 60103-1541 - added favorite extens status display
# 60421-1359 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1203 - Added variable filters to close security holes for login form
# 60825-1028 - Fixed translation variable issue ChannelA
#
require("dbconnect.php");
@@ -51,11 +53,14 @@ if (isset($_GET["favorites_count"])) {$favorites_count=$_GET["favorites_count
if (isset($_GET["favorites_list"])) {$favorites_list=$_GET["favorites_list"];}
elseif (isset($_POST["favorites_list"])) {$favorites_list=$_POST["favorites_list"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '1.1.11';
$build = '60421-1359';
$version = '1.1.12';
$build = '60825-1028';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
@@ -141,8 +146,8 @@ echo "$row[0]|";
{
$loop_count++;
$row=mysql_fetch_row($rslt);
$ChannelA[$loop_count] = "$row[0]";
$ChannelB[$loop_count] = "$row[1]";
$ChanneLA[$loop_count] = "$row[0]";
$ChanneLB[$loop_count] = "$row[1]";
if ($format=='debug') {echo "\n<!-- $row[0] $row[1] -->";}
}
}
@@ -151,7 +156,7 @@ echo "$row[0]|";
while($loop_count > $counter)
{
$counter++;
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel_data = '$ChannelA[$counter]';";
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -159,13 +164,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel_data = '$ChannelA[$counter]';";
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -173,13 +178,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$ChannelB[$counter]%\";";
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -187,13 +192,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel LIKE \"$ChannelB[$counter]%\";";
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -201,16 +206,16 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $row[0]|";
}
else
{
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelBtrunk: $ChannelA[$counter]|";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $ChanneLA[$counter]|";
}
}
}
+21 -2
View File
@@ -37,6 +37,7 @@
# 50610-1155 - Added NULL check on MySQL results to reduced errors
# 50711-1209 - removed HTTP authentication in favor of user/pass vars
# 60421-1155 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1118 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -79,6 +80,24 @@ if (isset($_GET["textareawidth"])) {$textareawidth=$_GET["textareawidth"];}
if (isset($_GET["field_name"])) {$field_name=$_GET["field_name"];}
elseif (isset($_POST["field_name"])) {$field_name=$_POST["field_name"];}
### security strip all non-alphanumeric characters out of the variables ###
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
$ADD=ereg_replace("[^0-9]","",$ADD);
$order=ereg_replace("[^0-9a-zA-Z]","",$order);
$format=ereg_replace("[^0-9a-zA-Z]","",$format);
$bgcolor=ereg_replace("[^\#0-9a-zA-Z]","",$bgcolor);
$txtcolor=ereg_replace("[^\#0-9a-zA-Z]","",$txtcolor);
$txtsize=ereg_replace("[^0-9a-zA-Z]","",$txtsize);
$selectsize=ereg_replace("[^0-9a-zA-Z]","",$selectsize);
$selectfontsize=ereg_replace("[^0-9a-zA-Z]","",$selectfontsize);
$selectedext=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedext);
$selectedtrunk=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedtrunk);
$selectedlocal=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedlocal);
$textareaheight=ereg_replace("[^0-9a-zA-Z]","",$textareaheight);
$textareawidth=ereg_replace("[^0-9a-zA-Z]","",$textareawidth);
$field_name=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$field_name);
# default optional vars if not set
if (!isset($ADD)) {$ADD="1";}
if (!isset($order)) {$order='desc';}
@@ -91,8 +110,8 @@ if (!isset($selectfontsize)) {$selectfontsize='10';}
if (!isset($textareaheight)) {$textareaheight='10';}
if (!isset($textareawidth)) {$textareawidth='20';}
$version = '0.0.7';
$build = '60421-1155';
$version = '0.0.8';
$build = '60619-1118';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+6 -2
View File
@@ -27,6 +27,7 @@
# 50711-1202 - removed HTTP authentication in favor of user/pass vars
# 60323-1550 - added option for showing different number dialed in log
# 60421-1401 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1202 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -47,6 +48,9 @@ if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];}
elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
if (!isset($in_limit)) {$in_limit="100";}
@@ -54,8 +58,8 @@ if (!isset($out_limit)) {$out_limit="100";}
$number_dialed = 'number_dialed';
#$number_dialed = 'extension';
$version = '0.0.7';
$build = '60421-1401';
$version = '0.0.8';
$build = '60619-1202';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+6 -2
View File
@@ -31,6 +31,7 @@
# 51121-1353 - Altered echo statements for several small PHP speed optimizations
# 60410-1424 - Added ability to grab calls-being-placed and agent status
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1201 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -59,13 +60,16 @@ if (isset($_GET["auto_dial_level"])) {$auto_dial_level=$_GET["auto_dial_level"
if (isset($_GET["campagentstdisp"])) {$campagentstdisp=$_GET["campagentstdisp"];}
elseif (isset($_POST["campagentstdisp"])) {$campagentstdisp=$_POST["campagentstdisp"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
if (!isset($ACTION)) {$ACTION="refresh";}
if (!isset($client)) {$client="agc";}
$version = '0.0.8';
$build = '60421-1405';
$version = '0.0.9';
$build = '60619-1201';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+5 -2
View File
@@ -29,6 +29,7 @@
# 50503-1244 - added session_name checking for extra security
# 50711-1203 - removed HTTP authentication in favor of user/pass vars
# 60421-1043 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1205 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -61,12 +62,14 @@ if (isset($_GET["local_web_callerID_URL_enc"])) {$local_web_callerID_URL_enc=$
if (isset($_GET["local_web_callerID_URL_enc"])) {$local_web_callerID_URL = rawurldecode($local_web_callerID_URL_enc);}
else {$local_web_callerID_URL = '';}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '0.0.5';
$build = '60421-1043';
$version = '0.0.6';
$build = '60619-1205';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+24 -19
View File
@@ -27,6 +27,8 @@
# 50711-1204 - removed HTTP authentication in favor of user/pass vars
# 60103-1541 - added favorite extens status display
# 60421-1359 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1203 - Added variable filters to close security holes for login form
# 60825-1028 - Fixed translation variable issue ChannelA
#
require("dbconnect.php");
@@ -51,11 +53,14 @@ if (isset($_GET["favorites_count"])) {$favorites_count=$_GET["favorites_count
if (isset($_GET["favorites_list"])) {$favorites_list=$_GET["favorites_list"];}
elseif (isset($_POST["favorites_list"])) {$favorites_list=$_POST["favorites_list"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '1.1.11';
$build = '60421-1359';
$version = '1.1.12';
$build = '60825-1028';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
@@ -141,8 +146,8 @@ echo "$row[0]|";
{
$loop_count++;
$row=mysql_fetch_row($rslt);
$ΚανάλιA[$loop_count] = "$row[0]";
$ΚανάλιB[$loop_count] = "$row[1]";
$ChanneLA[$loop_count] = "$row[0]";
$ChanneLB[$loop_count] = "$row[1]";
if ($format=='debug') {echo "\n<!-- $row[0] $row[1] -->";}
}
}
@@ -151,7 +156,7 @@ echo "$row[0]|";
while($loop_count > $counter)
{
$counter++;
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel_data = '$ChannelA[$counter]';";
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -159,13 +164,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ΚανάλιA: $ΚανάλιA[$counter] ~";
echo "ΚανάλιB: $ΚανάλιB[$counter] ~";
echo "ΚανάλιA: $ChanneLA[$counter] ~";
echo "ΚανάλιB: $ChanneLB[$counter] ~";
echo "ΚανάλιBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel_data = '$ChannelA[$counter]';";
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -173,13 +178,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ΚανάλιA: $ΚανάλιA[$counter] ~";
echo "ΚανάλιB: $ΚανάλιB[$counter] ~";
echo "ΚανάλιA: $ChanneLA[$counter] ~";
echo "ΚανάλιB: $ChanneLB[$counter] ~";
echo "ΚανάλιBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$ChannelB[$counter]%\";";
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -187,13 +192,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ΚανάλιA: $ΚανάλιA[$counter] ~";
echo "ΚανάλιB: $ΚανάλιB[$counter] ~";
echo "ΚανάλιA: $ChanneLA[$counter] ~";
echo "ΚανάλιB: $ChanneLB[$counter] ~";
echo "ΚανάλιBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel LIKE \"$ChannelB[$counter]%\";";
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -201,16 +206,16 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ΚανάλιA: $ΚανάλιA[$counter] ~";
echo "ΚανάλιB: $ΚανάλιB[$counter] ~";
echo "ΚανάλιA: $ChanneLA[$counter] ~";
echo "ΚανάλιB: $ChanneLB[$counter] ~";
echo "ΚανάλιBtrunk: $row[0]|";
}
else
{
echo "Conversation: $counter ~";
echo "ΚανάλιA: $ΚανάλιA[$counter] ~";
echo "ΚανάλιB: $ΚανάλιB[$counter] ~";
echo "ΚανάλιBtrunk: $ΚανάλιA[$counter]|";
echo "ΚανάλιA: $ChanneLA[$counter] ~";
echo "ΚανάλιB: $ChanneLB[$counter] ~";
echo "ΚανάλιBtrunk: $ChanneLA[$counter]|";
}
}
}
+7 -2
View File
@@ -58,6 +58,7 @@
# 51129-1253 - Fixed Hangups of other agents channels in VICIDIAL AD
# 60310-2022 - Fixed NEXTAVAILABLE bug in leave-3way-call redirect function
# 60421-1413 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1158 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -112,13 +113,17 @@ if (isset($_GET["call_server_ip"])) {$call_server_ip=$_GET["call_server_ip"];
if (isset($_GET["CalLCID"])) {$CalLCID=$_GET["CalLCID"];}
elseif (isset($_POST["CalLCID"])) {$CalLCID=$_POST["CalLCID"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
$secondS = ereg_replace("[^0-9]","",$secondS);
# default optional vars if not set
if (!isset($ACTION)) {$ACTION="Originate";}
if (!isset($format)) {$format="alert";}
if (!isset($ext_priority)) {$ext_priority="1";}
$version = '0.0.23';
$build = '60421-1413';
$version = '0.0.24';
$build = '60619-1158';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+6 -2
View File
@@ -21,6 +21,7 @@
# 50524-1515 - First build of script
# 50711-1208 - removed HTTP authentication in favor of user/pass vars
# 60421-1111 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1205 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -41,12 +42,15 @@ if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];}
elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
if (!isset($park_limit)) {$park_limit="1000";}
$version = '0.0.3';
$build = '60421-1111';
$version = '0.0.4';
$build = '60619-1205';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+2 -2
View File
@@ -1181,7 +1181,7 @@ if ($ACTION == 'VDADcheckINCOMING')
$rslt=mysql_query($stmt, $link);
### If ΚΛΗΣΗBK, change vicidial_callback record to INACTIVE
if (eregi("CALLBK|CBHΠΑΛΑΙΟ", $dispo))
if (eregi("CALLBK|CBHOLD", $dispo))
{
$stmt="UPDATE vicidial_callbacks set status='INACTIVE' where lead_id='$lead_id';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
@@ -1314,7 +1314,7 @@ if ($ACTION == 'updateDISPO')
$agent_log_id = mysql_insert_id();
### ΚΛΗΣΗBACK ENTRY
if ( ($dispo_choice == 'CBHΠΑΛΑΙΟ') and (strlen($CallBackDatETimE)>10) )
if ( ($dispo_choice == 'CBHOLD') and (strlen($CallBackDatETimE)>10) )
{
$stmt="INSERT INTO vicidial_callbacks (lead_id,list_id,campaign_id,status,entry_time,callback_time,user,recipient,comments) values('$lead_id','$list_id','$campaign','ACTIVE','$NOW_TIME','$CallBackDatETimE','$user','$recipient','$comments');";
if ($DB) {echo "$stmt\n";}
+12 -5
View File
@@ -112,6 +112,7 @@
# 60609-1123 - Added add-number-to-DNC-list function and manual dial check DNC
# 60619-1047 - Added variable filters to close security holes for login form
# 60804-1710 - fixed scheduled CALLBK for other languages build
# 60816-1715 - Fixed customer time display bug and client DST setting
#
require("dbconnect.php");
@@ -157,8 +158,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
$forever_stop=0;
$version = '1.1.86';
$build = '60804-1710';
$version = '1.1.87';
$build = '60816-1715';
if ($force_logout)
{
@@ -166,6 +167,7 @@ if ($force_logout)
exit;
}
$isdst = date("I");
$StarTtimE = date("U");
$NOW_TIME = date("Y-m-d H:i:s");
$tsNOW_TIME = date("YmdHis");
@@ -186,6 +188,7 @@ $view_scripts = '1'; # set to 1 to show the SCRIPTS tab
$dispo_check_all_pause = '0'; # set to 1 to allow for persistent pause after dispo
$agentcallsstatus = '0'; # set to 1 to show agent status and call count
$campagentstatctmax = '0'; # Number of δευτερόλεπτα for campaign call and agent stats
$clientDST = '1'; # set to 1 to check for DST στο server for agent time
$TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen
@@ -740,6 +743,10 @@ else
$DBX_pass=$row[58];
$DBX_port=$row[59];
if ($clientDST)
{
$local_gmt = ($local_gmt + $isdst);
}
if ($protocol == 'EXTERNAL')
{
$protocol = 'Local';
@@ -1000,8 +1007,8 @@ $CTODAY = date("Y-m");
$CTODAYmday = date("j");
$CINC=0;
$Cmonths = Array('January','February','March','April','May','June',
'July','August','September','October','November','December');
$Cmonths = Array('Φεβρουάριος','February','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος');
$Cdays = Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat');
$CCAL_OUT = '';
@@ -4428,7 +4435,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
// alert(CallBackDatETimE + "|" + CallBackCommenTs);
document.vicidial_form.DispoSelection.value = 'CBHΠΑΛΑΙΟ';
document.vicidial_form.DispoSelection.value = 'CBHOLD';
hideDiv('CallBackSelectBox');
DispoSelect_submit();
}
+6 -2
View File
@@ -21,6 +21,7 @@
# 50503-1241 - added session_name checking for extra security
# 50711-1201 - removed HTTP authentication in favor of user/pass vars
# 60421-1147 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1204 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -39,11 +40,14 @@ if (isset($_GET["format"])) {$format=$_GET["format"];}
if (isset($_GET["vmail_box"])) {$vmail_box=$_GET["vmail_box"];}
elseif (isset($_POST["vmail_box"])) {$vmail_box=$_POST["vmail_box"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '0.0.4';
$build = '60421-1147';
$version = '0.0.5';
$build = '60619-1204';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+21 -2
View File
@@ -37,6 +37,7 @@
# 50610-1155 - Added NULL check on MySQL results to reduced errors
# 50711-1209 - removed HTTP authentication in favor of user/pass vars
# 60421-1155 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1118 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -79,6 +80,24 @@ if (isset($_GET["textareawidth"])) {$textareawidth=$_GET["textareawidth"];}
if (isset($_GET["field_name"])) {$field_name=$_GET["field_name"];}
elseif (isset($_POST["field_name"])) {$field_name=$_POST["field_name"];}
### security strip all non-alphanumeric characters out of the variables ###
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
$ADD=ereg_replace("[^0-9]","",$ADD);
$order=ereg_replace("[^0-9a-zA-Z]","",$order);
$format=ereg_replace("[^0-9a-zA-Z]","",$format);
$bgcolor=ereg_replace("[^\#0-9a-zA-Z]","",$bgcolor);
$txtcolor=ereg_replace("[^\#0-9a-zA-Z]","",$txtcolor);
$txtsize=ereg_replace("[^0-9a-zA-Z]","",$txtsize);
$selectsize=ereg_replace("[^0-9a-zA-Z]","",$selectsize);
$selectfontsize=ereg_replace("[^0-9a-zA-Z]","",$selectfontsize);
$selectedext=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedext);
$selectedtrunk=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedtrunk);
$selectedlocal=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedlocal);
$textareaheight=ereg_replace("[^0-9a-zA-Z]","",$textareaheight);
$textareawidth=ereg_replace("[^0-9a-zA-Z]","",$textareawidth);
$field_name=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$field_name);
# default optional vars if not set
if (!isset($ADD)) {$ADD="1";}
if (!isset($order)) {$order='desc';}
@@ -91,8 +110,8 @@ if (!isset($selectfontsize)) {$selectfontsize='10';}
if (!isset($textareaheight)) {$textareaheight='10';}
if (!isset($textareawidth)) {$textareawidth='20';}
$version = '0.0.7';
$build = '60421-1155';
$version = '0.0.8';
$build = '60619-1118';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+6 -2
View File
@@ -27,6 +27,7 @@
# 50711-1202 - removed HTTP authentication in favor of user/pass vars
# 60323-1550 - added option for showing different number dialed in log
# 60421-1401 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1202 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -47,6 +48,9 @@ if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];}
elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
if (!isset($in_limit)) {$in_limit="100";}
@@ -54,8 +58,8 @@ if (!isset($out_limit)) {$out_limit="100";}
$number_dialed = 'number_dialed';
#$number_dialed = 'extension';
$version = '0.0.7';
$build = '60421-1401';
$version = '0.0.8';
$build = '60619-1202';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+6 -2
View File
@@ -31,6 +31,7 @@
# 51121-1353 - Altered echo statements for several small PHP speed optimizations
# 60410-1424 - Added ability to grab calls-being-placed and agent status
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1201 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -59,13 +60,16 @@ if (isset($_GET["auto_dial_level"])) {$auto_dial_level=$_GET["auto_dial_level"
if (isset($_GET["campagentstdisp"])) {$campagentstdisp=$_GET["campagentstdisp"];}
elseif (isset($_POST["campagentstdisp"])) {$campagentstdisp=$_POST["campagentstdisp"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
if (!isset($ACTION)) {$ACTION="refresh";}
if (!isset($client)) {$client="agc";}
$version = '0.0.8';
$build = '60421-1405';
$version = '0.0.9';
$build = '60619-1201';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+5 -2
View File
@@ -29,6 +29,7 @@
# 50503-1244 - added session_name checking for extra security
# 50711-1203 - removed HTTP authentication in favor of user/pass vars
# 60421-1043 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1205 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -61,12 +62,14 @@ if (isset($_GET["local_web_callerID_URL_enc"])) {$local_web_callerID_URL_enc=$
if (isset($_GET["local_web_callerID_URL_enc"])) {$local_web_callerID_URL = rawurldecode($local_web_callerID_URL_enc);}
else {$local_web_callerID_URL = '';}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '0.0.5';
$build = '60421-1043';
$version = '0.0.6';
$build = '60619-1205';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+24 -19
View File
@@ -27,6 +27,8 @@
# 50711-1204 - removed HTTP authentication in favor of user/pass vars
# 60103-1541 - added favorite extens status display
# 60421-1359 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1203 - Added variable filters to close security holes for login form
# 60825-1028 - Fixed translation variable issue ChannelA
#
require("dbconnect.php");
@@ -51,11 +53,14 @@ if (isset($_GET["favorites_count"])) {$favorites_count=$_GET["favorites_count
if (isset($_GET["favorites_list"])) {$favorites_list=$_GET["favorites_list"];}
elseif (isset($_POST["favorites_list"])) {$favorites_list=$_POST["favorites_list"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '1.1.11';
$build = '60421-1359';
$version = '1.1.12';
$build = '60825-1028';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
@@ -141,8 +146,8 @@ echo "$row[0]|";
{
$loop_count++;
$row=mysql_fetch_row($rslt);
$CanalA[$loop_count] = "$row[0]";
$CanalB[$loop_count] = "$row[1]";
$ChanneLA[$loop_count] = "$row[0]";
$ChanneLB[$loop_count] = "$row[1]";
if ($format=='debug') {echo "\n<!-- $row[0] $row[1] -->";}
}
}
@@ -151,7 +156,7 @@ echo "$row[0]|";
while($loop_count > $counter)
{
$counter++;
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel_data = '$ChannelA[$counter]';";
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -159,13 +164,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "CanalA: $CanalA[$counter] ~";
echo "CanalB: $CanalB[$counter] ~";
echo "CanalA: $ChanneLA[$counter] ~";
echo "CanalB: $ChanneLB[$counter] ~";
echo "CanalBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel_data = '$ChannelA[$counter]';";
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -173,13 +178,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "CanalA: $CanalA[$counter] ~";
echo "CanalB: $CanalB[$counter] ~";
echo "CanalA: $ChanneLA[$counter] ~";
echo "CanalB: $ChanneLB[$counter] ~";
echo "CanalBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$ChannelB[$counter]%\";";
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -187,13 +192,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "CanalA: $CanalA[$counter] ~";
echo "CanalB: $CanalB[$counter] ~";
echo "CanalA: $ChanneLA[$counter] ~";
echo "CanalB: $ChanneLB[$counter] ~";
echo "CanalBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel LIKE \"$ChannelB[$counter]%\";";
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -201,16 +206,16 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "CanalA: $CanalA[$counter] ~";
echo "CanalB: $CanalB[$counter] ~";
echo "CanalA: $ChanneLA[$counter] ~";
echo "CanalB: $ChanneLB[$counter] ~";
echo "CanalBtrunk: $row[0]|";
}
else
{
echo "Conversation: $counter ~";
echo "CanalA: $CanalA[$counter] ~";
echo "CanalB: $CanalB[$counter] ~";
echo "CanalBtrunk: $CanalA[$counter]|";
echo "CanalA: $ChanneLA[$counter] ~";
echo "CanalB: $ChanneLB[$counter] ~";
echo "CanalBtrunk: $ChanneLA[$counter]|";
}
}
}
+9 -4
View File
@@ -58,6 +58,7 @@
# 51129-1253 - Fixed Hangups of other agents channels in VICIDIAL AD
# 60310-2022 - Fixed NEXTAVAILABLE bug in leave-3way-call redirect function
# 60421-1413 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1158 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -112,13 +113,17 @@ if (isset($_GET["call_server_ip"])) {$call_server_ip=$_GET["call_server_ip"];
if (isset($_GET["CalLCID"])) {$CalLCID=$_GET["CalLCID"];}
elseif (isset($_POST["CalLCID"])) {$CalLCID=$_POST["CalLCID"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
$secondS = ereg_replace("[^0-9]","",$secondS);
# default optional vars if not set
if (!isset($ACTION)) {$ACTION="Originate";}
if (!isset($format)) {$format="alert";}
if (!isset($ext_priority)) {$ext_priority="1";}
$version = '0.0.23';
$build = '60421-1413';
$version = '0.0.24';
$build = '60619-1158';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
@@ -416,13 +421,13 @@ if ($ACTION=="RedirectVD")
if (strlen($call_server_ip)>6) {$server_ip = $call_server_ip;}
if (eregi("CLOSER",$campaign))
{
$stmt = "UPDATE vicidial_closer_log set end_epoch='$StarTtime', length_in_sec='$secondS',status='TRANSFERENCIA' where lead_id='$lead_id' order by start_epoch desc limit 1;";
$stmt = "UPDATE vicidial_closer_log set end_epoch='$StarTtime', length_in_sec='$secondS',status='XFER' where lead_id='$lead_id' order by start_epoch desc limit 1;";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
}
if ($auto_dial_level < 1)
{
$stmt = "UPDATE vicidial_log set end_epoch='$StarTtime', length_in_sec='$secondS',status='TRANSFERENCIA' where uniqueid='$uniqueid';";
$stmt = "UPDATE vicidial_log set end_epoch='$StarTtime', length_in_sec='$secondS',status='XFER' where uniqueid='$uniqueid';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
}
+6 -2
View File
@@ -21,6 +21,7 @@
# 50524-1515 - First build of script
# 50711-1208 - removed HTTP authentication in favor of user/pass vars
# 60421-1111 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1205 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -41,12 +42,15 @@ if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];}
elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
if (!isset($park_limit)) {$park_limit="1000";}
$version = '0.0.3';
$build = '60421-1111';
$version = '0.0.4';
$build = '60619-1205';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+2 -2
View File
@@ -1181,7 +1181,7 @@ if ($ACTION == 'VDADcheckINCOMING')
$rslt=mysql_query($stmt, $link);
### If LLAMADABK, change vicidial_callback record to INACTIVE
if (eregi("CALLBK|CBHVIEJO", $dispo))
if (eregi("CALLBK|CBHOLD", $dispo))
{
$stmt="UPDATE vicidial_callbacks set status='INACTIVE' where lead_id='$lead_id';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
@@ -1314,7 +1314,7 @@ if ($ACTION == 'updateDISPO')
$agent_log_id = mysql_insert_id();
### LLAMADABACK ENTRY
if ( ($dispo_choice == 'CBHVIEJO') and (strlen($CallBackDatETimE)>10) )
if ( ($dispo_choice == 'CBHOLD') and (strlen($CallBackDatETimE)>10) )
{
$stmt="INSERT INTO vicidial_callbacks (lead_id,list_id,campaign_id,status,entry_time,callback_time,user,recipient,comments) values('$lead_id','$list_id','$campaign','ACTIVE','$NOW_TIME','$CallBackDatETimE','$user','$recipient','$comments');";
if ($DB) {echo "$stmt\n";}
+13 -6
View File
@@ -112,6 +112,7 @@
# 60609-1123 - Added add-number-to-DNC-list function and manual dial check DNC
# 60619-1047 - Added variable filters to close security holes for login form
# 60804-1710 - fixed scheduled CALLBK for other languages build
# 60816-1715 - Fixed customer time display bug and client DST setting
#
require("dbconnect.php");
@@ -157,8 +158,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
$forever_stop=0;
$version = '1.1.86';
$build = '60804-1710';
$version = '1.1.87';
$build = '60816-1715';
if ($force_logout)
{
@@ -166,6 +167,7 @@ if ($force_logout)
exit;
}
$isdst = date("I");
$StarTtimE = date("U");
$NOW_TIME = date("Y-m-d H:i:s");
$tsNOW_TIME = date("YmdHis");
@@ -186,6 +188,7 @@ $view_scripts = '1'; # set to 1 to show the SCRIPTS tab
$dispo_check_all_pause = '0'; # set to 1 to allow for persistent pause after dispo
$agentcallsstatus = '0'; # set to 1 to show agent status and call count
$campagentstatctmax = '0'; # Number of segundos for campaign call and agent stats
$clientDST = '1'; # set to 1 to check for DST en server for agent time
$TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen
@@ -740,6 +743,10 @@ else
$DBX_pass=$row[58];
$DBX_port=$row[59];
if ($clientDST)
{
$local_gmt = ($local_gmt + $isdst);
}
if ($protocol == 'EXTERNAL')
{
$protocol = 'Local';
@@ -1000,8 +1007,8 @@ $CTODAY = date("Y-m");
$CTODAYmday = date("j");
$CINC=0;
$Cmonths = Array('January','February','March','April','May','June',
'July','August','September','October','November','December');
$Cmonths = Array('Enero','February','Marcha','Abril','Puede','Junio',
'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre');
$Cdays = Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat');
$CCAL_OUT = '';
@@ -1895,7 +1902,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
// ################################################################################
// Send Redirect command for live call to Manager sends phone name where call is going to
// Covers the following types: TRANSFERENCIA, VMAIL, ENTRY, CONF, PARKING, FROMPARKING, XfeRLOCAL, XfeRINTERNAL, XfeRBLIND, VfeRVMAIL
// Covers the following types: XFER, VMAIL, ENTRY, CONF, PARKING, FROMPARKING, XfeRLOCAL, XfeRINTERNAL, XfeRBLIND, VfeRVMAIL
function mainxfer_send_redirect(taskvar,taskxferconf,taskserverip)
{
var xmlhttp=false;
@@ -4428,7 +4435,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
// alert(CallBackDatETimE + "|" + CallBackCommenTs);
document.vicidial_form.DispoSelection.value = 'CBHVIEJO';
document.vicidial_form.DispoSelection.value = 'CBHOLD';
hideDiv('CallBackSelectBox');
DispoSelect_submit();
}
+6 -2
View File
@@ -21,6 +21,7 @@
# 50503-1241 - added session_name checking for extra security
# 50711-1201 - removed HTTP authentication in favor of user/pass vars
# 60421-1147 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1204 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
@@ -39,11 +40,14 @@ if (isset($_GET["format"])) {$format=$_GET["format"];}
if (isset($_GET["vmail_box"])) {$vmail_box=$_GET["vmail_box"];}
elseif (isset($_POST["vmail_box"])) {$vmail_box=$_POST["vmail_box"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '0.0.4';
$build = '60421-1147';
$version = '0.0.5';
$build = '60619-1204';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
+482
View File
@@ -0,0 +1,482 @@
<?
### active_list_refresh.php
###
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2
###
### This script is designed purely to serve updates of the live data to the display scripts
### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
###
### required variables:
### - $server_ip
### - $session_name
### - $user
### - $pass
### optional variables:
### - $ADD - ('1','2','3','4','5')
### - $order - ('asc','desc')
### - $format - ('text','table','menu','selectlist','textarea')
### - $bgcolor - ('#123456','white','black','etc...')
### - $txtcolor - ('#654321','black','white','etc...')
### - $txtsize - ('1','2','3','etc...')
### - $selectsize - ('2','3','4','etc...')
### - $selectfontsize - ('8','10','12','etc...')
### - $selectedext - ('cc100')
### - $selectedtrunk - ('Zap/25-1')
### - $selectedlocal - ('SIP/cc100')
### - $textareaheight - ('8','10','12','etc...')
### - $textareawidth - ('8','10','12','etc...')
### - $field_name - ('extension','busyext','extension_xfer','etc...')
###
# changes
# 50323-1147 - First build of script
# 50401-1132 - small formatting changes
# 50502-1402 - added field_name as modifiable variable
# 50503-1213 - added session_name checking for extra security
# 50503-1311 - added conferences list
# 50610-1155 - Added NULL check on MySQL results to reduced errors
# 50711-1209 - removed HTTP authentication in favor of user/pass vars
# 60421-1155 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1118 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
### If you have globals turned off uncomment these lines
if (isset($_GET["user"])) {$user=$_GET["user"];}
elseif (isset($_POST["user"])) {$user=$_POST["user"];}
if (isset($_GET["pass"])) {$pass=$_GET["pass"];}
elseif (isset($_POST["pass"])) {$pass=$_POST["pass"];}
if (isset($_GET["server_ip"])) {$server_ip=$_GET["server_ip"];}
elseif (isset($_POST["server_ip"])) {$server_ip=$_POST["server_ip"];}
if (isset($_GET["session_name"])) {$session_name=$_GET["session_name"];}
elseif (isset($_POST["session_name"])) {$session_name=$_POST["session_name"];}
if (isset($_GET["format"])) {$format=$_GET["format"];}
elseif (isset($_POST["format"])) {$format=$_POST["format"];}
if (isset($_GET["ADD"])) {$ADD=$_GET["ADD"];}
elseif (isset($_POST["ADD"])) {$ADD=$_POST["ADD"];}
if (isset($_GET["order"])) {$order=$_GET["order"];}
elseif (isset($_POST["order"])) {$order=$_POST["order"];}
if (isset($_GET["bgcolor"])) {$bgcolor=$_GET["bgcolor"];}
elseif (isset($_POST["bgcolor"])) {$bgcolor=$_POST["bgcolor"];}
if (isset($_GET["txtcolor"])) {$txtcolor=$_GET["txtcolor"];}
elseif (isset($_POST["txtcolor"])) {$txtcolor=$_POST["txtcolor"];}
if (isset($_GET["txtsize"])) {$txtsize=$_GET["txtsize"];}
elseif (isset($_POST["txtsize"])) {$txtsize=$_POST["txtsize"];}
if (isset($_GET["selectsize"])) {$selectsize=$_GET["selectsize"];}
elseif (isset($_POST["selectsize"])) {$selectsize=$_POST["selectsize"];}
if (isset($_GET["selectfontsize"])) {$selectfontsize=$_GET["selectfontsize"];}
elseif (isset($_POST["selectfontsize"])) {$selectfontsize=$_POST["selectfontsize"];}
if (isset($_GET["selectedext"])) {$selectedext=$_GET["selectedext"];}
elseif (isset($_POST["selectedext"])) {$selectedext=$_POST["selectedext"];}
if (isset($_GET["selectedtrunk"])) {$selectedtrunk=$_GET["selectedtrunk"];}
elseif (isset($_POST["selectedtrunk"])) {$selectedtrunk=$_POST["selectedtrunk"];}
if (isset($_GET["selectedlocal"])) {$selectedlocal=$_GET["selectedlocal"];}
elseif (isset($_POST["selectedlocal"])) {$selectedlocal=$_POST["selectedlocal"];}
if (isset($_GET["textareaheight"])) {$textareaheight=$_GET["textareaheight"];}
elseif (isset($_POST["textareaheight"])) {$textareaheight=$_POST["textareaheight"];}
if (isset($_GET["textareawidth"])) {$textareawidth=$_GET["textareawidth"];}
elseif (isset($_POST["textareawidth"])) {$textareawidth=$_POST["textareawidth"];}
if (isset($_GET["field_name"])) {$field_name=$_GET["field_name"];}
elseif (isset($_POST["field_name"])) {$field_name=$_POST["field_name"];}
### security strip all non-alphanumeric characters out of the variables ###
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
$ADD=ereg_replace("[^0-9]","",$ADD);
$order=ereg_replace("[^0-9a-zA-Z]","",$order);
$format=ereg_replace("[^0-9a-zA-Z]","",$format);
$bgcolor=ereg_replace("[^\#0-9a-zA-Z]","",$bgcolor);
$txtcolor=ereg_replace("[^\#0-9a-zA-Z]","",$txtcolor);
$txtsize=ereg_replace("[^0-9a-zA-Z]","",$txtsize);
$selectsize=ereg_replace("[^0-9a-zA-Z]","",$selectsize);
$selectfontsize=ereg_replace("[^0-9a-zA-Z]","",$selectfontsize);
$selectedext=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedext);
$selectedtrunk=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedtrunk);
$selectedlocal=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$selectedlocal);
$textareaheight=ereg_replace("[^0-9a-zA-Z]","",$textareaheight);
$textareawidth=ereg_replace("[^0-9a-zA-Z]","",$textareawidth);
$field_name=ereg_replace("[^ \#\*\:\/\@\.\-\_0-9a-zA-Z]","",$field_name);
# default optional vars if not set
if (!isset($ADD)) {$ADD="1";}
if (!isset($order)) {$order='desc';}
if (!isset($format)) {$format="text";}
if (!isset($bgcolor)) {$bgcolor='white';}
if (!isset($txtcolor)) {$txtcolor='black';}
if (!isset($txtsize)) {$txtsize='2';}
if (!isset($selectsize)) {$selectsize='4';}
if (!isset($selectfontsize)) {$selectfontsize='10';}
if (!isset($textareaheight)) {$textareaheight='10';}
if (!isset($textareawidth)) {$textareawidth='20';}
$version = '0.0.8';
$build = '60619-1118';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
if (!isset($query_date)) {$query_date = $NOW_DATE;}
$stmt="SELECT count(*) from vicidial_users where user='$user' and pass='$pass' and user_level > 0;";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$auth=$row[0];
if( (strlen($user)<2) or (strlen($pass)<2) or ($auth==0))
{
echo "Nieprawidłowy NazwaUżytkownika/Hasło: |$user|$pass|\n";
exit;
}
else
{
if( (strlen($server_ip)<6) or (!isset($server_ip)) or ( (strlen($session_name)<12) or (!isset($session_name)) ) )
{
echo "Nieprawidłowy server_ip: |$server_ip| or Nieprawidłowy session_name: |$session_name|\n";
exit;
}
else
{
$stmt="SELECT count(*) from web_client_sessions where session_name='$session_name' and server_ip='$server_ip';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$SNauth=$row[0];
if($SNauth==0)
{
echo "Nieprawidłowy session_name: |$session_name|$server_ip|\n";
exit;
}
else
{
# do nothing for now
}
}
}
if ($format=='table')
{
echo "<html>\n";
echo "<head>\n";
echo "<!-- WERSJA: $version KOMPILACJA: $build ADD: $ADD server_ip: $server_ip-->\n";
echo "<title>Listy: ";
if ($ADD==1) {echo "Aktywne numery wewnętrzne";}
if ($ADD==2) {echo "Zajęte numery wewnętrzne";}
if ($ADD==3) {echo "Linie zewnętrzne";}
if ($ADD==4) {echo "Numery wewnętrzne";}
if ($ADD==5) {echo "Konferencje";}
if ($ADD==99999) {echo "POMOC";}
echo "</title>\n";
echo "</head>\n";
echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
}
######################
# ADD=1 display all live extensions on a server
######################
if ($ADD==1)
{
$pt='pt';
if (!$field_name) {$field_name = 'extension';}
if ($format=='table') {echo "<TABLE WIDTH=120 BGCOLOR=$bgcolor cellpadding=0 cellspacing=0>\n";}
if ($format=='menu') {echo "<SELECT SIZE=1 name=\"$field_name\">\n";}
if ($format=='selectlist')
{
echo "<SELECT SIZE=$selectsize name=\"$field_name\" STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">\n";
}
if ($format=='textarea')
{
echo "<TEXTAREA ROWS=$textareaheight COLS=$textareawidth NAME=extension WRAP=off STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">";
}
$stmt="SELECT extension,fullname FROM phones where server_ip = '$server_ip' order by extension $order";
if ($format=='table') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$phones_to_print = mysql_num_rows($rslt);}
$o=0;
while ($phones_to_print > $o) {
$row=mysql_fetch_row($rslt);
if ($format=='table')
{
echo "<TR><TD ALIGN=LEFT NOWRAP><FONT FACE=\"ARIAL,HELVETICA\" COLOR=$txtcolor SIZE=$txtsize>";
echo "$row[0] - $row[1]";
echo "</TD></TR>\n";
}
if ( ($format=='text') or ($format=='textarea') )
{
echo "$row[0] - $row[1]\n";
}
if ( ($format=='menu') or ($format=='selectlist') )
{
echo "<OPTION ";
if ($row[0]=="$selectedext") {echo "SELECTED ";}
echo "VALUE=\"$row[0]\">";
echo "$row[0] - $row[1]";
echo "</OPTION>\n";
}
$o++;
}
if ($format=='table') {echo "</TABLE>\n";}
if ($format=='menu') {echo "</SELECT>\n";}
if ($format=='selectlist') {echo "</SELECT>\n";}
if ($format=='textarea') {echo "</TEXTAREA>\n";}
}
######################
# ADD=2 display all busy extensions on a server
######################
if ($ADD==2)
{
if (!$field_name) {$field_name = 'busyext';}
if ($format=='table') {echo "<TABLE WIDTH=120 BGCOLOR=$bgcolor cellpadding=0 cellspacing=0>\n";}
if ($format=='menu') {echo "<SELECT SIZE=1 name=\"$field_name\">\n";}
if ($format=='selectlist')
{
echo "<SELECT SIZE=$selectsize name=\"$field_name\" STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">\n";
}
if ($format=='textarea')
{
echo "<TEXTAREA ROWS=$textareaheight COLS=$textareawidth NAME=extension WRAP=off STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">";
}
$stmt="SELECT extension FROM live_channels where server_ip = '$server_ip' order by extension $order";
if ($format=='table') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$busys_to_print = mysql_num_rows($rslt);}
$o=0;
while ($busys_to_print > $o) {
$row=mysql_fetch_row($rslt);
if ($format=='table')
{
echo "<TR><TD ALIGN=LEFT NOWRAP><FONT FACE=\"ARIAL,HELVETICA\" COLOR=$txtcolor SIZE=$txtsize>";
echo "$row[0]";
echo "</TD></TR>\n";
}
if ( ($format=='text') or ($format=='textarea') )
{
echo "$row[0]\n";
}
if ( ($format=='menu') or ($format=='selectlist') )
{
echo "<OPTION ";
if ($row[0]=="$selectedext") {echo "SELECTED ";}
echo "VALUE=\"$row[0]\">";
echo "$row[0]";
echo "</OPTION>\n";
}
$o++;
}
if ($format=='table') {echo "</TABLE>\n";}
if ($format=='menu') {echo "</SELECT>\n";}
if ($format=='selectlist') {echo "</SELECT>\n";}
if ($format=='textarea') {echo "</TEXTAREA>\n";}
}
######################
# ADD=3 display all busy outside lines(trunks) on a server
######################
if ($ADD==3)
{
if (!$field_name) {$field_name = 'trunk';}
if ($format=='table') {echo "<TABLE WIDTH=120 BGCOLOR=$bgcolor cellpadding=0 cellspacing=0>\n";}
if ($format=='menu') {echo "<SELECT SIZE=1 name=\"$field_name\">\n";}
if ($format=='selectlist')
{
echo "<SELECT SIZE=$selectsize name=\"$field_name\" STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">\n";
}
if ($format=='textarea')
{
echo "<TEXTAREA ROWS=$textareaheight COLS=$textareawidth NAME=extension WRAP=off STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">";
}
$stmt="SELECT channel, extension FROM live_channels where server_ip = '$server_ip' order by channel $order";
if ($format=='table') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$busys_to_print = mysql_num_rows($rslt);}
$o=0;
while ($busys_to_print > $o) {
$row=mysql_fetch_row($rslt);
if ($format=='table')
{
echo "<TR><TD ALIGN=LEFT NOWRAP><FONT FACE=\"ARIAL,HELVETICA\" COLOR=$txtcolor SIZE=$txtsize>";
echo "$row[0] - $row[1]";
echo "</TD></TR>\n";
}
if ( ($format=='text') or ($format=='textarea') )
{
echo "$row[0] - $row[1]\n";
}
if ( ($format=='menu') or ($format=='selectlist') )
{
echo "<OPTION ";
if ($row[0]=="$selectedtrunk") {echo "SELECTED ";}
echo "VALUE=\"$row[0]\">";
echo "$row[0] - $row[1]";
echo "</OPTION>\n";
}
$o++;
}
if ($format=='table') {echo "</TABLE>\n";}
if ($format=='menu') {echo "</SELECT>\n";}
if ($format=='selectlist') {echo "</SELECT>\n";}
if ($format=='textarea') {echo "</TEXTAREA>\n";}
}
######################
# ADD=4 display all busy Local lines on a server
######################
if ($ADD==4)
{
if (!$field_name) {$field_name = 'local';}
if ($format=='table') {echo "<TABLE WIDTH=120 BGCOLOR=$bgcolor cellpadding=0 cellspacing=0>\n";}
if ($format=='menu') {echo "<SELECT SIZE=1 name=\"$field_name\">\n";}
if ($format=='selectlist')
{
echo "<SELECT SIZE=$selectsize name=\"$field_name\" STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">\n";
}
if ($format=='textarea')
{
echo "<TEXTAREA ROWS=$textareaheight COLS=$textareawidth NAME=extension WRAP=off STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">";
}
$stmt="SELECT channel, extension FROM live_sip_channels where server_ip = '$server_ip' order by channel $order";
if ($format=='table') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$busys_to_print = mysql_num_rows($rslt);}
$o=0;
while ($busys_to_print > $o) {
$row=mysql_fetch_row($rslt);
if ($format=='table')
{
echo "<TR><TD ALIGN=LEFT NOWRAP><FONT FACE=\"ARIAL,HELVETICA\" COLOR=$txtcolor SIZE=$txtsize>";
echo "$row[0] - $row[1]";
echo "</TD></TR>\n";
}
if ( ($format=='text') or ($format=='textarea') )
{
echo "$row[0] - $row[1]\n";
}
if ( ($format=='menu') or ($format=='selectlist') )
{
echo "<OPTION ";
if ($row[0]=="$selectedlocal") {echo "SELECTED ";}
echo "VALUE=\"$row[0]\">";
echo "$row[0] - $row[1]";
echo "</OPTION>\n";
}
$o++;
}
if ($format=='table') {echo "</TABLE>\n";}
if ($format=='menu') {echo "</SELECT>\n";}
if ($format=='selectlist') {echo "</SELECT>\n";}
if ($format=='textarea') {echo "</TEXTAREA>\n";}
}
######################
# ADD=5 display all agc-usable conferences on a server
######################
if ($ADD==5)
{
$pt='pt';
if (!$field_name) {$field_name = 'conferences';}
if ($format=='table') {echo "<TABLE WIDTH=120 BGCOLOR=$bgcolor cellpadding=0 cellspacing=0>\n";}
if ($format=='menu') {echo "<SELECT SIZE=1 name=\"$field_name\">\n";}
if ($format=='selectlist')
{
echo "<SELECT SIZE=$selectsize name=\"$field_name\" STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">\n";
}
if ($format=='textarea')
{
echo "<TEXTAREA ROWS=$textareaheight COLS=$textareawidth NAME=extension WRAP=off STYLE=\"font-family : sans-serif; font-size : $selectfontsize$pt\">";
}
$stmt="SELECT conf_exten,extension FROM conferences where server_ip = '$server_ip' order by conf_exten $order";
if ($format=='table') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$phones_to_print = mysql_num_rows($rslt);}
$o=0;
while ($phones_to_print > $o) {
$row=mysql_fetch_row($rslt);
if ($format=='table')
{
echo "<TR><TD ALIGN=LEFT NOWRAP><FONT FACE=\"ARIAL,HELVETICA\" COLOR=$txtcolor SIZE=$txtsize>";
echo "$row[0] - $row[1]";
echo "</TD></TR>\n";
}
if ( ($format=='text') or ($format=='textarea') )
{
echo "$row[0] - $row[1]\n";
}
if ( ($format=='menu') or ($format=='selectlist') )
{
echo "<OPTION ";
if ($row[0]=="$selectedext") {echo "SELECTED ";}
echo "VALUE=\"$row[0]\">";
echo "$row[0] - $row[1]";
echo "</OPTION>\n";
}
$o++;
}
if ($format=='table') {echo "</TABLE>\n";}
if ($format=='menu') {echo "</SELECT>\n";}
if ($format=='selectlist') {echo "</SELECT>\n";}
if ($format=='textarea') {echo "</TEXTAREA>\n";}
}
$ENDtime = date("U");
$RUNtime = ($ENDtime - $StarTtime);
if ($format=='table') {echo "\n<!-- czas działania skyptu: $RUNtime sekundy -->";}
if ($format=='table') {echo "\n</body>\n</html>\n";}
exit;
?>
File diff suppressed because it is too large Load Diff
+196
View File
@@ -0,0 +1,196 @@
<?
### call_log_display.php
###
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2
###
### This script is designed purely to send the inbound and outbound calls for a specific phone
### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
###
### required variables:
### - $server_ip
### - $session_name
### - $user
### - $pass
### optional variables:
### - $format - ('text','debug')
### - $exten - ('cc101','testphone','49-1','1234','913125551212',...)
### - $protocol - ('SIP','Zap','IAX2',...)
### - $in_limit - ('10','20','50','100',...)
### - $out_limit - ('10','20','50','100',...)
###
# changes
# 50406-1013 - First build of script
# 50407-1452 - Added definable limits
# 50503-1236 - added session_name checking for extra security
# 50610-1158 - Added NULL check on MySQL results to reduced errors
# 50711-1202 - removed HTTP authentication in favor of user/pass vars
# 60323-1550 - added option for showing different number dialed in log
# 60421-1401 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1202 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
### If you have globals turned off uncomment these lines
if (isset($_GET["user"])) {$user=$_GET["user"];}
elseif (isset($_POST["user"])) {$user=$_POST["user"];}
if (isset($_GET["pass"])) {$pass=$_GET["pass"];}
elseif (isset($_POST["pass"])) {$pass=$_POST["pass"];}
if (isset($_GET["server_ip"])) {$server_ip=$_GET["server_ip"];}
elseif (isset($_POST["server_ip"])) {$server_ip=$_POST["server_ip"];}
if (isset($_GET["session_name"])) {$session_name=$_GET["session_name"];}
elseif (isset($_POST["session_name"])) {$session_name=$_POST["session_name"];}
if (isset($_GET["format"])) {$format=$_GET["format"];}
elseif (isset($_POST["format"])) {$format=$_POST["format"];}
if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
elseif (isset($_POST["exten"])) {$exten=$_POST["exten"];}
if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];}
elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
if (!isset($in_limit)) {$in_limit="100";}
if (!isset($out_limit)) {$out_limit="100";}
$number_dialed = 'number_dialed';
#$number_dialed = 'extension';
$version = '0.0.8';
$build = '60619-1202';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
if (!isset($query_date)) {$query_date = $NOW_DATE;}
$stmt="SELECT count(*) from vicidial_users where user='$user' and pass='$pass' and user_level > 0;";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$auth=$row[0];
if( (strlen($user)<2) or (strlen($pass)<2) or ($auth==0))
{
echo "Nieprawidłowy NazwaUżytkownika/Hasło: |$user|$pass|\n";
exit;
}
else
{
if( (strlen($server_ip)<6) or (!isset($server_ip)) or ( (strlen($session_name)<12) or (!isset($session_name)) ) )
{
echo "Nieprawidłowy server_ip: |$server_ip| or Nieprawidłowy session_name: |$session_name|\n";
exit;
}
else
{
$stmt="SELECT count(*) from web_client_sessions where session_name='$session_name' and server_ip='$server_ip';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$SNauth=$row[0];
if($SNauth==0)
{
echo "Nieprawidłowy session_name: |$session_name|$server_ip|\n";
exit;
}
else
{
# do nothing for now
}
}
}
if ($format=='debug')
{
echo "<html>\n";
echo "<head>\n";
echo "<!-- WERSJA: $version KOMPILACJA: $build EXTEN: $exten server_ip: $server_ip-->\n";
echo "<title>Rejestr rozmów";
echo "</title>\n";
echo "</head>\n";
echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
}
$row=''; $rowx='';
$channel_live=1;
if ( (strlen($exten)<1) or (strlen($protocol)<3) )
{
$channel_live=0;
echo "Exten $exten nie jest prawidłowy lub protokół $protocol nie jest prawidłowy\n";
exit;
}
else
{
##### print outbound calls from the call_log table
$stmt="SELECT uniqueid,start_time,$number_dialed,length_in_sec FROM call_log where server_ip = '$server_ip' and channel LIKE \"$protocol/$exten%\" order by start_time desc limit $out_limit;";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$out_calls_count = mysql_num_rows($rslt);}
echo "$out_calls_count|";
$loop_count=0;
while ($out_calls_count>$loop_count)
{
$loop_count++;
$row=mysql_fetch_row($rslt);
$call_time_M = ($row[3] / 60);
$call_time_M = round($call_time_M, 2);
$call_time_M_int = intval("$call_time_M");
$call_time_SEC = ($call_time_M - $call_time_M_int);
$call_time_SEC = ($call_time_SEC * 60);
$call_time_SEC = round($call_time_SEC, 0);
if ($call_time_SEC < 10) {$call_time_SEC = "0$call_time_SEC";}
$call_time_MS = "$call_time_M_int:$call_time_SEC";
if ($number_dialed == 'extension') {$row[2] = substr($row[2],-10);}
echo "$row[0] ~$row[1] ~$row[2] ~$call_time_MS|";
}
echo "\n";
##### print inbound calls from the live_inbound_log table
$stmt="SELECT call_log.uniqueid,live_inbound_log.start_time,live_inbound_log.extension,caller_id,length_in_sec from live_inbound_log,call_log where phone_ext='$exten' and live_inbound_log.server_ip = '$server_ip' and call_log.uniqueid=live_inbound_log.uniqueid order by start_time desc limit $in_limit;";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$in_calls_count = mysql_num_rows($rslt);}
echo "$in_calls_count|";
$loop_count=0;
while ($in_calls_count>$loop_count)
{
$loop_count++;
$row=mysql_fetch_row($rslt);
$call_time_M = ($row[4] / 60);
$call_time_M = round($call_time_M, 2);
$call_time_M_int = intval("$call_time_M");
$call_time_SEC = ($call_time_M - $call_time_M_int);
$call_time_SEC = ($call_time_SEC * 60);
$call_time_SEC = round($call_time_SEC, 0);
if ($call_time_SEC < 10) {$call_time_SEC = "0$call_time_SEC";}
$call_time_MS = "$call_time_M_int:$call_time_SEC";
$callerIDnum = $row[3]; $callerIDname = $row[3];
$callerIDnum = preg_replace("/.*<|>.*/","",$callerIDnum);
$callerIDname = preg_replace("/\"| <\d*>/","",$callerIDname);
echo "$row[0] ~$row[1] ~$row[2] ~$callerIDnum ~$callerIDname ~$call_time_MS|";
}
echo "\n";
}
if ($format=='debug')
{
$ENDtime = date("U");
$RUNtime = ($ENDtime - $StarTtime);
echo "\n<!-- czas działania skyptu: $RUNtime sekundy -->";
echo "\n</body>\n</html>\n";
}
exit;
?>
+262
View File
@@ -0,0 +1,262 @@
<?
# conf_exten_check.php
#
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2
#
# This script is designed purely to send whether the meetme conference has live channels connected and which they are
# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
#
# required variables:
# - $server_ip
# - $session_name
# - $user
# - $pass
# optional variables:
# - $format - ('text','debug')
# - $ACTION - ('refresh','register')
# - $client - ('agc','vdc')
# - $conf_exten - ('8600011',...)
# - $exten - ('123test',...)
# - $auto_dial_level - ('0','1','1.2',...)
# - $campagentstdisp - ('YES',...)
#
# changes
# 50509-1054 - First build of script
# 50511-1112 - Added ability to register a conference room
# 50610-1159 - Added NULL check on MySQL results to reduced errors
# 50706-1429 - script changed to not use HTTP login vars, user/pass instead
# 50706-1525 - Added date-time display for vicidial client display
# 50816-1500 - Added random update to vicidial_live_agents table for vdc users
# 51121-1353 - Altered echo statements for several small PHP speed optimizations
# 60410-1424 - Added ability to grab calls-being-placed and agent status
# 60421-1405 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1201 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
### If you have globals turned off uncomment these lines
if (isset($_GET["user"])) {$user=$_GET["user"];}
elseif (isset($_POST["user"])) {$user=$_POST["user"];}
if (isset($_GET["pass"])) {$pass=$_GET["pass"];}
elseif (isset($_POST["pass"])) {$pass=$_POST["pass"];}
if (isset($_GET["server_ip"])) {$server_ip=$_GET["server_ip"];}
elseif (isset($_POST["server_ip"])) {$server_ip=$_POST["server_ip"];}
if (isset($_GET["session_name"])) {$session_name=$_GET["session_name"];}
elseif (isset($_POST["session_name"])) {$session_name=$_POST["session_name"];}
if (isset($_GET["format"])) {$format=$_GET["format"];}
elseif (isset($_POST["format"])) {$format=$_POST["format"];}
if (isset($_GET["ACTION"])) {$ACTION=$_GET["ACTION"];}
elseif (isset($_POST["ACTION"])) {$ACTION=$_POST["ACTION"];}
if (isset($_GET["client"])) {$client=$_GET["client"];}
elseif (isset($_POST["client"])) {$client=$_POST["client"];}
if (isset($_GET["conf_exten"])) {$conf_exten=$_GET["conf_exten"];}
elseif (isset($_POST["conf_exten"])) {$conf_exten=$_POST["conf_exten"];}
if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
elseif (isset($_POST["exten"])) {$exten=$_POST["exten"];}
if (isset($_GET["auto_dial_level"])) {$auto_dial_level=$_GET["auto_dial_level"];}
elseif (isset($_POST["auto_dial_level"])) {$auto_dial_level=$_POST["auto_dial_level"];}
if (isset($_GET["campagentstdisp"])) {$campagentstdisp=$_GET["campagentstdisp"];}
elseif (isset($_POST["campagentstdisp"])) {$campagentstdisp=$_POST["campagentstdisp"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
if (!isset($ACTION)) {$ACTION="refresh";}
if (!isset($client)) {$client="agc";}
$version = '0.0.9';
$build = '60619-1201';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
$FILE_TIME = date("Ymd_His");
if (!isset($query_date)) {$query_date = $NOW_DATE;}
$random = (rand(1000000, 9999999) + 10000000);
$stmt="SELECT count(*) from vicidial_users where user='$user' and pass='$pass' and user_level > 0;";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$auth=$row[0];
if( (strlen($user)<2) or (strlen($pass)<2) or ($auth==0))
{
echo "Nieprawidłowy NazwaUżytkownika/Hasło: |$user|$pass|\n";
exit;
}
else
{
if( (strlen($server_ip)<6) or (!isset($server_ip)) or ( (strlen($session_name)<12) or (!isset($session_name)) ) )
{
echo "Nieprawidłowy server_ip: |$server_ip| or Nieprawidłowy session_name: |$session_name|\n";
exit;
}
else
{
$stmt="SELECT count(*) from web_client_sessions where session_name='$session_name' and server_ip='$server_ip';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$SNauth=$row[0];
if($SNauth==0)
{
echo "Nieprawidłowy session_name: |$session_name|$server_ip|\n";
exit;
}
else
{
# do nothing for now
}
}
}
if ($format=='debug')
{
echo "<html>\n";
echo "<head>\n";
echo "<!-- WERSJA: $version KOMPILACJA: $build MEETME: $conf_exten server_ip: $server_ip-->\n";
echo "<title>Sprawdzanie numeru wewnętrznego konferencji";
echo "</title>\n";
echo "</head>\n";
echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
}
if ($ACTION == 'refresh')
{
$MT[0]='';
$row=''; $rowx='';
$channel_live=1;
if (strlen($conf_exten)<1)
{
$channel_live=0;
echo "Conf Exten $conf_exten nie jest prawidłowy\n";
exit;
}
else
{
if ($client == 'vdc')
{
if ($auto_dial_level > 0)
{
### update the vicidial_live_agents every second with a new random number so it is shown to be alive
$stmt="UPDATE vicidial_live_agents set random_id='$random' where user='$user' and server_ip='$server_ip';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($campagentstdisp == 'YES')
{
### grab the status of this agent to display
$stmt="SELECT status,campaign_id from vicidial_live_agents where user='$user' and server_ip='$server_ip';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$Astatus=$row[0];
$Acampaign=$row[1];
### grab the number of calls being placed from this server and campaign
$stmt="SELECT count(*) from vicidial_auto_calls where server_ip='$server_ip' and status NOT IN('XFER') and campaign_id='$Acampaign';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$RingCalls=$row[0];
}
else
{
$Astatus='N';
$RingCalls='N';
}
}
else
{
$Astatus='N';
$RingCalls='N';
}
echo 'DateTime: ' . $NOW_TIME . '|UnixTime: ' . $StarTtime . '|Status: ' . $Astatus . '|CampCalls: ' . $RingCalls . "|\n";
}
$total_conf=0;
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and extension = '$conf_exten';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$sip_list = mysql_num_rows($rslt);}
# echo "$sip_list|";
$loop_count=0;
while ($sip_list>$loop_count)
{
$loop_count++; $total_conf++;
$row=mysql_fetch_row($rslt);
$KanałA[$total_conf] = "$row[0]";
if ($format=='debug') {echo "\n<!-- $row[0] -->";}
}
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and extension = '$conf_exten';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$channels_list = mysql_num_rows($rslt);}
# echo "$channels_list|";
$loop_count=0;
while ($channels_list>$loop_count)
{
$loop_count++; $total_conf++;
$row=mysql_fetch_row($rslt);
$KanałA[$total_conf] = "$row[0]";
if ($format=='debug') {echo "\n<!-- $row[0] -->";}
}
}
$channels_list = ($channels_list + $sip_list);
echo "$channels_list|";
$counter=0;
$countecho='';
while($total_conf > $counter)
{
$counter++;
$countecho = "$countecho$KanałA[$counter] ~";
# echo "$KanałA[$counter] ~";
}
echo "$countecho\n";
}
if ($ACTION == 'register')
{
$MT[0]='';
$row=''; $rowx='';
$channel_live=1;
if ( (strlen($conf_exten)<1) || (strlen($exten)<1) )
{
$channel_live=0;
echo "Conf Exten $conf_exten nie jest prawidłowy or Exten $exten nie jest prawidłowy\n";
exit;
}
else
{
$stmt="UPDATE conferences set extension='$exten' where server_ip = '$server_ip' and conf_exten = '$conf_exten';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
}
echo "Konferencja $conf_exten został zarejestrowany $exten\n";
}
if ($format=='debug')
{
$ENDtime = date("U");
$RUNtime = ($ENDtime - $StarTtime);
echo "\n<!-- czas działania skyptu: $RUNtime sekundy -->";
echo "\n</body>\n</html>\n";
}
exit;
?>
+16
View File
@@ -0,0 +1,16 @@
<?
$link=mysql_connect("10.10.11.10", "astcron", "astcron");
mysql_select_db("asterisk");
$local_DEF = 'Local/';
$conf_silent_prefix = '7';
$local_AMP = '@';
$ext_context = 'demo';
$recording_exten = '8309';
$WeBServeRRooT = '/home/www/htdocs';
#$WeBServeRRooT = '/usr/local/apache2/htdocs';
$WeBRooTWritablE = '1';
?>
+351
View File
@@ -0,0 +1,351 @@
<?
### inbound_popup.php
###
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2
###
### This script is designed to open up when a live_inbound call comes in giving the user
### options of what to do with the call or options to lookup the callerID on various web sites
### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
###
### required variables:
### - $server_ip
### - $session_name
### - $uniqueid - ('1234567890.123456',...)
### - $user
### - $pass
### optional variables:
### - $format - ('text','debug')
### - $vmail_box - ('101','1234',...)
### - $exten - ('cc101','testphone','49-1','1234','913125551212',...)
### - $ext_context - ('default','demo',...)
### - $ext_priority - ('1','2',...)
### - $voicemail_dump_exten - ('85026666666666')
### - $local_web_callerID_URL_enc - ( rawurlencoded custom callerid lookup URL)
###
# changes
# 50428-1500 - First build of script display only
# 50429-1241 - some formatting, hangup and Vmail redirect, 30s timeout on actions, and CID web lookup links
# 50503-1244 - added session_name checking for extra security
# 50711-1203 - removed HTTP authentication in favor of user/pass vars
# 60421-1043 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1205 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
### If you have globals turned off uncomment these lines
if (isset($_GET["user"])) {$user=$_GET["user"];}
elseif (isset($_POST["user"])) {$user=$_POST["user"];}
if (isset($_GET["pass"])) {$pass=$_GET["pass"];}
elseif (isset($_POST["pass"])) {$pass=$_POST["pass"];}
if (isset($_GET["server_ip"])) {$server_ip=$_GET["server_ip"];}
elseif (isset($_POST["server_ip"])) {$server_ip=$_POST["server_ip"];}
if (isset($_GET["session_name"])) {$session_name=$_GET["session_name"];}
elseif (isset($_POST["session_name"])) {$session_name=$_POST["session_name"];}
if (isset($_GET["uniqueid"])) {$uniqueid=$_GET["uniqueid"];}
elseif (isset($_POST["uniqueid"])) {$uniqueid=$_POST["uniqueid"];}
if (isset($_GET["format"])) {$format=$_GET["format"];}
elseif (isset($_POST["format"])) {$format=$_POST["format"];}
if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
elseif (isset($_POST["exten"])) {$exten=$_POST["exten"];}
if (isset($_GET["vmail_box"])) {$vmail_box=$_GET["vmail_box"];}
elseif (isset($_POST["vmail_box"])) {$vmail_box=$_POST["vmail_box"];}
if (isset($_GET["ext_context"])) {$ext_context=$_GET["ext_context"];}
elseif (isset($_POST["ext_context"])) {$ext_context=$_POST["ext_context"];}
if (isset($_GET["ext_priority"])) {$ext_priority=$_GET["ext_priority"];}
elseif (isset($_POST["ext_priority"])) {$ext_priority=$_POST["ext_priority"];}
if (isset($_GET["voicemail_dump_exten"])) {$voicemail_dump_exten=$_GET["voicemail_dump_exten"];}
elseif (isset($_POST["voicemail_dump_exten"])) {$voicemail_dump_exten=$_POST["voicemail_dump_exten"];}
if (isset($_GET["local_web_callerID_URL_enc"])) {$local_web_callerID_URL_enc=$_GET["local_web_callerID_URL_enc"];}
elseif (isset($_POST["local_web_callerID_URL_enc"])) {$local_web_callerID_URL_enc=$_POST["local_web_callerID_URL_enc"];}
if (isset($_GET["local_web_callerID_URL_enc"])) {$local_web_callerID_URL = rawurldecode($local_web_callerID_URL_enc);}
else {$local_web_callerID_URL = '';}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '0.0.6';
$build = '60619-1205';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
if (!isset($query_date)) {$query_date = $NOW_DATE;}
$DO = '-1';
if ( (eregi("^Zap",$channel)) and (!eregi("-",$channel)) ) {$channel = "$channel$DO";}
$stmt="SELECT count(*) from vicidial_users where user='$user' and pass='$pass' and user_level > 0;";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$auth=$row[0];
if( (strlen($user)<2) or (strlen($pass)<2) or ($auth==0))
{
echo "Nieprawidłowy NazwaUżytkownika/Hasło: |$user|$pass|\n";
exit;
}
else
{
if( (strlen($server_ip)<6) or (!isset($server_ip)) or ( (strlen($session_name)<12) or (!isset($session_name)) ) )
{
echo "Nieprawidłowy server_ip: |$server_ip| or Nieprawidłowy session_name: |$session_name|\n";
exit;
}
else
{
$stmt="SELECT count(*) from web_client_sessions where session_name='$session_name' and server_ip='$server_ip';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$SNauth=$row[0];
if($SNauth==0)
{
echo "Nieprawidłowy session_name: |$session_name|$server_ip|\n";
exit;
}
else
{
# do nothing for now
}
}
}
if ($format=='debug')
{
$forever_stop=0;
$user_abb = "$user$user$user$user";
while ( (strlen($user_abb) > 4) and ($forever_stop < 200) )
{$user_abb = eregi_replace("^.","",$user_abb); $forever_stop++;}
echo "<html>\n";
echo "<head>\n";
echo "<!-- WERSJA: $version KOMPILACJA: $build UNIQUEID: $uniqueid server_ip: $server_ip-->\n";
?>
<script language="Javascript">
var server_ip = '<? echo $server_ip ?>';
var epoch_sec = '<? echo $StarTtime ?>';
var user_abb = '<? echo $user_abb ?>';
var vmail_box = '<? echo $vmail_box ?>';
var ext_context = '<? echo $ext_context ?>';
var ext_priority = '<? echo $ext_priority ?>';
var voicemail_dump_exten = '<? echo $voicemail_dump_exten ?>';
var session_name = '<? echo $session_name ?>';
var user = '<? echo $user ?>';
var pass = '<? echo $pass ?>';
// ################################################################################
// Send Hangup command for Live call connected to phone now to Manager
function livehangup_send_hangup(taskvar)
{
var xmlhttp=false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
// and security blocked creation of the objects.
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
}
}
@end @*/
if (!xmlhttp && typeof XMLHttpRequest!='undefined')
{
xmlhttp = new XMLHttpRequest();
}
if (xmlhttp)
{
var queryCID = "HLagcP" + epoch_sec + user_abb;
var hangupvalue = taskvar;
livehangup_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&user=" + user + "&pass=" + pass + "&ACTION=Hangup&format=text&channel=" + hangupvalue + "&queryCID=" + queryCID;
xmlhttp.open('POST', 'manager_send.php');
xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');
xmlhttp.send(livehangup_query);
xmlhttp.onreadystatechange = function()
{
if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
{
Nactiveext = null;
Nactiveext = xmlhttp.responseText;
alert(xmlhttp.responseText);
}
}
delete xmlhttp;
}
call_action_link_clear();
}
// ################################################################################
// Send Redirect command for ringing call to go directly to your voicemail
function liveredirect_send_vmail(taskvar,taskbox)
{
var xmlhttp=false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
// and security blocked creation of the objects.
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
}
}
@end @*/
if (!xmlhttp && typeof XMLHttpRequest!='undefined')
{
xmlhttp = new XMLHttpRequest();
}
if (xmlhttp)
{
var queryCID = "RVagcP" + epoch_sec + user_abb;
var hangupvalue = taskvar;
var mailboxvalue = taskbox;
liveredirect_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&user=" + user + "&pass=" + pass + "&ACTION=Redirect&format=text&channel=" + hangupvalue + "&queryCID=" + queryCID + "&exten=" + voicemail_dump_exten + "" + mailboxvalue + "&ext_context=" + ext_context + "&ext_priority=" + ext_priority;
xmlhttp.open('POST', 'manager_send.php');
xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');
xmlhttp.send(liveredirect_query);
xmlhttp.onreadystatechange = function()
{
if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
{
Nactiveext = null;
Nactiveext = xmlhttp.responseText;
alert(xmlhttp.responseText);
}
}
delete xmlhttp;
}
call_action_link_clear();
}
// ################################################################################
// timeout to deactivate the call action links after 30 sekundy
function link_timeout()
{
window.focus();
setTimeout("call_action_link_clear()", 30000);
}
// ################################################################################
// deactivates the call action links
function call_action_link_clear()
{
document.getElementById("callactions").innerHTML = "";
}
</script>
<?
echo "<title>AKTYWNA PRZYHODZĄCA ROZMOWA";
echo "</title>\n";
echo "</head>\n";
echo "<BODY BGCOLOR=\"#CCC2E0\" marginheight=0 marginwidth=0 leftmargin=0 topmargin=0 onload=\"link_timeout();\">\n";
echo "<CENTER><H2>AKTYWNA PRZYHODZĄCA ROZMOWA</H2>\n";
echo "<B>$NOW_TIME</B><BR><BR>\n";
}
$MT[0]='';
$row=''; $rowx='';
$channel_live=1;
if (strlen($uniqueid)<9)
{
$channel_live=0;
echo "Uniqueid $uniqueid nie jest prawidłowy\n";
exit;
}
else
{
$stmt="SELECT * FROM live_inbound where server_ip = '$server_ip' and uniqueid = '$uniqueid';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$channels_list = mysql_num_rows($rslt);
if ($channels_list>0)
{
$row=mysql_fetch_row($rslt);
# echo "$LIuniqueid|$LIchannel|$LIcallerid|$LIdatetime|$row[8]|$row[9]|$row[10]|$row[11]|$row[12]|$row[13]|";
# Zap/73|"V.I.C.I. MARKET" <7275338730>|2005-04-28 14:01:21|7274514936|Inbound direct to Matt|||||
if ($format=='debug') {echo "\n<!-- $row[0]|$row[1]|$row[2]|$row[3]|$row[4]|$row[5]|$row[6]|$row[7]|$row[8]|$row[9]|$row[10]|$row[11]|$row[12]|$row[13]| -->";}
echo "<table width=95% cellpadding=1 cellspacing=3>\n";
echo "<tr bgcolor=\"#DDDDFF\"><td>Kanał: </td><td align=left>$row[1]</td></tr>\n";
echo "<tr bgcolor=\"#DDDDFF\"><td>IDRozmówcy: </td><td align=left>$row[3]</td></tr>\n";
echo "<tr bgcolor=\"#DDDDFF\"><td colspan=2 align=center>\n";
$phone = eregi_replace(".*\<","",$row[3]);
$phone = eregi_replace("\>.*","",$phone);
$NPA = substr($phone, 0, 3);
$NXX = substr($phone, 3, 3);
$XXXX = substr($phone, 6, 4);
$D='-';
echo "<a href=\"http://www.google.com/search?hl=en&lr=&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial_s&q=$NPA+$NXX+$XXXX&btnG=Search\" target=\"_blank\">GOOGLE</a> - \n";
echo "<a href=\"http://www.anywho.com/qry/wp_rl?npa=$NPA&telephone=$NXX$XXXX\" target=\"_blank\">ANYWHO</a> - \n";
echo "<a href=\"http://www.switchboard.com/bin/cgirlookup.dll?SR=&MEM=1&LNK=32%3A36&type=BOTH&at=$NPA&e=$NXX&n=$XXXX&search.x=55&search.y=20\" target=\"_blank\">SWITCHBOARD</a> - \n";
echo "<a href=\"http://yellowpages.superpages.com/listings.jsp?SRC=&STYPE=&PG=L&CB=&C=&N=&E=&T=&S=&Z=&A=727&X=533&P=8730&AXP=$NPA$NXX$XXXX&R=N&PS=15&search=Find+It\" target=\"_blank\">VERIZON</a> - \n";
echo "<a href=\"http://www.whitepages.com/1014/log_click/search/Reverse_Telefon?npa=$NPA&phone=$NXX$XXXX\" target=\"_blank\">WHITEPAGES</a> - \n";
echo "<a href=\"http://www.411.com/10742/search/Reverse_Telefon?phone=%28$NPA%29+$NXX$D$XXXX\" target=\"_blank\">411.COM</a> - \n";
echo "<a href=\"http://www.phonenumber.com/10006/search/Reverse_Telefon?npa=$NPA&phone=$NXX$XXXX\" target=\"_blank\">411.COM</a> - \n";
$local_web_callerID_QUERY_STRING ='';
$local_web_callerID_QUERY_STRING.="?callerID_areacode=$NPA";
$local_web_callerID_QUERY_STRING.="&callerID_prefix=$NXX";
$local_web_callerID_QUERY_STRING.="&callerID_last4=$XXXX";
$local_web_callerID_QUERY_STRING.="&callerID_Time=$row[6]";
$local_web_callerID_QUERY_STRING.="&callerID_Kanał=$row[1]";
$local_web_callerID_QUERY_STRING.="&callerID_uniqueID=$row[0]";
$local_web_callerID_QUERY_STRING.="&callerID_phone_ext=$row[5]";
$local_web_callerID_QUERY_STRING.="&callerID_server_ip=$row[2]";
$local_web_callerID_QUERY_STRING.="&callerID_extension=$row[4]";
$local_web_callerID_QUERY_STRING.="&callerID_inbound_number=$row[8]";
$local_web_callerID_QUERY_STRING.="&callerID_comment_a=$row[9]";
$local_web_callerID_QUERY_STRING.="&callerID_comment_b=$row[10]";
$local_web_callerID_QUERY_STRING.="&callerID_comment_c=$row[11]";
$local_web_callerID_QUERY_STRING.="&callerID_comment_d=$row[12]";
$local_web_callerID_QUERY_STRING.="&callerID_comment_e=$row[13]";
echo "<a href=\"$local_web_callerID_URL$local_web_callerID_QUERY_STRING\" target=\"_blank\">UŻYTKOWNIKA</a> - \n";
echo "</td></tr>\n";
echo "<tr bgcolor=\"#DDDDFF\"><td>Wybierany numer: </td><td align=left>$row[8]</td></tr>\n";
echo "<tr bgcolor=\"#DDDDFF\"><td>Notatki: </td><td align=left>$row[9]|$row[10]|$row[11]|$row[12]|$row[13]|</td></tr>\n";
echo "<tr bgcolor=\"#DDDDFF\"><td colspan=2 align=center>\n<span id=\"callactions\">";
echo "<a href=\"#\" onclick=\"livehangup_send_hangup('$row[1]');return false;\">ROZŁĄCZ</a> - \n";
echo "<a href=\"#\" onclick=\"liveredirect_send_vmail('$row[1]','$vmail_box');return false;\">PRZEŚLIJ DO MOJEJ POCZTY GŁOSOWEJ</a>\n";
echo "</span></td></tr>\n";
echo "</table>\n";
$stmt="UPDATE live_inbound set acknowledged='Y' where server_ip = '$server_ip' and uniqueid = '$uniqueid';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
}
}
if ($format=='debug')
{
$ENDtime = date("U");
$RUNtime = ($ENDtime - $StarTtime);
echo "\n<!-- czas działania skyptu: $RUNtime sekundy -->";
echo "\n</body>\n</html>\n";
}
exit;
?>
+278
View File
@@ -0,0 +1,278 @@
<?
### live_exten_check.php
###
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2
###
### This script is designed purely to send whether the client channel is live and to what channel it is connected
### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
###
### required variables:
### - $server_ip
### - $session_name
### - $user
### - $pass
### optional variables:
### - $format - ('text','debug')
### - $exten - ('cc101','testphone','49-1','1234','913125551212',...)
### - $protocol - ('SIP','Zap','IAX2',...)
###
# changes
# 50404-1249 - First build of script
# 50406-1402 - added connected trunk lookup
# 50428-1452 - added live_inbound check for exten on 2nd line of output
# 50503-1233 - added session_name checking for extra security
# 50524-1429 - added parked calls count
# 50610-1204 - Added NULL check on MySQL results to reduced errors
# 50711-1204 - removed HTTP authentication in favor of user/pass vars
# 60103-1541 - added favorite extens status display
# 60421-1359 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1203 - Added variable filters to close security holes for login form
# 60825-1028 - Fixed translation variable issue ChannelA
#
require("dbconnect.php");
### If you have globals turned off uncomment these lines
if (isset($_GET["user"])) {$user=$_GET["user"];}
elseif (isset($_POST["user"])) {$user=$_POST["user"];}
if (isset($_GET["pass"])) {$pass=$_GET["pass"];}
elseif (isset($_POST["pass"])) {$pass=$_POST["pass"];}
if (isset($_GET["server_ip"])) {$server_ip=$_GET["server_ip"];}
elseif (isset($_POST["server_ip"])) {$server_ip=$_POST["server_ip"];}
if (isset($_GET["session_name"])) {$session_name=$_GET["session_name"];}
elseif (isset($_POST["session_name"])) {$session_name=$_POST["session_name"];}
if (isset($_GET["format"])) {$format=$_GET["format"];}
elseif (isset($_POST["format"])) {$format=$_POST["format"];}
if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
elseif (isset($_POST["exten"])) {$exten=$_POST["exten"];}
if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];}
elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];}
if (isset($_GET["favorites_count"])) {$favorites_count=$_GET["favorites_count"];}
elseif (isset($_POST["favorites_count"])) {$favorites_count=$_POST["favorites_count"];}
if (isset($_GET["favorites_list"])) {$favorites_list=$_GET["favorites_list"];}
elseif (isset($_POST["favorites_list"])) {$favorites_list=$_POST["favorites_list"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '1.1.12';
$build = '60825-1028';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
if (!isset($query_date)) {$query_date = $NOW_DATE;}
$stmt="SELECT count(*) from vicidial_users where user='$user' and pass='$pass' and user_level > 0;";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$auth=$row[0];
if( (strlen($user)<2) or (strlen($pass)<2) or ($auth==0))
{
echo "Nieprawidłowy NazwaUżytkownika/Hasło: |$user|$pass|\n";
exit;
}
else
{
if( (strlen($server_ip)<6) or (!isset($server_ip)) or ( (strlen($session_name)<12) or (!isset($session_name)) ) )
{
echo "Nieprawidłowy server_ip: |$server_ip| or Nieprawidłowy session_name: |$session_name|\n";
exit;
}
else
{
$stmt="SELECT count(*) from web_client_sessions where session_name='$session_name' and server_ip='$server_ip';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$SNauth=$row[0];
if($SNauth==0)
{
echo "Nieprawidłowy session_name: |$session_name|$server_ip|\n";
exit;
}
else
{
# do nothing for now
}
}
}
if ($format=='debug')
{
echo "<html>\n";
echo "<head>\n";
echo "<!-- WERSJA: $version KOMPILACJA: $build EXTEN: $exten server_ip: $server_ip-->\n";
echo "<title>Sprawdzanie aktywnych numerów wewnętrznych";
echo "</title>\n";
echo "</head>\n";
echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
}
echo "DateTime: $NOW_TIME|";
echo "UnixTime: $StarTtime|";
$stmt="SELECT count(*) FROM parked_channels where server_ip = '$server_ip';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
echo "$row[0]|";
$MT[0]='';
$row=''; $rowx='';
$channel_live=1;
if ( (strlen($exten)<1) or (strlen($protocol)<3) )
{
$channel_live=0;
echo "Exten $exten nie jest prawidłowy lub protokół $protocol nie jest prawidłowy\n";
exit;
}
else
{
$stmt="SELECT channel,extension FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$protocol/$exten%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$channels_list = mysql_num_rows($rslt);}
echo "$channels_list|";
$loop_count=0;
while ($channels_list>$loop_count)
{
$loop_count++;
$row=mysql_fetch_row($rslt);
$ChanneLA[$loop_count] = "$row[0]";
$ChanneLB[$loop_count] = "$row[1]";
if ($format=='debug') {echo "\n<!-- $row[0] $row[1] -->";}
}
}
$counter=0;
while($loop_count > $counter)
{
$counter++;
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
if ($trunk_count>0)
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "KanałA: $ChanneLA[$counter] ~";
echo "KanałB: $ChanneLB[$counter] ~";
echo "KanałBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
if ($trunk_count>0)
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "KanałA: $ChanneLA[$counter] ~";
echo "KanałB: $ChanneLB[$counter] ~";
echo "KanałBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
if ($trunk_count>0)
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "KanałA: $ChanneLA[$counter] ~";
echo "KanałB: $ChanneLB[$counter] ~";
echo "KanałBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
if ($trunk_count>0)
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "KanałA: $ChanneLA[$counter] ~";
echo "KanałB: $ChanneLB[$counter] ~";
echo "KanałBtrunk: $row[0]|";
}
else
{
echo "Conversation: $counter ~";
echo "KanałA: $ChanneLA[$counter] ~";
echo "KanałB: $ChanneLB[$counter] ~";
echo "KanałBtrunk: $ChanneLA[$counter]|";
}
}
}
}
}
echo "\n";
### check for live_inbound entry
$stmt="select * from live_inbound where server_ip = '$server_ip' and phone_ext = '$exten' and acknowledged='N';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$channels_list = mysql_num_rows($rslt);}
if ($channels_list>0)
{
$row=mysql_fetch_row($rslt);
$LIuniqueid = "$row[0]";
$LIchannel = "$row[1]";
$LIcallerid = "$row[3]";
$LIdatetime = "$row[6]";
echo "$LIuniqueid|$LIchannel|$LIcallerid|$LIdatetime|$row[8]|$row[9]|$row[10]|$row[11]|$row[12]|$row[13]|";
if ($format=='debug') {echo "\n<!-- $row[0]|$row[1]|$row[2]|$row[3]|$row[4]|$row[5]|$row[6]|$row[7]|$row[8]|$row[9]|$row[10]|$row[11]|$row[12]|$row[13]| -->";}
}
echo "\n";
### if favorites are present do a lookup to see if any are active
if ($favorites_count > 0)
{
$favorites = explode(',',$favorites_list);
$h=0;
$favs_print='';
while ($favorites_count > $h)
{
$fav_extension = explode('/',$favorites[$h]);
$stmt="SELECT count(*) FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$favorites[$h]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$favs_print .= "$fav_extension[1]: $row[0] ~";
$h++;
}
echo "$favs_print\n";
}
if ($format=='debug') {echo "\n<!-- |$favorites_count|$favorites_list| -->";}
if ($format=='debug')
{
$ENDtime = date("U");
$RUNtime = ($ENDtime - $StarTtime);
echo "\n<!-- czas działania skyptu: $RUNtime sekundy -->";
echo "\n</body>\n</html>\n";
}
exit;
?>
+908
View File
@@ -0,0 +1,908 @@
<?
# manager_send.php
#
# Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2
#
# This script is designed purely to insert records into the vicidial_manager table to signal Actions to an asterisk server
# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
#
# required variables:
# - $server_ip
# - $session_name
# - $user
# - $pass
# optional variables:
# - $ACTION - ('Originate','Redirect','Hangup','Command','Monitor','StopMonitor','SysCIDOriginate','RedirectName','RedirectNameVmail','MonitorConf','StopMonitorConf','RedirectXtra','RedirectVD','HangupConfDial')
# - $queryCID - ('CN012345678901234567',...)
# - $format - ('text','debug')
# - $channel - ('Zap/41-1','SIP/test101-1jut','IAX2/iaxy@iaxy',...)
# - $exten - ('1234','913125551212',...)
# - $ext_context - ('default','demo',...)
# - $ext_priority - ('1','2',...)
# - $filename - ('20050406-125623_44444',...)
# - $extenName - ('phone100',...)
# - $parkedby - ('phone100',...)
# - $extrachannel - ('Zap/41-1','SIP/test101-1jut','IAX2/iaxy@iaxy',...)
# - $auto_dial_level - ('0','1','1.1',...)
# - $campaign - ('CLOSER','TESTCAMP',...)
# - $uniqueid - ('1120232758.2406800',...)
# - $lead_id - ('1234',...)
# - $seconds - ('32',...)
# - $outbound_cid - ('3125551212','0000000000',...)
# - $agent_log_id - ('123456',...)
# - $call_server_ip - ('10.10.10.15',...)
# - $CalLCID - ('VD01234567890123456',...)
#
# changes
# 50401-1002 - First build of script, Hangup function only
# 50404-1045 - Redirect basic function enabled
# 50406-1522 - Monitor basic function enabled
# 50407-1647 - Monitor and StopMonitor full functions enabled
# 50422-1120 - basic Originate function enabled
# 50428-1451 - basic SysCIDOriginate function enabled for checking voicemail
# 50502-1539 - basic RedirectName and RedirectNameVmail added
# 50503-1227 - added session_name checking for extra security
# 50523-1341 - added Conference call start/stop recording
# 50523-1421 - added OriginateName and OriginateNameVmail for local calls
# 50524-1602 - added RedirectToPark and RedirectFromPark
# 50531-1203 - added RedirecXtra for dual channel redirection
# 50630-1100 - script changed to not use HTTP login vars, user/pass instead
# 50804-1148 - Added RedirectVD for VICIDIAL blind redirection with logging
# 50815-1204 - Added NEXTAVAILABLE to RedirectXtra function
# 50903-2343 - Added HangupConfDial function to hangup in-dial channels in conf
# 50913-1057 - Added outbound_cid set if present to originate call
# 51020-1556 - Added agent_log_id framework for detailed agent activity logging
# 51118-1204 - Fixed Blind transfer bug from VICIDIAL when in manual dial mode
# 51129-1014 - Added ability to accept calls from other VICIDIAL servers
# 51129-1253 - Fixed Hangups of other agents channels in VICIDIAL AD
# 60310-2022 - Fixed NEXTAVAILABLE bug in leave-3way-call redirect function
# 60421-1413 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1158 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
### These are variable assignments for PHP globals off
if (isset($_GET["user"])) {$user=$_GET["user"];}
elseif (isset($_POST["user"])) {$user=$_POST["user"];}
if (isset($_GET["pass"])) {$pass=$_GET["pass"];}
elseif (isset($_POST["pass"])) {$pass=$_POST["pass"];}
if (isset($_GET["server_ip"])) {$server_ip=$_GET["server_ip"];}
elseif (isset($_POST["server_ip"])) {$server_ip=$_POST["server_ip"];}
if (isset($_GET["session_name"])) {$session_name=$_GET["session_name"];}
elseif (isset($_POST["session_name"])) {$session_name=$_POST["session_name"];}
if (isset($_GET["ACTION"])) {$ACTION=$_GET["ACTION"];}
elseif (isset($_POST["ACTION"])) {$ACTION=$_POST["ACTION"];}
if (isset($_GET["queryCID"])) {$queryCID=$_GET["queryCID"];}
elseif (isset($_POST["queryCID"])) {$queryCID=$_POST["queryCID"];}
if (isset($_GET["format"])) {$format=$_GET["format"];}
elseif (isset($_POST["format"])) {$format=$_POST["format"];}
if (isset($_GET["channel"])) {$channel=$_GET["channel"];}
elseif (isset($_POST["channel"])) {$channel=$_POST["channel"];}
if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
elseif (isset($_POST["exten"])) {$exten=$_POST["exten"];}
if (isset($_GET["ext_context"])) {$ext_context=$_GET["ext_context"];}
elseif (isset($_POST["ext_context"])) {$ext_context=$_POST["ext_context"];}
if (isset($_GET["ext_priority"])) {$ext_priority=$_GET["ext_priority"];}
elseif (isset($_POST["ext_priority"])) {$ext_priority=$_POST["ext_priority"];}
if (isset($_GET["filename"])) {$filename=$_GET["filename"];}
elseif (isset($_POST["filename"])) {$filename=$_POST["filename"];}
if (isset($_GET["extenName"])) {$extenName=$_GET["extenName"];}
elseif (isset($_POST["extenName"])) {$extenName=$_POST["extenName"];}
if (isset($_GET["parkedby"])) {$parkedby=$_GET["parkedby"];}
elseif (isset($_POST["parkedby"])) {$parkedby=$_POST["parkedby"];}
if (isset($_GET["extrachannel"])) {$extrachannel=$_GET["extrachannel"];}
elseif (isset($_POST["extrachannel"])) {$extrachannel=$_POST["extrachannel"];}
if (isset($_GET["auto_dial_level"])) {$auto_dial_level=$_GET["auto_dial_level"];}
elseif (isset($_POST["auto_dial_level"])) {$auto_dial_level=$_POST["auto_dial_level"];}
if (isset($_GET["campaign"])) {$campaign=$_GET["campaign"];}
elseif (isset($_POST["campaign"])) {$campaign=$_POST["campaign"];}
if (isset($_GET["uniqueid"])) {$uniqueid=$_GET["uniqueid"];}
elseif (isset($_POST["uniqueid"])) {$uniqueid=$_POST["uniqueid"];}
if (isset($_GET["lead_id"])) {$lead_id=$_GET["lead_id"];}
elseif (isset($_POST["lead_id"])) {$lead_id=$_POST["lead_id"];}
if (isset($_GET["secondS"])) {$secondS=$_GET["secondS"];}
elseif (isset($_POST["secondS"])) {$secondS=$_POST["secondS"];}
if (isset($_GET["outbound_cid"])) {$outbound_cid=$_GET["outbound_cid"];}
elseif (isset($_POST["outbound_cid"])) {$outbound_cid=$_POST["outbound_cid"];}
if (isset($_GET["agent_log_id"])) {$agent_log_id=$_GET["agent_log_id"];}
elseif (isset($_POST["agent_log_id"])) {$agent_log_id=$_POST["agent_log_id"];}
if (isset($_GET["call_server_ip"])) {$call_server_ip=$_GET["call_server_ip"];}
elseif (isset($_POST["call_server_ip"])) {$call_server_ip=$_POST["call_server_ip"];}
if (isset($_GET["CalLCID"])) {$CalLCID=$_GET["CalLCID"];}
elseif (isset($_POST["CalLCID"])) {$CalLCID=$_POST["CalLCID"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
$secondS = ereg_replace("[^0-9]","",$secondS);
# default optional vars if not set
if (!isset($ACTION)) {$ACTION="Originate";}
if (!isset($format)) {$format="alert";}
if (!isset($ext_priority)) {$ext_priority="1";}
$version = '0.0.24';
$build = '60619-1158';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
if (!isset($query_date)) {$query_date = $NOW_DATE;}
$stmt="SELECT count(*) from vicidial_users where user='$user' and pass='$pass' and user_level > 0;";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$auth=$row[0];
if( (strlen($user)<2) or (strlen($pass)<2) or ($auth==0))
{
echo "Nieprawidłowy NazwaUżytkownika/Hasło: |$user|$pass|\n";
exit;
}
else
{
if( (strlen($server_ip)<6) or (!isset($server_ip)) or ( (strlen($session_name)<12) or (!isset($session_name)) ) )
{
echo "Nieprawidłowy server_ip: |$server_ip| or Nieprawidłowy session_name: |$session_name|\n";
exit;
}
else
{
$stmt="SELECT count(*) from web_client_sessions where session_name='$session_name' and server_ip='$server_ip';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$SNauth=$row[0];
if($SNauth==0)
{
echo "Nieprawidłowy session_name: |$session_name|$server_ip|\n";
exit;
}
else
{
# do nothing for now
}
}
}
if ($format=='debug')
{
echo "<html>\n";
echo "<head>\n";
echo "<!-- WERSJA: $version KOMPILACJA: $build ACTION: $ACTION server_ip: $server_ip-->\n";
echo "<title>Wyślij do zarządzania: ";
if ($ACTION=="Originate") {echo "Originate";}
if ($ACTION=="Redirect") {echo "Redirect";}
if ($ACTION=="RedirectName") {echo "RedirectName";}
if ($ACTION=="Hangup") {echo "Hangup";}
if ($ACTION=="Command") {echo "Command";}
if ($ACTION==99999) {echo "POMOC";}
echo "</title>\n";
echo "</head>\n";
echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
}
######################
# ACTION=SysCIDOriginate - insert Originate Manager statement allowing small CIDs for system calls
######################
if ($ACTION=="SysCIDOriginate")
{
if ( (strlen($exten)<1) or (strlen($channel)<1) or (strlen($ext_context)<1) or (strlen($queryCID)<1) )
{
echo "Exten $exten nie jest prawidłowy or queryCID $queryCID nie jest prawidłowy, Originate komenda nie wstawiona\n";
}
else
{
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$queryCID','Channel: $channel','Context: $ext_context','Exten: $exten','Priority: $ext_priority','Callerid: $queryCID','','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
echo "Originate komenda wysłana do Exten $exten Kanał $channel na $server_ip\n";
}
}
######################
# ACTION=Originate, OriginateName, OriginateNameVmail - insert Originate Manager statement
######################
if ($ACTION=="OriginateName")
{
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($extenName)<1) or (strlen($ext_context)<1) or (strlen($ext_priority)<1) )
{
$channel_live=0;
echo "Jedna z tych zmiennych nie jest prawidłowy:\n";
echo "Kanał $channel musi mieć więcej niż 2 znaki\n";
echo "queryCID $queryCID musi mieć więcje niż 14 znaków\n";
echo "extenName $extenName musi być ustawiony\n";
echo "ext_context $ext_context musi być ustawiony\n";
echo "ext_priority $ext_priority musi być ustawiony\n";
echo "\nOriginateName Action nie wysłano\n";
}
else
{
$stmt="SELECT dialplan_number FROM phones where server_ip = '$server_ip' and extension='$extenName';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$name_count = mysql_num_rows($rslt);
if ($name_count>0)
{
$row=mysql_fetch_row($rslt);
$exten = $row[0];
$ACTION="Originate";
}
}
}
if ($ACTION=="OriginateNameVmail")
{
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($extenName)<1) or (strlen($exten)<1) or (strlen($ext_context)<1) or (strlen($ext_priority)<1) )
{
$channel_live=0;
echo "Jedna z tych zmiennych nie jest prawidłowy:\n";
echo "Kanał $channel musi mieć więcej niż 2 znaki\n";
echo "queryCID $queryCID musi mieć więcje niż 14 znaków\n";
echo "extenName $extenName musi być ustawiony\n";
echo "exten $exten musi być ustawiony\n";
echo "ext_context $ext_context musi być ustawiony\n";
echo "ext_priority $ext_priority musi być ustawiony\n";
echo "\nOriginateNameVmail Action nie wysłano\n";
}
else
{
$stmt="SELECT voicemail_id FROM phones where server_ip = '$server_ip' and extension='$extenName';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$name_count = mysql_num_rows($rslt);
if ($name_count>0)
{
$row=mysql_fetch_row($rslt);
$exten = "$exten$row[0]";
$ACTION="Originate";
}
}
}
if ($ACTION=="Originate")
{
if ( (strlen($exten)<1) or (strlen($channel)<1) or (strlen($ext_context)<1) or (strlen($queryCID)<10) )
{
echo "Exten $exten nie jest prawidłowy or queryCID $queryCID nie jest prawidłowy, Originate komenda nie wstawiona\n";
}
else
{
if (strlen($outbound_cid)>1)
{$outCID = "\"$queryCID\" <$outbound_cid>";}
else
{$outCID = "$queryCID";}
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$queryCID','Channel: $channel','Context: $ext_context','Exten: $exten','Priority: $ext_priority','Callerid: $outCID','','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
echo "Originate komenda wysłana do Exten $exten Kanał $channel na $server_ip\n";
}
}
######################
# ACTION=HangupConfDial - find the Local channel that is in the conference and needs to be hung up
######################
if ($ACTION=="HangupConfDial")
{
$row=''; $rowx='';
$channel_live=1;
if ( (strlen($exten)<3) or (strlen($queryCID)<15) or (strlen($ext_context)<1) )
{
$channel_live=0;
echo "conference $exten nie jest prawidłowy or ext_context $ext_context or queryCID $queryCID nie jest prawidłowy, Hangup komenda nie wstawiona\n";
}
else
{
$local_DEF = 'Local/';
$local_AMP = '@';
$hangup_channel_prefix = "$local_DEF$exten$local_AMP$ext_context";
$stmt="SELECT count(*) FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$hangup_channel_prefix%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
if ($row > 0)
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$hangup_channel_prefix%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$rowx=mysql_fetch_row($rslt);
$channel=$rowx[0];
$ACTION="Hangup";
$queryCID = eregi_replace("^.","G",$queryCID);
}
}
}
######################
# ACTION=Hangup - insert Hangup Manager statement
######################
if ($ACTION=="Hangup")
{
$row=''; $rowx='';
$channel_live=1;
if ( (strlen($channel)<3) or (strlen($queryCID)<15) )
{
$channel_live=0;
echo "Kanał $channel nie jest prawidłowy or queryCID $queryCID nie jest prawidłowy, Hangup komenda nie wstawiona\n";
}
else
{
if (strlen($call_server_ip)<7) {$call_server_ip = $server_ip;}
# $stmt="SELECT count(*) FROM live_channels where server_ip = '$call_server_ip' and channel='$channel';";
# if ($format=='debug') {echo "\n<!-- $stmt -->";}
# $rslt=mysql_query($stmt, $link);
# $row=mysql_fetch_row($rslt);
# if ($row[0]==0)
# {
# $stmt="SELECT count(*) FROM live_sip_channels where server_ip = '$call_server_ip' and channel='$channel';";
# if ($format=='debug') {echo "\n<!-- $stmt -->";}
# $rslt=mysql_query($stmt, $link);
# $rowx=mysql_fetch_row($rslt);
# if ($rowx[0]==0)
# {
# $channel_live=0;
# echo "Channel $channel is not live on $call_server_ip, Hangup command not inserted\n";
# }
# }
if ( ($auto_dial_level > 0) and (strlen($CalLCID)>2) and (strlen($exten)>2) and ($secondS > 4))
{
$stmt="SELECT count(*) FROM vicidial_auto_calls where channel='$channel' and callerid='$CalLCID';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$rowx=mysql_fetch_row($rslt);
if ($rowx[0]==0)
{
echo "Call $CalLCID $channel nie jest aktywna na $call_server_ip, Checking Live Kanał...\n";
$stmt="SELECT count(*) FROM live_channels where server_ip = '$call_server_ip' and channel='$channel' and extension LIKE \"%$exten\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
if ($row[0]==0)
{
$channel_live=0;
echo "Kanał $channel nie jest aktywna na $call_server_ip, Hangup komenda nie wstawiona $rowx[0]\n$stmt\n";
}
else
{
echo "$stmt\n";
}
}
}
if ($channel_live==1)
{
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$call_server_ip','','Hangup','$queryCID','Channel: $channel','','','','','','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
echo "Hangup komenda wysłana do Kanał $channel na $call_server_ip\n";
}
}
}
######################
# ACTION=Redirect, RedirectName, RedirectNameVmail, RedirectToPark, RedirectFromPark, RedirectVD
# - insert Redirect Manager statement using extensions name
######################
if ($ACTION=="RedirectVD")
{
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($exten)<1) or (strlen($campaign)<1) or (strlen($ext_context)<1) or (strlen($ext_priority)<1) or (strlen($uniqueid)<2) or (strlen($lead_id)<1) )
{
$channel_live=0;
echo "Jedna z tych zmiennych nie jest prawidłowy:\n";
echo "Kanał $channel musi mieć więcej niż 2 znaki\n";
echo "queryCID $queryCID musi mieć więcje niż 14 znaków\n";
echo "exten $exten musi być ustawiony\n";
echo "ext_context $ext_context musi być ustawiony\n";
echo "ext_priority $ext_priority musi być ustawiony\n";
echo "auto_dial_level $auto_dial_level musi być ustawiony\n";
echo "campaign $campaign musi być ustawiony\n";
echo "uniqueid $uniqueid musi być ustawiony\n";
echo "lead_id $lead_id musi być ustawiony\n";
echo "\nRedirectVD Action nie wysłano\n";
}
else
{
if (strlen($call_server_ip)>6) {$server_ip = $call_server_ip;}
if (eregi("CLOSER",$campaign))
{
$stmt = "UPDATE vicidial_closer_log set end_epoch='$StarTtime', length_in_sec='$secondS',status='XFER' where lead_id='$lead_id' order by start_epoch desc limit 1;";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
}
if ($auto_dial_level < 1)
{
$stmt = "UPDATE vicidial_log set end_epoch='$StarTtime', length_in_sec='$secondS',status='XFER' where uniqueid='$uniqueid';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
}
else
{
$stmt = "DELETE from vicidial_auto_calls where uniqueid='$uniqueid';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
}
$ACTION="Redirect";
}
}
if ($ACTION=="RedirectToPark")
{
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($exten)<1) or (strlen($extenName)<1) or (strlen($ext_context)<1) or (strlen($ext_priority)<1) or (strlen($parkedby)<1) )
{
$channel_live=0;
echo "Jedna z tych zmiennych nie jest prawidłowy:\n";
echo "Kanał $channel musi mieć więcej niż 2 znaki\n";
echo "queryCID $queryCID musi mieć więcje niż 14 znaków\n";
echo "exten $exten musi być ustawiony\n";
echo "extenName $extenName musi być ustawiony\n";
echo "ext_context $ext_context musi być ustawiony\n";
echo "ext_priority $ext_priority musi być ustawiony\n";
echo "parkedby $parkedby musi być ustawiony\n";
echo "\nRedirectToPark Action nie wysłano\n";
}
else
{
if (strlen($call_server_ip)>6) {$server_ip = $call_server_ip;}
$stmt = "INSERT INTO parked_channels values('$channel','$server_ip','','$extenName','$parkedby','$NOW_TIME');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$ACTION="Redirect";
}
}
if ($ACTION=="RedirectFromPark")
{
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($exten)<1) or (strlen($ext_context)<1) or (strlen($ext_priority)<1) )
{
$channel_live=0;
echo "Jedna z tych zmiennych nie jest prawidłowy:\n";
echo "Kanał $channel musi mieć więcej niż 2 znaki\n";
echo "queryCID $queryCID musi mieć więcje niż 14 znaków\n";
echo "exten $exten musi być ustawiony\n";
echo "ext_context $ext_context musi być ustawiony\n";
echo "ext_priority $ext_priority musi być ustawiony\n";
echo "\nRedirectFromPark Action nie wysłano\n";
}
else
{
if (strlen($call_server_ip)>6) {$server_ip = $call_server_ip;}
$stmt = "DELETE FROM parked_channels where server_ip='$server_ip' and channel='$channel';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$ACTION="Redirect";
}
}
if ($ACTION=="RedirectName")
{
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($extenName)<1) or (strlen($ext_context)<1) or (strlen($ext_priority)<1) )
{
$channel_live=0;
echo "Jedna z tych zmiennych nie jest prawidłowy:\n";
echo "Kanał $channel musi mieć więcej niż 2 znaki\n";
echo "queryCID $queryCID musi mieć więcje niż 14 znaków\n";
echo "extenName $extenName musi być ustawiony\n";
echo "ext_context $ext_context musi być ustawiony\n";
echo "ext_priority $ext_priority musi być ustawiony\n";
echo "\nRedirectName Action nie wysłano\n";
}
else
{
$stmt="SELECT dialplan_number FROM phones where server_ip = '$server_ip' and extension='$extenName';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$name_count = mysql_num_rows($rslt);
if ($name_count>0)
{
$row=mysql_fetch_row($rslt);
$exten = $row[0];
$ACTION="Redirect";
}
}
}
if ($ACTION=="RedirectNameVmail")
{
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($extenName)<1) or (strlen($exten)<1) or (strlen($ext_context)<1) or (strlen($ext_priority)<1) )
{
$channel_live=0;
echo "Jedna z tych zmiennych nie jest prawidłowy:\n";
echo "Kanał $channel musi mieć więcej niż 2 znaki\n";
echo "queryCID $queryCID musi mieć więcje niż 14 znaków\n";
echo "extenName $extenName musi być ustawiony\n";
echo "exten $exten musi być ustawiony\n";
echo "ext_context $ext_context musi być ustawiony\n";
echo "ext_priority $ext_priority musi być ustawiony\n";
echo "\nRedirectNameVmail Action nie wysłano\n";
}
else
{
$stmt="SELECT voicemail_id FROM phones where server_ip = '$server_ip' and extension='$extenName';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$name_count = mysql_num_rows($rslt);
if ($name_count>0)
{
$row=mysql_fetch_row($rslt);
$exten = "$exten$row[0]";
$ACTION="Redirect";
}
}
}
if ($ACTION=="RedirectXtra")
{
if ($channel=="$extrachannel")
{$ACTION="Redirect";}
else
{
$row=''; $rowx='';
$channel_liveX=1;
$channel_liveY=1;
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($exten)<1) or (strlen($ext_context)<1) or (strlen($ext_priority)<1) or (strlen($extrachannel)<3) )
{
$channel_liveX=0;
$channel_liveY=0;
echo "Jedna z tych zmiennych nie jest prawidłowy:\n";
echo "Kanał $channel musi mieć więcej niż 2 znaki\n";
echo "ExtraKanał $extrachannel musi mieć więcej niż 2 znaki\n";
echo "queryCID $queryCID musi mieć więcje niż 14 znaków\n";
echo "exten $exten musi być ustawiony\n";
echo "ext_context $ext_context musi być ustawiony\n";
echo "ext_priority $ext_priority musi być ustawiony\n";
echo "\nRedirect Action nie wysłano\n";
}
else
{
if ($exten == "NEXTAVAILABLE")
{
$stmt="SELECT conf_exten FROM conferences where server_ip='$server_ip' and ((extension='') or (extension is null)) limit 1;";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
if (strlen($row[0]) > 3)
{
$stmt="UPDATE conferences set extension='$user' where server_ip='$server_ip' and conf_exten='$row[0]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$exten = $row[0];
}
else
{
$channel_liveX=0;
echo "Nie mogę znaleźć wolnej konferencji na $server_ip, Redirect komenda nie wstawiona\n";
}
}
if (strlen($call_server_ip)<7) {$call_server_ip = $server_ip;}
$stmt="SELECT count(*) FROM live_channels where server_ip = '$call_server_ip' and channel='$channel';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
if ($row[0]==0)
{
$stmt="SELECT count(*) FROM live_sip_channels where server_ip = '$call_server_ip' and channel='$channel';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$rowx=mysql_fetch_row($rslt);
if ($rowx[0]==0)
{
$channel_liveX=0;
echo "Kanał $channel nie jest aktywna na $call_server_ip, Redirect komenda nie wstawiona\n";
}
}
$stmt="SELECT count(*) FROM live_channels where server_ip = '$server_ip' and channel='$extrachannel';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
if ($row[0]==0)
{
$stmt="SELECT count(*) FROM live_sip_channels where server_ip = '$server_ip' and channel='$extrachannel';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$rowx=mysql_fetch_row($rslt);
if ($rowx[0]==0)
{
$channel_liveY=0;
echo "Kanał $channel nie jest aktywna na $server_ip, Redirect komenda nie wstawiona\n";
}
}
if ( ($channel_liveX==1) && ($channel_liveY==1) )
{
if ( ($server_ip=="$call_server_ip") or (strlen($call_server_ip)<7) )
{
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Redirect','$queryCID','Channel: $channel','ExtraChannel: $extrachannel','Context: $ext_context','Exten: $exten','Priority: $ext_priority','CallerID: $queryCID','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
echo "RedirectXtra komenda wysłana do Kanał $channel and \nExtraKanał $extrachannel\n to $exten na $server_ip\n";
}
else
{
$S='*';
$D_s_ip = explode('.', $server_ip);
if (strlen($D_s_ip[0])<2) {$D_s_ip[0] = "0$D_s_ip[0]";}
if (strlen($D_s_ip[0])<3) {$D_s_ip[0] = "0$D_s_ip[0]";}
if (strlen($D_s_ip[1])<2) {$D_s_ip[1] = "0$D_s_ip[1]";}
if (strlen($D_s_ip[1])<3) {$D_s_ip[1] = "0$D_s_ip[1]";}
if (strlen($D_s_ip[2])<2) {$D_s_ip[2] = "0$D_s_ip[2]";}
if (strlen($D_s_ip[2])<3) {$D_s_ip[2] = "0$D_s_ip[2]";}
if (strlen($D_s_ip[3])<2) {$D_s_ip[3] = "0$D_s_ip[3]";}
if (strlen($D_s_ip[3])<3) {$D_s_ip[3] = "0$D_s_ip[3]";}
$dest_dialstring = "$D_s_ip[0]$S$D_s_ip[1]$S$D_s_ip[2]$S$D_s_ip[3]$S$exten";
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$call_server_ip','','Redirect','$queryCID','Channel: $channel','Context: $ext_context','Exten: $dest_dialstring','Priority: $ext_priority','CallerID: $queryCID','','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Redirect','$queryCID','Channel: $extrachannel','Context: $ext_context','Exten: $exten','Priority: $ext_priority','CallerID: $queryCID','','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
echo "RedirectXtra komenda wysłana do Kanał $channel na $call_server_ip and \nExtraKanał $extrachannel\n to $exten na $server_ip\n";
}
}
else
{
if ($channel_liveX==1)
{$ACTION="Redirect"; $server_ip = $call_server_ip;}
if ($channel_liveY==1)
{$ACTION="Redirect"; $channel=$extrachannel;}
}
}
}
}
if ($ACTION=="Redirect")
{
$row=''; $rowx='';
$channel_live=1;
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($exten)<1) or (strlen($ext_context)<1) or (strlen($ext_priority)<1) )
{
$channel_live=0;
echo "Jedna z tych zmiennych nie jest prawidłowy:\n";
echo "Kanał $channel musi mieć więcej niż 2 znaki\n";
echo "queryCID $queryCID musi mieć więcje niż 14 znaków\n";
echo "exten $exten musi być ustawiony\n";
echo "ext_context $ext_context musi być ustawiony\n";
echo "ext_priority $ext_priority musi być ustawiony\n";
echo "\nRedirect Action nie wysłano\n";
}
else
{
if (strlen($call_server_ip)>6) {$server_ip = $call_server_ip;}
$stmt="SELECT count(*) FROM live_channels where server_ip = '$server_ip' and channel='$channel';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
if ($row[0]==0)
{
$stmt="SELECT count(*) FROM live_sip_channels where server_ip = '$server_ip' and channel='$channel';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$rowx=mysql_fetch_row($rslt);
if ($rowx[0]==0)
{
$channel_live=0;
echo "Kanał $channel nie jest aktywna na $server_ip, Redirect komenda nie wstawiona\n";
}
}
if ($channel_live==1)
{
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Redirect','$queryCID','Channel: $channel','Context: $ext_context','Exten: $exten','Priority: $ext_priority','CallerID: $queryCID','','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
echo "Redirect komenda wysłana do Kanał $channel na $server_ip\n";
}
}
}
######################
# ACTION=Monitor or Stop Monitor - insert Monitor/StopMonitor Manager statement to start recording on a channel
######################
if ( ($ACTION=="Monitor") || ($ACTION=="StopMonitor") )
{
if ($ACTION=="StopMonitor")
{$SQLfile = "";}
else
{$SQLfile = "File: $filename";}
$row=''; $rowx='';
$channel_live=1;
if ( (strlen($channel)<3) or (strlen($queryCID)<15) or (strlen($filename)<15) )
{
$channel_live=0;
echo "Kanał $channel nie jest prawidłowy or queryCID $queryCID nie jest prawidłowy or filename: $filename nie jest prawidłowy, $ACTION komenda nie wstawiona\n";
}
else
{
$stmt="SELECT count(*) FROM live_channels where server_ip = '$server_ip' and channel='$channel';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
if ($row[0]==0)
{
$stmt="SELECT count(*) FROM live_sip_channels where server_ip = '$server_ip' and channel='$channel';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$rowx=mysql_fetch_row($rslt);
if ($rowx[0]==0)
{
$channel_live=0;
echo "Kanał $channel nie jest aktywna na $server_ip, $ACTION komenda nie wstawiona\n";
}
}
if ($channel_live==1)
{
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','$ACTION','$queryCID','Channel: $channel','$SQLfile','','','','','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($ACTION=="Monitor")
{
$stmt = "INSERT INTO recording_log (channel,server_ip,extension,start_time,start_epoch,filename) values('$channel','$server_ip','$exten','$NOW_TIME','$StarTtime','$filename')";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$stmt="SELECT recording_id FROM recording_log where filename='$filename'";
$rslt=mysql_query($stmt, $link);
if ($DB) {echo "$stmt\n";}
$row=mysql_fetch_row($rslt);
$recording_id = $row[0];
}
else
{
$stmt="SELECT recording_id,start_epoch FROM recording_log where filename='$filename'";
$rslt=mysql_query($stmt, $link);
if ($DB) {echo "$stmt\n";}
$rec_count = mysql_num_rows($rslt);
if ($rec_count>0)
{
$row=mysql_fetch_row($rslt);
$recording_id = $row[0];
$start_time = $row[1];
$length_in_sec = ($StarTtime - $start_time);
$length_in_min = ($length_in_sec / 60);
$length_in_min = sprintf("%8.2f", $length_in_min);
$stmt = "UPDATE recording_log set end_time='$NOW_TIME',end_epoch='$StarTtime',length_in_sec=$length_in_sec,length_in_min='$length_in_min' where filename='$filename'";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_query($stmt, $link);
}
}
echo "$ACTION komenda wysłana do Kanał $channel na $server_ip\nFilename: $filename\nRecorDing_ID: $recording_id\n";
}
}
}
######################
# ACTION=MonitorConf or StopMonitorConf - insert Monitor/StopMonitor Manager statement to start recording on a conference
######################
if ( ($ACTION=="MonitorConf") || ($ACTION=="StopMonitorConf") )
{
$row=''; $rowx='';
$channel_live=1;
if ( (strlen($exten)<3) or (strlen($channel)<4) or (strlen($filename)<15) )
{
$channel_live=0;
echo "Kanał $channel nie jest prawidłowy or exten $exten nie jest prawidłowy or filename: $filename nie jest prawidłowy, $ACTION komenda nie wstawiona\n";
}
else
{
if ($ACTION=="MonitorConf")
{
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Originate','$filename','Channel: $channel','Context: $ext_context','Exten: $exten','Priority: $ext_priority','Callerid: $filename','','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$stmt = "INSERT INTO recording_log (channel,server_ip,extension,start_time,start_epoch,filename) values('$channel','$server_ip','$exten','$NOW_TIME','$StarTtime','$filename')";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$stmt="SELECT recording_id FROM recording_log where filename='$filename'";
$rslt=mysql_query($stmt, $link);
if ($DB) {echo "$stmt\n";}
$row=mysql_fetch_row($rslt);
$recording_id = $row[0];
}
else
{
$stmt="SELECT recording_id,start_epoch FROM recording_log where filename='$filename'";
$rslt=mysql_query($stmt, $link);
if ($DB) {echo "$stmt\n";}
$rec_count = mysql_num_rows($rslt);
if ($rec_count>0)
{
$row=mysql_fetch_row($rslt);
$recording_id = $row[0];
$start_time = $row[1];
$length_in_sec = ($StarTtime - $start_time);
$length_in_min = ($length_in_sec / 60);
$length_in_min = sprintf("%8.2f", $length_in_min);
$stmt = "UPDATE recording_log set end_time='$NOW_TIME',end_epoch='$StarTtime',length_in_sec=$length_in_sec,length_in_min='$length_in_min' where filename='$filename'";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_query($stmt, $link);
}
# find and hang up all recordings going na in this conference # and extension = '$exten'
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$channel%\" and channel LIKE \"%,1\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
# $rec_count = intval(mysql_num_rows($rslt) / 2);
$rec_count = mysql_num_rows($rslt);
$h=0;
while ($rec_count>$h)
{
$rowx=mysql_fetch_row($rslt);
$HUchannel[$h] = $rowx[0];
$h++;
}
$i=0;
while ($h>$i)
{
$stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Hangup','RH12345$StarTtime$i','Channel: $HUchannel[$i]','','','','','','','','','');";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$i++;
}
}
echo "$ACTION komenda wysłana do Kanał $channel na $server_ip\nFilename: $filename\nRecorDing_ID: $recording_id\n NAGRYWANIE BĘDZIE TRWAĆ MAKSYMALNIE 60 MINUT\n";
}
}
$ENDtime = date("U");
$RUNtime = ($ENDtime - $StarTtime);
if ($format=='debug') {echo "\n<!-- czas działania skyptu: $RUNtime sekundy -->";}
if ($format=='debug') {echo "\n</body>\n</html>\n";}
exit;
?>
+146
View File
@@ -0,0 +1,146 @@
<?
### park_calls_display.php
###
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2
###
### This script is designed purely to send the details on the parked calls on the server
### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
###
### required variables:
### - $server_ip
### - $session_name
### - $user
### - $pass
### optional variables:
### - $format - ('text','debug')
### - $exten - ('cc101','testphone','49-1','1234','913125551212',...)
### - $protocol - ('SIP','Zap','IAX2',...)
###
# changes
# 50524-1515 - First build of script
# 50711-1208 - removed HTTP authentication in favor of user/pass vars
# 60421-1111 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1205 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
### If you have globals turned off uncomment these lines
if (isset($_GET["user"])) {$user=$_GET["user"];}
elseif (isset($_POST["user"])) {$user=$_POST["user"];}
if (isset($_GET["pass"])) {$pass=$_GET["pass"];}
elseif (isset($_POST["pass"])) {$pass=$_POST["pass"];}
if (isset($_GET["server_ip"])) {$server_ip=$_GET["server_ip"];}
elseif (isset($_POST["server_ip"])) {$server_ip=$_POST["server_ip"];}
if (isset($_GET["session_name"])) {$session_name=$_GET["session_name"];}
elseif (isset($_POST["session_name"])) {$session_name=$_POST["session_name"];}
if (isset($_GET["format"])) {$format=$_GET["format"];}
elseif (isset($_POST["format"])) {$format=$_POST["format"];}
if (isset($_GET["exten"])) {$exten=$_GET["exten"];}
elseif (isset($_POST["exten"])) {$exten=$_POST["exten"];}
if (isset($_GET["protocol"])) {$protocol=$_GET["protocol"];}
elseif (isset($_POST["protocol"])) {$protocol=$_POST["protocol"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
if (!isset($park_limit)) {$park_limit="1000";}
$version = '0.0.4';
$build = '60619-1205';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
if (!isset($query_date)) {$query_date = $NOW_DATE;}
$stmt="SELECT count(*) from vicidial_users where user='$user' and pass='$pass' and user_level > 0;";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$auth=$row[0];
if( (strlen($user)<2) or (strlen($pass)<2) or ($auth==0) )
{
echo "Nieprawidłowy NazwaUżytkownika/Hasło: |$user|$pass|\n";
exit;
}
else
{
if( (strlen($server_ip)<6) or (!isset($server_ip)) or ( (strlen($session_name)<12) or (!isset($session_name)) ) ) {
echo "Nieprawidłowy server_ip: |$server_ip| or Nieprawidłowy session_name: |$session_name|\n";
exit;
}
else
{
$stmt="SELECT count(*) from web_client_sessions where session_name='$session_name' and server_ip='$server_ip';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$SNauth=$row[0];
if($SNauth==0)
{
echo "Nieprawidłowy session_name: |$session_name|$server_ip|\n";
exit;
}
else
{
# do nothing for now
}
}
}
if ($format=='debug')
{
echo "<html>\n";
echo "<head>\n";
echo "<!-- WERSJA: $version KOMPILACJA: $build EXTEN: $exten server_ip: $server_ip-->\n";
echo "<title>Zawieszone rozmowy";
echo "</title>\n";
echo "</head>\n";
echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
}
$row=''; $rowx='';
$channel_live=1;
if ( (strlen($exten)<1) or (strlen($protocol)<3) )
{
$channel_live=0;
echo "Exten $exten nie jest prawidłowy lub protokół $protocol nie jest prawidłowy\n";
exit;
}
else
{
##### print parked calls from the parked_channels table
$stmt="SELECT * from parked_channels where server_ip = '$server_ip' order by parked_time limit $park_limit;";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$park_calls_count = mysql_num_rows($rslt);
echo "$park_calls_count\n";
$loop_count=0;
while ($park_calls_count>$loop_count)
{
$loop_count++;
$row=mysql_fetch_row($rslt);
echo "$row[0] ~$row[2] ~$row[3] ~$row[4] ~$row[5]|";
}
echo "\n";
}
if ($format=='debug')
{
$ENDtime = date("U");
$RUNtime = ($ENDtime - $StarTtime);
echo "\n<!-- czas działania skyptu: $RUNtime sekundy -->";
echo "\n</body>\n</html>\n";
}
exit;
?>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+140
View File
@@ -0,0 +1,140 @@
<?
### voicemail_check.php
###
### Copyright (C) 2006 Matt Florell <vicidial@gmail.com> LICENSE: GPLv2
###
### This script is designed purely to check whether the voicemail box on the server defined has new and old messages
### This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
###
### required variables:
### - $server_ip
### - $session_name
### - $user
### - $pass
### optional variables:
### - $format - ('text','debug')
### - $vmail_box - ('101','1234',...)
###
# changes
# 50422-1147 - First build of script
# 50503-1241 - added session_name checking for extra security
# 50711-1201 - removed HTTP authentication in favor of user/pass vars
# 60421-1147 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1204 - Added variable filters to close security holes for login form
#
require("dbconnect.php");
### If you have globals turned off uncomment these lines
if (isset($_GET["user"])) {$user=$_GET["user"];}
elseif (isset($_POST["user"])) {$user=$_POST["user"];}
if (isset($_GET["pass"])) {$pass=$_GET["pass"];}
elseif (isset($_POST["pass"])) {$pass=$_POST["pass"];}
if (isset($_GET["server_ip"])) {$server_ip=$_GET["server_ip"];}
elseif (isset($_POST["server_ip"])) {$server_ip=$_POST["server_ip"];}
if (isset($_GET["session_name"])) {$session_name=$_GET["session_name"];}
elseif (isset($_POST["session_name"])) {$session_name=$_POST["session_name"];}
if (isset($_GET["format"])) {$format=$_GET["format"];}
elseif (isset($_POST["format"])) {$format=$_POST["format"];}
if (isset($_GET["vmail_box"])) {$vmail_box=$_GET["vmail_box"];}
elseif (isset($_POST["vmail_box"])) {$vmail_box=$_POST["vmail_box"];}
$user=ereg_replace("[^0-9a-zA-Z]","",$user);
$pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
# default optional vars if not set
if (!isset($format)) {$format="text";}
$version = '0.0.5';
$build = '60619-1204';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
if (!isset($query_date)) {$query_date = $NOW_DATE;}
$stmt="SELECT count(*) from vicidial_users where user='$user' and pass='$pass' and user_level > 0;";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$auth=$row[0];
if( (strlen($user)<2) or (strlen($pass)<2) or ($auth==0))
{
echo "Nieprawidłowy NazwaUżytkownika/Hasło: |$user|$pass|\n";
exit;
}
else
{
if( (strlen($server_ip)<6) or (!isset($server_ip)) or ( (strlen($session_name)<12) or (!isset($session_name)) ) )
{
echo "Nieprawidłowy server_ip: |$server_ip| or Nieprawidłowy session_name: |$session_name|\n";
exit;
}
else
{
$stmt="SELECT count(*) from web_client_sessions where session_name='$session_name' and server_ip='$server_ip';";
if ($DB) {echo "|$stmt|\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$SNauth=$row[0];
if($SNauth==0)
{
echo "Nieprawidłowy session_name: |$session_name|$server_ip|\n";
exit;
}
else
{
# do nothing for now
}
}
}
if ($format=='debug')
{
echo "<html>\n";
echo "<head>\n";
echo "<!-- WERSJA: $version KOMPILACJA: $build VMBOX: $vmail_box server_ip: $server_ip-->\n";
echo "<title>Sprawdzanie poczty głosowej";
echo "</title>\n";
echo "</head>\n";
echo "<BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
}
$MT[0]='';
$row=''; $rowx='';
if (strlen($vmail_box)<1)
{
$channel_live=0;
echo "skrzynka poczty głosowej $vmail_box nie jest prawidłowy\n";
exit;
}
else
{
$stmt="SELECT messages,old_messages FROM phones where server_ip='$server_ip' and voicemail_id='$vmail_box' limit 1;";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
$vmails_list = mysql_num_rows($rslt);
$loop_count=0;
while ($vmails_list>$loop_count)
{
$loop_count++;
$row=mysql_fetch_row($rslt);
echo "$row[0]|$row[1]";
if ($format=='debug') {echo "\n<!-- $row[0] $row[1] -->";}
}
}
if ($format=='debug')
{
$ENDtime = date("U");
$RUNtime = ($ENDtime - $StarTtime);
echo "\n<!-- czas działania skyptu: $RUNtime sekundy -->";
echo "\n</body>\n</html>\n";
}
exit;
?>
+1 -1
View File
@@ -48,7 +48,7 @@ if ($dbhA->has_selected_record) {
print " <tr bgcolor=#D9E6FE>\r\n";
print " <th><font class=standard>".$field_name.": </font></td>\r\n";
print " <th><select name='".$row[$i]."_field'>\r\n";
print " <option value=''>---------------------</option>\r\n";
print " <option value='9999'>---------------------</option>\r\n";
for ($j=0; $j<scalar(@xls_row); $j++) {
$xls_row[$j]=~s/\"//g;
+1 -1
View File
@@ -258,7 +258,7 @@ echo "<B>LAST 50 CALLS:</B>\n";
echo "<TABLE width=550 cellspacing=0 cellpadding=1>\n";
echo "<tr><td><font size=2>DATE/TIME </td><td align=left><font size=2>LENGTH</td><td align=left><font size=2> STATUS</td><td align=left><font size=2> PHONE</td><td align=right><font size=2> CAMPAIGN</td><td align=right><font size=2> LIST</td><td align=right><font size=2> LEAD</td></tr>\n";
$stmt="select * from vicidial_log where user='" . mysql_real_escape_string($user) . "' order by uniqueid desc limit 50;";
$stmt="select * from vicidial_log where user='" . mysql_real_escape_string($user) . "' order by call_date desc limit 50;";
$rslt=mysql_query($stmt, $link);
$logs_to_print = mysql_num_rows($rslt);
Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 951 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1007 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 882 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

+19 -18
View File
@@ -28,6 +28,7 @@
# 60103-1541 - added favorite extens status display
# 60421-1359 - check GET/POST vars lines with isset to not trigger PHP NOTICES
# 60619-1203 - Added variable filters to close security holes for login form
# 60825-1028 - Fixed translation variable issue ChannelA
#
require("dbconnect.php");
@@ -59,7 +60,7 @@ $pass=ereg_replace("[^0-9a-zA-Z]","",$pass);
if (!isset($format)) {$format="text";}
$version = '1.1.12';
$build = '60619-1203';
$build = '60825-1028';
$StarTtime = date("U");
$NOW_DATE = date("Y-m-d");
$NOW_TIME = date("Y-m-d H:i:s");
@@ -145,8 +146,8 @@ echo "$row[0]|";
{
$loop_count++;
$row=mysql_fetch_row($rslt);
$ChannelA[$loop_count] = "$row[0]";
$ChannelB[$loop_count] = "$row[1]";
$ChanneLA[$loop_count] = "$row[0]";
$ChanneLB[$loop_count] = "$row[1]";
if ($format=='debug') {echo "\n<!-- $row[0] $row[1] -->";}
}
}
@@ -155,7 +156,7 @@ echo "$row[0]|";
while($loop_count > $counter)
{
$counter++;
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel_data = '$ChannelA[$counter]';";
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -163,13 +164,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel_data = '$ChannelA[$counter]';";
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel_data = '$ChanneLA[$counter]';";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -177,13 +178,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$ChannelB[$counter]%\";";
$stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -191,13 +192,13 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $row[0]|";
}
else
{
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel LIKE \"$ChannelB[$counter]%\";";
$stmt="SELECT channel FROM live_channels where server_ip = '$server_ip' and channel LIKE \"$ChanneLB[$counter]%\";";
if ($format=='debug') {echo "\n<!-- $stmt -->";}
$rslt=mysql_query($stmt, $link);
if ($rslt) {$trunk_count = mysql_num_rows($rslt);}
@@ -205,16 +206,16 @@ echo "$row[0]|";
{
$row=mysql_fetch_row($rslt);
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $row[0]|";
}
else
{
echo "Conversation: $counter ~";
echo "ChannelA: $ChannelA[$counter] ~";
echo "ChannelB: $ChannelB[$counter] ~";
echo "ChannelBtrunk: $ChannelA[$counter]|";
echo "ChannelA: $ChanneLA[$counter] ~";
echo "ChannelB: $ChanneLB[$counter] ~";
echo "ChannelBtrunk: $ChanneLA[$counter]|";
}
}
}
+42 -27
View File
@@ -1,4 +1,4 @@
Asterisk/astguiclient install from scratch. v.1.1.12 2006-06-22
Asterisk/astguiclient install from scratch. v.1.1.12 2006-08-18
By the astGUIclient group astguiclient@eflo.net
**** IMPORTANT - In order for vicidial/astguiclient to function correctly please
@@ -240,10 +240,10 @@ user. The home directory should be /home/cron/ for this new user.
SUBPHASE 3.1: Installing Perl Modules
NOTE - you can install ActiveState http://www.activestate.com perl for faster
executing code that uses less processor time, but it is not required. Here's
the source for ActiveState Perl 5.6: (it's free)
http://downloads.activestate.com/ActivePerl/src/5.6/AP638_source.tgz
NOTE - you can install ActiveState http://www.activestate.com perl which may
improve performance, but it is not required. Here's the source for ActiveState
Perl 5.8: (it's free)
http://downloads.activestate.com/ActivePerl/src/5.8/AP817_source.tgz
I hope to add the lengthy steps for installing it as your default perl on your
server but I need some time and a free machine to do that.
@@ -399,12 +399,12 @@ the time is the same on our client computers and our servers.
6. Go to http://www.ntp.org/ and download the ntpd package
- to install this directly on the command line type:
- cd /usr/local
- wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.2.tar.gz
- wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.2p3.tar.gz
If you get compilation errors here try 4.1.2:
- wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.1.2.tar.gz
- gunzip ntp-stable-4.2.0a-20060224.tar.gz
- tar xvf ntp-stable-4.2.0a-20060224.tar
- cd ntp-4.2.0
- gunzip ntp-4.2.2p3.tar.gz
- tar xvf ntp-4.2.2p3.tar.gz
- cd ntp-4.2.2p3
- ./configure
- make
- make install
@@ -442,10 +442,10 @@ they are using. *OPTIONAL*
8. Go to http://www.ex-parrot.com/~pdw/iftop/ and download the package
- to install this directly on the command line type:
- cd /usr/local
- wget http://www.tcpdump.org/release/libpcap-0.8.3.tar.gz
- gunzip libpcap-0.8.3.tar.gz
- tar xvf libpcap-0.8.3.tar
- cd libpcap-0.8.3
- wget http://www.tcpdump.org/release/libpcap-0.9.4.tar.gz
- gunzip libpcap-0.9.4.tar.gz
- tar xvf libpcap-0.9.4.tar
- cd libpcap-0.9.4
- ./configure
- make
- make install
@@ -564,7 +564,7 @@ updated on your system, so we're going to install a new version now.
- make
- make install
- cd /usr/local
- wget http://gulus.usherbrooke.ca/pub/appl/ssh/OpenSSH/portable/openssh-4.3p2.tar.gz
- wget http://mirror.mcs.anl.gov/openssh/portable/openssh-4.3p2.tar.gz
- gunzip openssh-4.3p2.tar.gz
- tar xvf openssh-4.3p2.tar
- cd openssh-4.3p2
@@ -602,18 +602,18 @@ installation on another machine)
Go to http://www.php.net/ and download the php unix source code
- to install this directly on the command line type:
- cd /usr/local
- wget http://apache.secsup.org/dist/httpd/httpd-2.0.58.tar.gz
- gunzip httpd-2.0.58.tar.gz
- tar xvf httpd-2.0.58.tar
- wget http://us2.php.net/distributions/php-4.4.2.tar.gz
- wget http://apache.secsup.org/dist/httpd/httpd-2.0.59.tar.gz
- gunzip httpd-2.0.59.tar.gz
- tar xvf httpd-2.0.59.tar
- wget http://us2.php.net/distributions/php-4.4.4.tar.gz
NOTE: PHP 5.1.1 has also been tested with this release
- gunzip php-4.4.2.tar.gz
- tar xvf php-4.4.2.tar
- cd httpd-2.0.58
- gunzip php-4.4.4.tar.gz
- tar xvf php-4.4.4.tar
- cd httpd-2.0.59
- ./configure --enable-so --with-apxs2
- make
- make install
- cd ../php-4.4.2
- cd ../php-4.4.4
- ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
- make
- make install
@@ -659,10 +659,10 @@ this loaded on your system.
15. Go to http://subversion.tigris.org to download the most recent source version
- to install this directly on the command line type:
- cd /usr/local
- wget http://subversion.tigris.org/downloads/subversion-1.3.0.tar.gz
- gunzip subversion-1.3.0.tar.gz
- tar xvf subversion-1.3.0.tar
- cd subversion-1.3.0
- wget http://subversion.tigris.org/downloads/subversion-1.3.2.tar.gz
- gunzip subversion-1.3.2.tar.gz
- tar xvf subversion-1.3.2.tar
- cd subversion-1.3.2
- ./configure --enable-ssl --with-neon
- make
- make install
@@ -1049,6 +1049,10 @@ This works for most customers. Folks that want inbound then also sign up for
DIDs, each of which has its own IAX username. (Which is the 10 digit DID).
Each username has its own password which is managed through their web interface.
NOTE: If you will be using the G729 codec through binfone there is now a
dedicated G729 gateway that only handles G729 calls. Please use this address to
register to if you plan on using G729 as your codec: iax-g729.binfone.com
iax.conf:
[general]
register => 1112223333:PASSWORD@iax.binfone.com
@@ -1076,6 +1080,12 @@ Each username has its own password which is managed through their web interface.
exten => 1112223333,2,Dial(sip/gs102,55,o)
exten => 1112223333,3,Hangup
dnsmgr.conf: # It is very helpful to enable dnsmgr
[general]
enable=yes ; enable creation of managed DNS lookups
refreshinterval=300 ; refresh managed DNS lookups every <n> seconds
##### END EXAMPLE
@@ -1273,7 +1283,12 @@ exten => _56XXX,1,AgentCallbackLogin(||${EXTEN:1}@default)
exten => _010*010*010*015*8600XXX,2,Hangup
10. Now that you have configured Asterisk, it is time to try to start it for the
10. edit dnsmgr.conf: # It is very helpful to enable dnsmgr
[general]
enable=yes ; enable creation of managed DNS lookups
refreshinterval=300 ; refresh managed DNS lookups every <n> seconds
11. Now that you have configured Asterisk, it is time to try to start it for the
first time.
- First make sure that your T1 line(or other telco line) is connected to the
digium card.
+16 -3
View File
@@ -328,7 +328,7 @@ BUILD|CONFIGURAÇÃO|
Server|Servidor|
RECORD|REGISTRO|
HANGUP|DESLIGAR|
XFER|TRANFERENCIA|
>XFER|>TRANFERENCIA|
PARK|ESPERA|
IN-NUMBER|NUMERO ENTRANTE|
NUMBER|NUMERO|
@@ -352,8 +352,8 @@ Recording|Gravando|
Record|Gravar|
Welcome|Bem vindo|
VOICEMAIL|CAIXA POSTAL|
NEW|NOVO|
OLD|VELHO|
NEW| NOVO|
OLD| VELHO|
PAUSE|PAUSAR|
START|INICIAR|
Pause|Pausa|
@@ -399,3 +399,16 @@ This option if checked will attempt to find the phone number in the system befor
Finish Wrapup and Move On|Revestimento Wrapup e movimento sobre|
seconds remaining in wrapup|segundos restantes no wrapup|
Call Wrapup:|Chamada Wrapup:|
### months of the year for CallBack date select screen ###
January|Janeiro|
Frebruary|Fevereiro|
March|Março|
April|Abril|
May|Pode|
June|Junho|
July|Julho|
August|Agosto|
September|Setembro|
October|Outubro|
November|Novembro|
December|Dezembro|
+65 -52
View File
@@ -39,7 +39,6 @@ agc|htglobalize.php|1
BORDER|Border|
VALUE=SUBMIT|VALUE=SUBMIT|
TYPE=SUBMIT|TYPE=Submit|
XFER|XFER|
MAXLENGTH|maxlength|
### BEGIN translation phrases through 1.1.11 release ###
English|Englisch|
@@ -47,55 +46,55 @@ Spanish|Spanisch|
French|Französisch|
German|Deutsch|
Italian|Italienisch|
agc_check_voicemail_BLINK.gif|agc_check_voicemail_BLINK_de.gif|
agc_check_voicemail_OFF.gif|agc_check_voicemail_OFF_de.gif|
agc_check_voicemail_ON.gif|agc_check_voicemail_ON_de.gif|
agc_live_call_OFF.gif|agc_live_call_OFF_de.gif|
agc_live_call_ON.gif|agc_live_call_ON_de.gif|
agc_tab_active_lines.gif|agc_tab_active_lines_de.gif|
agc_tab_conferences.gif|agc_tab_conferences_de.gif|
agc_tab_main.gif|agc_tab_main_de.gif|
vdc_LB_dialnextnumber.gif|vdc_LB_dialnextnumber_de.gif|
vdc_LB_dialnextnumber_OFF.gif|vdc_LB_dialnextnumber_OFF_de.gif|
vdc_LB_grabparkedcall.gif|vdc_LB_grabparkedcall_de.gif|
vdc_LB_hangupcustomer.gif|vdc_LB_hangupcustomer_de.gif|
vdc_LB_hangupcustomer_OFF.gif|vdc_LB_hangupcustomer_OFF_de.gif|
vdc_LB_parkcall.gif|vdc_LB_parkcall_de.gif|
vdc_LB_parkcall_OFF.gif|vdc_LB_parkcall_OFF_de.gif|
vdc_LB_pause.gif|vdc_LB_pause_de.gif|
vdc_LB_pause_OFF.gif|vdc_LB_pause_OFF_de.gif|
vdc_LB_resume.gif|vdc_LB_resume_de.gif|
vdc_LB_resume_OFF.gif|vdc_LB_resume_OFF_de.gif|
vdc_LB_startrecording.gif|vdc_LB_startrecording_de.gif|
vdc_LB_stoprecording.gif|vdc_LB_stoprecording_de.gif|
vdc_LB_transferconf.gif|vdc_LB_transferconf_de.gif|
vdc_LB_transferconf_OFF.gif|vdc_LB_transferconf_OFF_de.gif|
vdc_LB_webform.gif|vdc_LB_webform_de.gif|
vdc_LB_webform_OFF.gif|vdc_LB_webform_OFF_de.gif|
vdc_XB_blindtransfer.gif|vdc_XB_blindtransfer_de.gif|
vdc_XB_blindtransfer_OFF.gif|vdc_XB_blindtransfer_OFF_de.gif|
vdc_XB_dialwithcustomer.gif|vdc_XB_dialwithcustomer_de.gif|
vdc_XB_dialwithcustomer_OFF.gif|vdc_XB_dialwithcustomer_OFF_de.gif|
vdc_XB_hangupbothlines.gif|vdc_XB_hangupbothlines_de.gif|
vdc_XB_hangupbothlines_OFF.gif|vdc_XB_hangupbothlines_OFF_de.gif|
vdc_XB_hangupxferline.gif|vdc_XB_hangupxferline_de.gif|
vdc_XB_hangupxferline_OFF.gif|vdc_XB_hangupxferline_OFF_de.gif|
vdc_XB_internalcloser.gif|vdc_XB_internalcloser_de.gif|
vdc_XB_internalcloser_OFF.gif|vdc_XB_internalcloser_OFF_de.gif|
vdc_XB_leave3waycall.gif|vdc_XB_leave3waycall_de.gif|
vdc_XB_leave3waycall_OFF.gif|vdc_XB_leave3waycall_OFF_de.gif|
vdc_XB_localcloser.gif|vdc_XB_localcloser_de.gif|
vdc_XB_localcloser_OFF.gif|vdc_XB_localcloser_OFF_de.gif|
vdc_XB_parkcustomerdial.gif|vdc_XB_parkcustomerdial_de.gif|
vdc_XB_parkcustomerdial_OFF.gif|vdc_XB_parkcustomerdial_OFF_de.gif|
vdc_XB_hotkeysactive.gif|vdc_XB_hotkeysactive_de.gif|
vdc_XB_hotkeysactive_OFF.gif|vdc_XB_hotkeysactive_OFF_de.gif|
vdc_LB_senddtmf.gif|vdc_LB_senddtmf_de.gif|
vdc_LB_senddtmf_OFF.gif|vdc_LB_senddtmf_OFF_de.gif|
vdc_XB_header.gif|vdc_XB_header_de.gif|
vdc_XB_number.gif|vdc_XB_number_de.gif|
vdc_XB_channel.gif|vdc_XB_channel_de.gif|
vdc_XB_seconds.gif|vdc_XB_seconds_de.gif|
agc_check_voicemail_BLINK.gif|agc_check_voicemail_BLINK.gif|
agc_check_voicemail_OFF.gif|agc_check_voicemail_OFF.gif|
agc_check_voicemail_ON.gif|agc_check_voicemail_ON.gif|
agc_live_call_OFF.gif|agc_live_call_OFF.gif|
agc_live_call_ON.gif|agc_live_call_ON.gif|
agc_tab_active_lines.gif|agc_tab_active_lines.gif|
agc_tab_conferences.gif|agc_tab_conferences.gif|
agc_tab_main.gif|agc_tab_main.gif|
vdc_LB_dialnextnumber.gif|vdc_LB_dialnextnumber.gif|
vdc_LB_dialnextnumber_OFF.gif|vdc_LB_dialnextnumber_OFF.gif|
vdc_LB_grabparkedcall.gif|vdc_LB_grabparkedcall.gif|
vdc_LB_hangupcustomer.gif|vdc_LB_hangupcustomer.gif|
vdc_LB_hangupcustomer_OFF.gif|vdc_LB_hangupcustomer_OFF.gif|
vdc_LB_parkcall.gif|vdc_LB_parkcall.gif|
vdc_LB_parkcall_OFF.gif|vdc_LB_parkcall_OFF.gif|
vdc_LB_pause.gif|vdc_LB_pause.gif|
vdc_LB_pause_OFF.gif|vdc_LB_pause_OFF.gif|
vdc_LB_resume.gif|vdc_LB_resume.gif|
vdc_LB_resume_OFF.gif|vdc_LB_resume_OFF.gif|
vdc_LB_startrecording.gif|vdc_LB_startrecording.gif|
vdc_LB_stoprecording.gif|vdc_LB_stoprecording.gif|
vdc_LB_transferconf.gif|vdc_LB_transferconf.gif|
vdc_LB_transferconf_OFF.gif|vdc_LB_transferconf_OFF.gif|
vdc_LB_webform.gif|vdc_LB_webform.gif|
vdc_LB_webform_OFF.gif|vdc_LB_webform_OFF.gif|
vdc_XB_blindtransfer.gif|vdc_XB_blindtransfer.gif|
vdc_XB_blindtransfer_OFF.gif|vdc_XB_blindtransfer_OFF.gif|
vdc_XB_dialwithcustomer.gif|vdc_XB_dialwithcustomer.gif|
vdc_XB_dialwithcustomer_OFF.gif|vdc_XB_dialwithcustomer_OFF.gif|
vdc_XB_hangupbothlines.gif|vdc_XB_hangupbothlines.gif|
vdc_XB_hangupbothlines_OFF.gif|vdc_XB_hangupbothlines_OFF.gif|
vdc_XB_hangupxferline.gif|vdc_XB_hangupxferline.gif|
vdc_XB_hangupxferline_OFF.gif|vdc_XB_hangupxferline_OFF.gif|
vdc_XB_internalcloser.gif|vdc_XB_internalcloser.gif|
vdc_XB_internalcloser_OFF.gif|vdc_XB_internalcloser_OFF.gif|
vdc_XB_leave3waycall.gif|vdc_XB_leave3waycall.gif|
vdc_XB_leave3waycall_OFF.gif|vdc_XB_leave3waycall_OFF.gif|
vdc_XB_localcloser.gif|vdc_XB_localcloser.gif|
vdc_XB_localcloser_OFF.gif|vdc_XB_localcloser_OFF.gif|
vdc_XB_parkcustomerdial.gif|vdc_XB_parkcustomerdial.gif|
vdc_XB_parkcustomerdial_OFF.gif|vdc_XB_parkcustomerdial_OFF.gif|
vdc_XB_hotkeysactive.gif|vdc_XB_hotkeysactive.gif|
vdc_XB_hotkeysactive_OFF.gif|vdc_XB_hotkeysactive_OFF.gif|
vdc_LB_senddtmf.gif|vdc_LB_senddtmf.gif|
vdc_LB_senddtmf_OFF.gif|vdc_LB_senddtmf_OFF.gif|
vdc_XB_header.gif|vdc_XB_header.gif|
vdc_XB_number.gif|vdc_XB_number.gif|
vdc_XB_channel.gif|vdc_XB_channel.gif|
vdc_XB_seconds.gif|vdc_XB_seconds.gif|
vdc_tab_script.gif|vdc_tab_script.gif|
You have now logged out. Thank you|Sie haben jetzt heraus geloggt. Danke|
astGUIclient web-client VERSION|astGUIclient Netz-Klient VERSION|
@@ -332,6 +331,7 @@ BUILD|BAU|
Server|Bediener|
RECORD|SATZ|
HANGUP|HÄNGEZUSTAND|
>XFER|>XFER|
PARK|PARK|
IN-NUMBER|IN-NUMBER|
NUMBER|ZAHL|
@@ -354,8 +354,8 @@ Recording|Aufnahme|
Record|Aufzeichnung|
Welcome|Willkommen|
VOICEMAIL|VOICEMAIL|
NEW|NEU|
OLD|ALT|
NEW| NEU|
OLD| ALT|
PAUSE|PAUSE|
START|ANFANG|
Pause|Pause|
@@ -401,3 +401,16 @@ This option if checked will attempt to find the phone number in the system befor
Finish Wrapup and Move On|Beende Nachbereitung und mache weiter|
seconds remaining in wrapup|Verbleibende Sekunden der Nachbereitung|
Call Wrapup:|Anruf Nachbereitung|
### months of the year for CallBack date select screen ###
January|Januar|
Frebruary|Februar|
March|März|
April|April|
May|Mag|
June|Juni|
July|Juli|
August|August|
September|September|
October|Oktober|
November|November|
December|Dezember|
+16 -3
View File
@@ -39,7 +39,6 @@ agc|htglobalize.php|1
BORDER|Border|
VALUE=SUBMIT|VALUE=SUBMIT|
TYPE=SUBMIT|TYPE=Submit|
XFER|XFER|
MAXLENGTH|maxlength|
### BEGIN translation phrases through 1.1.11 release ###
English|Αγγλικά|
@@ -330,6 +329,7 @@ BUILD|ΔΗΜΙΟΥΡΓΙΑ|
Server|Κεντρικός υπολογιστής|
RECORD|ΕΓΓΡΑΦΗ|
HANGUP|ΚΛΕΙΣΙΜΟ|
>XFER|>XFER|
PARK|ΣΤΑΘΜΕΥΣΗ|
IN-NUMBER|ΣΕ-ΑΡΙΘΜΟ|
NUMBER|ΑΡΙΘΜΟΣ|
@@ -352,8 +352,8 @@ Recording|Καταγραφή|
Record|Εγγραφή|
Welcome|Χρήστης|
VOICEMAIL|ΦΩΝ.ΤΑΧ.|
NEW|ΝΕΟ|
OLD|ΠΑΛΑΙΟ|
NEW| ΝΕΟ|
OLD| ΠΑΛΑΙΟ|
PAUSE|ΠΑΥΣΗ|
START|ΕΝΑΡΞΗ|
Pause|Παύση|
@@ -399,3 +399,16 @@ This option if checked will attempt to find the phone number in the system befor
Finish Wrapup and Move On|Τελείωμα Τυλίγματος και προχωράει|
seconds remaining in wrapup|απομύνοντα δευτερόλεπτα σε τύλιγμα|
Call Wrapup:|Τύλιγμα Κλήσης:|
### months of the year for CallBack date select screen ###
January|Φεβρουάριος|
Frebruary|Ιανουαρίου|
March|Μάρτιος|
April|Απρίλιος|
May|Μάιος|
June|Ιούνιος|
July|Ιούλιος|
August|Αύγουστος|
September|Σεπτέμβριος|
October|Οκτώβριος|
November|Νοέμβριος|
December|Δεκέμβριος|
+16 -3
View File
@@ -331,7 +331,7 @@ BUILD|CONSTRUCCION|
Server|Servidor|
RECORD|GRABACIÓN|
HANGUP|COLGAR|
XFER|TRANSFERENCIA|
>XFER|>TRANSFERENCIA|
PARK|PARKING|
IN-NUMBER|NÚMERO-ENTRANTE|
NUMBER|NÚMERO|
@@ -354,8 +354,8 @@ Recording|GRABANDO|
Record|Grabar|
Welcome|Bienvenido|
VOICEMAIL|BUZÓN DE VOZ|
NEW|NUEVO|
OLD|VIEJO|
NEW| NUEVO|
OLD| VIEJO|
PAUSE|PAUSA|
START|COMIENZO|
Pause|Pausa|
@@ -401,3 +401,16 @@ This option if checked will attempt to find the phone number in the system befor
Finish Wrapup and Move On|Final Wrapup y movimiento encendido|
seconds remaining in wrapup|segundos restantes en wrapup|
Call Wrapup:|Llamada Wrapup:|
### months of the year for CallBack date select screen ###
January|Enero|
Frebruary|Febrero|
March|Marcha|
April|Abril|
May|Puede|
June|Junio|
July|Julio|
August|Agosto|
September|Septiembre|
October|Octubre|
November|Noviembre|
December|Diciembre|
+65 -52
View File
@@ -46,55 +46,55 @@ Spanish|Espagnol|
French|Français|
German|Allemand|
Italian|Italien|
agc_check_voicemail_BLINK.gif|agc_check_voicemail_BLINK_fr.gif|
agc_check_voicemail_OFF.gif|agc_check_voicemail_OFF_fr.gif|
agc_check_voicemail_ON.gif|agc_check_voicemail_ON_fr.gif|
agc_live_call_OFF.gif|agc_live_call_OFF_fr.gif|
agc_live_call_ON.gif|agc_live_call_ON_fr.gif|
agc_tab_active_lines.gif|agc_tab_active_lines_fr.gif|
agc_tab_conferences.gif|agc_tab_conferences_fr.gif|
agc_tab_main.gif|agc_tab_main_fr.gif|
vdc_LB_dialnextnumber.gif|vdc_LB_dialnextnumber_fr.gif|
vdc_LB_dialnextnumber_OFF.gif|vdc_LB_dialnextnumber_OFF_fr.gif|
vdc_LB_grabparkedcall.gif|vdc_LB_grabparkedcall_fr.gif|
vdc_LB_hangupcustomer.gif|vdc_LB_hangupcustomer_fr.gif|
vdc_LB_hangupcustomer_OFF.gif|vdc_LB_hangupcustomer_OFF_fr.gif|
vdc_LB_parkcall.gif|vdc_LB_parkcall_fr.gif|
vdc_LB_parkcall_OFF.gif|vdc_LB_parkcall_OFF_fr.gif|
vdc_LB_pause.gif|vdc_LB_pause_fr.gif|
vdc_LB_pause_OFF.gif|vdc_LB_pause_OFF_fr.gif|
vdc_LB_resume.gif|vdc_LB_resume_fr.gif|
vdc_LB_resume_OFF.gif|vdc_LB_resume_OFF_fr.gif|
vdc_LB_startrecording.gif|vdc_LB_startrecording_fr.gif|
vdc_LB_stoprecording.gif|vdc_LB_stoprecording_fr.gif|
vdc_LB_transferconf.gif|vdc_LB_transferconf_fr.gif|
vdc_LB_transferconf_OFF.gif|vdc_LB_transferconf_OFF_fr.gif|
vdc_LB_webform.gif|vdc_LB_webform_fr.gif|
vdc_LB_webform_OFF.gif|vdc_LB_webform_OFF_fr.gif|
vdc_XB_blindtransfer.gif|vdc_XB_blindtransfer_fr.gif|
vdc_XB_blindtransfer_OFF.gif|vdc_XB_blindtransfer_OFF_fr.gif|
vdc_XB_dialwithcustomer.gif|vdc_XB_dialwithcustomer_fr.gif|
vdc_XB_dialwithcustomer_OFF.gif|vdc_XB_dialwithcustomer_OFF_fr.gif|
vdc_XB_hangupbothlines.gif|vdc_XB_hangupbothlines_fr.gif|
vdc_XB_hangupbothlines_OFF.gif|vdc_XB_hangupbothlines_OFF_fr.gif|
vdc_XB_hangupxferline.gif|vdc_XB_hangupxferline_fr.gif|
vdc_XB_hangupxferline_OFF.gif|vdc_XB_hangupxferline_OFF_fr.gif|
vdc_XB_internalcloser.gif|vdc_XB_internalcloser_fr.gif|
vdc_XB_internalcloser_OFF.gif|vdc_XB_internalcloser_OFF_fr.gif|
vdc_XB_leave3waycall.gif|vdc_XB_leave3waycall_fr.gif|
vdc_XB_leave3waycall_OFF.gif|vdc_XB_leave3waycall_OFF_fr.gif|
vdc_XB_localcloser.gif|vdc_XB_localcloser_fr.gif|
vdc_XB_localcloser_OFF.gif|vdc_XB_localcloser_OFF_fr.gif|
vdc_XB_parkcustomerdial.gif|vdc_XB_parkcustomerdial_fr.gif|
vdc_XB_parkcustomerdial_OFF.gif|vdc_XB_parkcustomerdial_OFF_fr.gif|
vdc_XB_hotkeysactive.gif|vdc_XB_hotkeysactive_fr.gif|
vdc_XB_hotkeysactive_OFF.gif|vdc_XB_hotkeysactive_OFF_fr.gif|
vdc_LB_senddtmf.gif|vdc_LB_senddtmf_fr.gif|
vdc_LB_senddtmf_OFF.gif|vdc_LB_senddtmf_OFF_fr.gif|
vdc_XB_header.gif|vdc_XB_header_fr.gif|
vdc_XB_number.gif|vdc_XB_number_fr.gif|
vdc_XB_channel.gif|vdc_XB_channel_fr.gif|
vdc_XB_seconds.gif|vdc_XB_seconds_fr.gif|
agc_check_voicemail_BLINK.gif|agc_check_voicemail_BLINK.gif|
agc_check_voicemail_OFF.gif|agc_check_voicemail_OFF.gif|
agc_check_voicemail_ON.gif|agc_check_voicemail_ON.gif|
agc_live_call_OFF.gif|agc_live_call_OFF.gif|
agc_live_call_ON.gif|agc_live_call_ON.gif|
agc_tab_active_lines.gif|agc_tab_active_lines.gif|
agc_tab_conferences.gif|agc_tab_conferences.gif|
agc_tab_main.gif|agc_tab_main.gif|
vdc_LB_dialnextnumber.gif|vdc_LB_dialnextnumber.gif|
vdc_LB_dialnextnumber_OFF.gif|vdc_LB_dialnextnumber_OFF.gif|
vdc_LB_grabparkedcall.gif|vdc_LB_grabparkedcall.gif|
vdc_LB_hangupcustomer.gif|vdc_LB_hangupcustomer.gif|
vdc_LB_hangupcustomer_OFF.gif|vdc_LB_hangupcustomer_OFF.gif|
vdc_LB_parkcall.gif|vdc_LB_parkcall.gif|
vdc_LB_parkcall_OFF.gif|vdc_LB_parkcall_OFF.gif|
vdc_LB_pause.gif|vdc_LB_pause.gif|
vdc_LB_pause_OFF.gif|vdc_LB_pause_OFF.gif|
vdc_LB_resume.gif|vdc_LB_resume.gif|
vdc_LB_resume_OFF.gif|vdc_LB_resume_OFF.gif|
vdc_LB_startrecording.gif|vdc_LB_startrecording.gif|
vdc_LB_stoprecording.gif|vdc_LB_stoprecording.gif|
vdc_LB_transferconf.gif|vdc_LB_transferconf.gif|
vdc_LB_transferconf_OFF.gif|vdc_LB_transferconf_OFF.gif|
vdc_LB_webform.gif|vdc_LB_webform.gif|
vdc_LB_webform_OFF.gif|vdc_LB_webform_OFF.gif|
vdc_XB_blindtransfer.gif|vdc_XB_blindtransfer.gif|
vdc_XB_blindtransfer_OFF.gif|vdc_XB_blindtransfer_OFF.gif|
vdc_XB_dialwithcustomer.gif|vdc_XB_dialwithcustomer.gif|
vdc_XB_dialwithcustomer_OFF.gif|vdc_XB_dialwithcustomer_OFF.gif|
vdc_XB_hangupbothlines.gif|vdc_XB_hangupbothlines.gif|
vdc_XB_hangupbothlines_OFF.gif|vdc_XB_hangupbothlines_OFF.gif|
vdc_XB_hangupxferline.gif|vdc_XB_hangupxferline.gif|
vdc_XB_hangupxferline_OFF.gif|vdc_XB_hangupxferline_OFF.gif|
vdc_XB_internalcloser.gif|vdc_XB_internalcloser.gif|
vdc_XB_internalcloser_OFF.gif|vdc_XB_internalcloser_OFF.gif|
vdc_XB_leave3waycall.gif|vdc_XB_leave3waycall.gif|
vdc_XB_leave3waycall_OFF.gif|vdc_XB_leave3waycall_OFF.gif|
vdc_XB_localcloser.gif|vdc_XB_localcloser.gif|
vdc_XB_localcloser_OFF.gif|vdc_XB_localcloser_OFF.gif|
vdc_XB_parkcustomerdial.gif|vdc_XB_parkcustomerdial.gif|
vdc_XB_parkcustomerdial_OFF.gif|vdc_XB_parkcustomerdial_OFF.gif|
vdc_XB_hotkeysactive.gif|vdc_XB_hotkeysactive.gif|
vdc_XB_hotkeysactive_OFF.gif|vdc_XB_hotkeysactive_OFF.gif|
vdc_LB_senddtmf.gif|vdc_LB_senddtmf.gif|
vdc_LB_senddtmf_OFF.gif|vdc_LB_senddtmf_OFF.gif|
vdc_XB_header.gif|vdc_XB_header.gif|
vdc_XB_number.gif|vdc_XB_number.gif|
vdc_XB_channel.gif|vdc_XB_channel.gif|
vdc_XB_seconds.gif|vdc_XB_seconds.gif|
vdc_tab_script.gif|vdc_tab_script.gif|
You have now logged out. Thank you|Vous vous êtes maintenant déconnecté. Merci|
astGUIclient web-client VERSION|VERSION astGUIclient d'enchaînement-client|
@@ -331,7 +331,7 @@ BUILD|CONSTRUCTION|
Server|Serveur|
RECORD|DISQUE|
HANGUP|DÉCROCHEMENT|
XFER|XFER|
>XFER|>XFER|
PARK|PARC|
IN-NUMBER|IN-NUMBER|
NUMBER|NOMBRE|
@@ -354,8 +354,8 @@ Recording|Enregistrement|
Record|Disque|
Welcome|Bienvenue|
VOICEMAIL|VOICEMAIL|
NEW|NOUVEAU|
OLD|VIEUX|
NEW| NOUVEAU|
OLD| VIEUX|
PAUSE|PAUSE|
START|DÉBUT|
Pause|Pause|
@@ -401,3 +401,16 @@ This option if checked will attempt to find the phone number in the system befor
Finish Wrapup and Move On|Finition Wrapup et passer|
seconds remaining in wrapup|secondes restantes dans le wrapup|
Call Wrapup:|Appel Wrapup :|
### months of the year for CallBack date select screen ###
January|Janvier|
Frebruary|Février|
March|Mars|
April|Avril|
May|Peut|
June|Juin|
July|Juillet|
August|Août|
September|Septembre|
October|Octobre|
November|Novembre|
December|Décembre|
+65 -52
View File
@@ -46,55 +46,55 @@ Spanish|Spagnolo|
French|Francese|
German|Tedesco|
Italian|Italiano|
agc_check_voicemail_BLINK.gif|agc_check_voicemail_BLINK_it.gif|
agc_check_voicemail_OFF.gif|agc_check_voicemail_OFF_it.gif|
agc_check_voicemail_ON.gif|agc_check_voicemail_ON_it.gif|
agc_live_call_OFF.gif|agc_live_call_OFF_it.gif|
agc_live_call_ON.gif|agc_live_call_ON_it.gif|
agc_tab_active_lines.gif|agc_tab_active_lines_it.gif|
agc_tab_conferences.gif|agc_tab_conferences_it.gif|
agc_tab_main.gif|agc_tab_main_it.gif|
vdc_LB_dialnextnumber.gif|vdc_LB_dialnextnumber_it.gif|
vdc_LB_dialnextnumber_OFF.gif|vdc_LB_dialnextnumber_OFF_it.gif|
vdc_LB_grabparkedcall.gif|vdc_LB_grabparkedcall_it.gif|
vdc_LB_hangupcustomer.gif|vdc_LB_hangupcustomer_it.gif|
vdc_LB_hangupcustomer_OFF.gif|vdc_LB_hangupcustomer_OFF_it.gif|
vdc_LB_parkcall.gif|vdc_LB_parkcall_it.gif|
vdc_LB_parkcall_OFF.gif|vdc_LB_parkcall_OFF_it.gif|
vdc_LB_pause.gif|vdc_LB_pause_it.gif|
vdc_LB_pause_OFF.gif|vdc_LB_pause_OFF_it.gif|
vdc_LB_resume.gif|vdc_LB_resume_it.gif|
vdc_LB_resume_OFF.gif|vdc_LB_resume_OFF_it.gif|
vdc_LB_startrecording.gif|vdc_LB_startrecording_it.gif|
vdc_LB_stoprecording.gif|vdc_LB_stoprecording_it.gif|
vdc_LB_transferconf.gif|vdc_LB_transferconf_it.gif|
vdc_LB_transferconf_OFF.gif|vdc_LB_transferconf_OFF_it.gif|
vdc_LB_webform.gif|vdc_LB_webform_it.gif|
vdc_LB_webform_OFF.gif|vdc_LB_webform_OFF_it.gif|
vdc_XB_blindtransfer.gif|vdc_XB_blindtransfer_it.gif|
vdc_XB_blindtransfer_OFF.gif|vdc_XB_blindtransfer_OFF_it.gif|
vdc_XB_dialwithcustomer.gif|vdc_XB_dialwithcustomer_it.gif|
vdc_XB_dialwithcustomer_OFF.gif|vdc_XB_dialwithcustomer_OFF_it.gif|
vdc_XB_hangupbothlines.gif|vdc_XB_hangupbothlines_it.gif|
vdc_XB_hangupbothlines_OFF.gif|vdc_XB_hangupbothlines_OFF_it.gif|
vdc_XB_hangupxferline.gif|vdc_XB_hangupxferline_it.gif|
vdc_XB_hangupxferline_OFF.gif|vdc_XB_hangupxferline_OFF_it.gif|
vdc_XB_internalcloser.gif|vdc_XB_internalcloser_it.gif|
vdc_XB_internalcloser_OFF.gif|vdc_XB_internalcloser_OFF_it.gif|
vdc_XB_leave3waycall.gif|vdc_XB_leave3waycall_it.gif|
vdc_XB_leave3waycall_OFF.gif|vdc_XB_leave3waycall_OFF_it.gif|
vdc_XB_localcloser.gif|vdc_XB_localcloser_it.gif|
vdc_XB_localcloser_OFF.gif|vdc_XB_localcloser_OFF_it.gif|
vdc_XB_parkcustomerdial.gif|vdc_XB_parkcustomerdial_it.gif|
vdc_XB_parkcustomerdial_OFF.gif|vdc_XB_parkcustomerdial_OFF_it.gif|
vdc_XB_hotkeysactive.gif|vdc_XB_hotkeysactive_it.gif|
vdc_XB_hotkeysactive_OFF.gif|vdc_XB_hotkeysactive_OFF_it.gif|
vdc_LB_senddtmf.gif|vdc_LB_senddtmf_it.gif|
vdc_LB_senddtmf_OFF.gif|vdc_LB_senddtmf_OFF_it.gif|
vdc_XB_header.gif|vdc_XB_header_it.gif|
vdc_XB_number.gif|vdc_XB_number_it.gif|
vdc_XB_channel.gif|vdc_XB_channel_it.gif|
vdc_XB_seconds.gif|vdc_XB_seconds_it.gif|
agc_check_voicemail_BLINK.gif|agc_check_voicemail_BLINK.gif|
agc_check_voicemail_OFF.gif|agc_check_voicemail_OFF.gif|
agc_check_voicemail_ON.gif|agc_check_voicemail_ON.gif|
agc_live_call_OFF.gif|agc_live_call_OFF.gif|
agc_live_call_ON.gif|agc_live_call_ON.gif|
agc_tab_active_lines.gif|agc_tab_active_lines.gif|
agc_tab_conferences.gif|agc_tab_conferences.gif|
agc_tab_main.gif|agc_tab_main.gif|
vdc_LB_dialnextnumber.gif|vdc_LB_dialnextnumber.gif|
vdc_LB_dialnextnumber_OFF.gif|vdc_LB_dialnextnumber_OFF.gif|
vdc_LB_grabparkedcall.gif|vdc_LB_grabparkedcall.gif|
vdc_LB_hangupcustomer.gif|vdc_LB_hangupcustomer.gif|
vdc_LB_hangupcustomer_OFF.gif|vdc_LB_hangupcustomer_OFF.gif|
vdc_LB_parkcall.gif|vdc_LB_parkcall.gif|
vdc_LB_parkcall_OFF.gif|vdc_LB_parkcall_OFF.gif|
vdc_LB_pause.gif|vdc_LB_pause.gif|
vdc_LB_pause_OFF.gif|vdc_LB_pause_OFF.gif|
vdc_LB_resume.gif|vdc_LB_resume.gif|
vdc_LB_resume_OFF.gif|vdc_LB_resume_OFF.gif|
vdc_LB_startrecording.gif|vdc_LB_startrecording.gif|
vdc_LB_stoprecording.gif|vdc_LB_stoprecording.gif|
vdc_LB_transferconf.gif|vdc_LB_transferconf.gif|
vdc_LB_transferconf_OFF.gif|vdc_LB_transferconf_OFF.gif|
vdc_LB_webform.gif|vdc_LB_webform.gif|
vdc_LB_webform_OFF.gif|vdc_LB_webform_OFF.gif|
vdc_XB_blindtransfer.gif|vdc_XB_blindtransfer.gif|
vdc_XB_blindtransfer_OFF.gif|vdc_XB_blindtransfer_OFF.gif|
vdc_XB_dialwithcustomer.gif|vdc_XB_dialwithcustomer.gif|
vdc_XB_dialwithcustomer_OFF.gif|vdc_XB_dialwithcustomer_OFF.gif|
vdc_XB_hangupbothlines.gif|vdc_XB_hangupbothlines.gif|
vdc_XB_hangupbothlines_OFF.gif|vdc_XB_hangupbothlines_OFF.gif|
vdc_XB_hangupxferline.gif|vdc_XB_hangupxferline.gif|
vdc_XB_hangupxferline_OFF.gif|vdc_XB_hangupxferline_OFF.gif|
vdc_XB_internalcloser.gif|vdc_XB_internalcloser.gif|
vdc_XB_internalcloser_OFF.gif|vdc_XB_internalcloser_OFF.gif|
vdc_XB_leave3waycall.gif|vdc_XB_leave3waycall.gif|
vdc_XB_leave3waycall_OFF.gif|vdc_XB_leave3waycall_OFF.gif|
vdc_XB_localcloser.gif|vdc_XB_localcloser.gif|
vdc_XB_localcloser_OFF.gif|vdc_XB_localcloser_OFF.gif|
vdc_XB_parkcustomerdial.gif|vdc_XB_parkcustomerdial.gif|
vdc_XB_parkcustomerdial_OFF.gif|vdc_XB_parkcustomerdial_OFF.gif|
vdc_XB_hotkeysactive.gif|vdc_XB_hotkeysactive.gif|
vdc_XB_hotkeysactive_OFF.gif|vdc_XB_hotkeysactive_OFF.gif|
vdc_LB_senddtmf.gif|vdc_LB_senddtmf.gif|
vdc_LB_senddtmf_OFF.gif|vdc_LB_senddtmf_OFF.gif|
vdc_XB_header.gif|vdc_XB_header.gif|
vdc_XB_number.gif|vdc_XB_number.gif|
vdc_XB_channel.gif|vdc_XB_channel.gif|
vdc_XB_seconds.gif|vdc_XB_seconds.gif|
vdc_tab_script.gif|vdc_tab_script.gif|
You have now logged out. Thank you|Ora siete non Loggati . Grazie|
astGUIclient web-client VERSION|VERSIONE web del astGUIclient|
@@ -331,7 +331,7 @@ BUILD|CONFIGURAZIONE|
Server|Server|
RECORD|Registrazione|
HANGUP|ATTACCA|
XFER|TRASF|
>XFER|>TRASF|
PARK|PARK|
IN-NUMBER|IN-NUMBER|
NUMBER|NUMERO|
@@ -354,8 +354,8 @@ Recording|Registrazione|
Record|Registrazione|
Welcome|Benvenuto|
VOICEMAIL|VOICEMAIL|
NEW|NUOVO|
OLD|VECCHIO|
NEW| NUOVO|
OLD| VECCHIO|
PAUSE|PAUSA|
START|INIZIO|
Pause|Pausa|
@@ -401,3 +401,16 @@ This option if checked will attempt to find the phone number in the system befor
Finish Wrapup and Move On|Tempo scaduto, sbrigarsi |
seconds remaining in wrapup|secondi restanti prima di nuova chiamata|
Call Wrapup:|Chiamata tempo di pausa:|
### months of the year for CallBack date select screen ###
January|Gennaio|
Frebruary|Febbraio|
March|Marzo|
April|Aprile|
May|Può|
June|Giugno|
July|Luglio|
August|Agosto|
September|Settembre|
October|Ottobre|
November|Novembre|
December|Dicembre|
+416
View File
@@ -0,0 +1,416 @@
# pl_language.txt - this file is for the internationalization of the astGUIclient
# client web pages. The associated install.pl file will take the language as an
# argument and alter the php scripts to the language typed in the command line:
# example: ./config.pl --language=es
# current languages in the file:
# - English - (en) no alterations
# - Polish - (pl) first column
***LANGUAGES***
en-English|pl-Polski|
***FILES***
agc|astguiclient.php|0
agc|vicidial.php|0
agc|vdc_db_query.php|0
agc|manager_send.php|0
agc|conf_exten_check.php|0
agc|inbound_popup.php|0
agc|active_list_refresh.php|0
agc|park_calls_display.php|0
agc|live_exten_check.php|0
agc|call_log_display.php|0
agc|voicemail_check.php|0
agc|dbconnect.php|1
agc|htglobalize.php|1
***TRANSLATIONS***
### special translations that should stay at the top of the file ###
"JAN"|"STY"|
"FEB"|"LUT"|
"MAR"|"MAR"|
"APR"|"KWI"|
"MAY"|"MAJ"|
"JUN"|"CZE"|
"JLY"|"LIP"|
"AUG"|"SIE"|
"SEP"|"WRZ"|
"OCT"|"PAŹ"|
"NOV"|"LIS"|
"DEC"|"GRU"|
\./images/|../agc/images/|
BORDER|Border|
VALUE=SUBMIT|VALUE=SUBMIT|
TYPE=SUBMIT|TYPE=Submit|
MAXLENGTH|maxlength|
### BEGIN translation phrases through 1.1.11 release ###
English|Angielski|
Spanish|Hiszpański|
French|Francuski|
German|Niemiecki|
Italian|Włoski|
agc_check_voicemail_BLINK.gif|agc_check_voicemail_BLINK.gif|
agc_check_voicemail_OFF.gif|agc_check_voicemail_OFF.gif|
agc_check_voicemail_ON.gif|agc_check_voicemail_ON.gif|
agc_live_call_OFF.gif|agc_live_call_OFF_pl.gif|
agc_live_call_ON.gif|agc_live_call_ON_pl.gif|
agc_tab_active_lines.gif|agc_tab_active_lines.gif|
agc_tab_conferences.gif|agc_tab_conferences.gif|
agc_tab_main.gif|agc_tab_main.gif|
vdc_LB_dialnextnumber.gif|vdc_LB_dialnextnumber.gif|
vdc_LB_dialnextnumber_OFF.gif|vdc_LB_dialnextnumber_OFF.gif|
vdc_LB_grabparkedcall.gif|vdc_LB_grabparkedcall.gif|
vdc_LB_hangupcustomer.gif|vdc_LB_hangupcustomer_pl.gif|
vdc_LB_hangupcustomer_OFF.gif|vdc_LB_hangupcustomer_OFF_pl.gif|
vdc_LB_parkcall.gif|vdc_LB_parkcall_pl.gif|
vdc_LB_parkcall_OFF.gif|vdc_LB_parkcall_OFF_pl.gif|
vdc_LB_pause.gif|vdc_LB_pause_pl.gif|
vdc_LB_pause_OFF.gif|vdc_LB_pause_OFF_pl.gif|
vdc_LB_resume.gif|vdc_LB_resume_pl.gif|
vdc_LB_resume_OFF.gif|vdc_LB_resume_OFF_pl.gif|
vdc_LB_startrecording.gif|vdc_LB_startrecording_pl.gif|
vdc_LB_stoprecording.gif|vdc_LB_stoprecording_pl.gif|
vdc_LB_transferconf.gif|vdc_LB_transferconf_pl.gif|
vdc_LB_transferconf_OFF.gif|vdc_LB_transferconf_OFF_pl.gif|
vdc_LB_webform.gif|vdc_LB_webform_pl.gif|
vdc_LB_webform_OFF.gif|vdc_LB_webform_OFF_pl.gif|
vdc_XB_blindtransfer.gif|vdc_XB_blindtransfer.gif|
vdc_XB_blindtransfer_OFF.gif|vdc_XB_blindtransfer_OFF.gif|
vdc_XB_dialwithcustomer.gif|vdc_XB_dialwithcustomer.gif|
vdc_XB_dialwithcustomer_OFF.gif|vdc_XB_dialwithcustomer_OFF.gif|
vdc_XB_hangupbothlines.gif|vdc_XB_hangupbothlines.gif|
vdc_XB_hangupbothlines_OFF.gif|vdc_XB_hangupbothlines_OFF.gif|
vdc_XB_hangupxferline.gif|vdc_XB_hangupxferline.gif|
vdc_XB_hangupxferline_OFF.gif|vdc_XB_hangupxferline_OFF.gif|
vdc_XB_internalcloser.gif|vdc_XB_internalcloser.gif|
vdc_XB_internalcloser_OFF.gif|vdc_XB_internalcloser_OFF.gif|
vdc_XB_leave3waycall.gif|vdc_XB_leave3waycall.gif|
vdc_XB_leave3waycall_OFF.gif|vdc_XB_leave3waycall_OFF.gif|
vdc_XB_localcloser.gif|vdc_XB_localcloser.gif|
vdc_XB_localcloser_OFF.gif|vdc_XB_localcloser_OFF.gif|
vdc_XB_parkcustomerdial.gif|vdc_XB_parkcustomerdial.gif|
vdc_XB_parkcustomerdial_OFF.gif|vdc_XB_parkcustomerdial_OFF.gif|
vdc_XB_hotkeysactive.gif|vdc_XB_hotkeysactive_pl.gif|
vdc_XB_hotkeysactive_OFF.gif|vdc_XB_hotkeysactive_OFF_pl.gif|
vdc_LB_senddtmf.gif|vdc_LB_senddtmf.gif|
vdc_LB_senddtmf_OFF.gif|vdc_LB_senddtmf_OFF.gif|
vdc_XB_header.gif|vdc_XB_header.gif|
vdc_XB_number.gif|vdc_XB_number.gif|
vdc_XB_channel.gif|vdc_XB_channel.gif|
vdc_XB_seconds.gif|vdc_XB_seconds.gif|
vdc_tab_script.gif|vdc_tab_script.gif|
You have now logged out. Thank you|Wylogowałeś się. Do zobaczenia|
astGUIclient web-client VERSION|astGUIclient VERSION|
astGUIclient web client|klient astGUIclient|
VICIDIAL web client|klient VICIDIAL|
VICIDIAL web-client version|wersja klienta VICIDIAL|
You can only monitor Zap channels|Możesz tylko monitorować kanały Zap|
Stop Record|Zakończ nagrywanie|
you are logged into this phone|podłączyłeś się do telefonu|
Back to Main Window|Wróć do Głównego okna|
LIVE CALLS ON THIS PHONE|AKTYWNE ROZMOWY Z TEGO TELEFONU|
LIVE CALLS IN THIS CONFERENCE|AKTYWNE ROZMOWY W TEJ KONFERENCJI|
LIVE CALL TRANSFER|AKTYWNA ROZMOWA PRZENIESIONA|
CLIENT CHANNEL|KANAŁ KLIENCKI|
REMOTE CHANNEL|KANAŁ ZDALNY|
CLICK HERE TO LOG IN AGAIN|KLINKNIJ TU, ABY PONOWNIE ZALOGOWAĆ SIĘ|
ACTIVE DISPLAY PAUSED|AKTYWNE WYŚWIETLANIE WRZYMANE|
Main Panel|Główny panel|
Active Lines Panel|Panel aktywnych lini|
Conferences Panel|Panel konferencyjny|
Check Voicemail|Sprawdź pocztę głosową|
Live Call|Aktywna rozmowa|
Hangup Trunk|Rozłącz międzymiastową|
Hijack Trunk|Przejmij międzymiastową|
Listen Trunk|Odsłuchaj międzymiastową|
Active Local Menu|Manu aktywnych lokalnych|
Hangup Local|Rozłącz lokalną|
Hijack Local|Przejmij lokalną|
Listen Local|Podsłuchaj lokalną|
Channel to be transferred|Kanały do przeniesienia|
Extensions Menu|Menu rozszerzeń|
Send to selected extension|Przełącz do wybranego numeru wewnętrznego|
Send to selected vmail box|Przełącz do poczty głosowej|
Send to this number|Przełącz do numeru|
click on a number below to send to a conference|wybierz poniższy numer w celu przełączenia do konferencji|
Send my channel too|Przełącz również mój kanał|
Conferences Menu|Menu konferencji|
LOCAL Extensions Dial|Wybieranie numerów wewnętrznych|
Phone calling from|Połączenie przychodzące z|
Call selected extension|Połącz z wybranym numerem wewnętrznym|
Call selected vmail box|Połącz z wybraną skrzynką głosową|
LOCAL DIAL EXTENSIONS|NUMERY WEWNĘTRZNE|
OUTBOUND CALLS|ROZMOWY WYCHODZĄCE|
INBOUND CALLS|ROZMOWY PRZYCHODZĄCE|
Refresh rate|Szybkość odswieżania|
MANUAL DIAL|WYBIERANIE RĘCZNE|
CALL DATE/TIME|POŁĄCZENIE DATA/CZAS|
LOCAL HANGUP|ROZŁĄCZ|
PARKED CALLS|ZAWIESZONE ROZMOWY|
PARKED BY|ZAWIESZONE PRZEZ|
PARKED TIME|CZAS ZAWIESZENIA|
Registered to|Zarejestrowany na|
Enter Conference|Dołącz do konferencji|
Dial From Conf|Rozmowa z konferencji|
Active Extensions|Aktywne numery wewnętrzne|
Outside Lines|Linie zewnętrzne|
Local Extensions|Numery wewnętrzne|
Data Goes Here|Data tutaj|
Trunk Action|Operacje na międzymiastowych|
Local Action|Operacje na lokalnych|
Conferences List|Lista konferencji|
Click on a conference room number on the left for info on that conference|Wybierz numer konferencji w celu uzyskania o niej informacji|
List Display|Listy|
Live Extensions|Aktywne numery wewnętrzne|
Busy Extensions|Zajęte numery wewnętrzne|
Outside Lines|Linie zewnętrzne|
script runtime|czas działania skyptu|
Call Log Display|Rejestr rozmów|
is not valid|nie jest prawidłowy|
or protocol|lub protokół|
Conf Extension Check|Sprawdzanie numeru wewnętrznego konferencji|
has been registered to|został zarejestrowany|
LIVE INBOUND CALL|AKTYWNA PRZYHODZĄCA ROZMOWA|
Number Dialed|Wybierany numer|
SEND TO MY VOICEMAIL|PRZEŚLIJ DO MOJEJ POCZTY GŁOSOWEJ|
Live Extension Check|Sprawdzanie aktywnych numerów wewnętrznych|
Manager Send|Wyślij do zarządzania|
command not inserted|komenda nie wstawiona|
command sent for|komenda wysłana do|
One of these variables|Jedna z tych zmiennych|
must be greater than 2 characters|musi mieć więcej niż 2 znaki|
must be greater than 14 characters|musi mieć więcje niż 14 znaków|
must be set|musi być ustawiony|
not sent|nie wysłano|
Cannot find empty conference|Nie mogę znaleźć wolnej konferencji|
is not live|nie jest aktywna|
RECORDING WILL LAST UP TO 60 MINUTES|NAGRYWANIE BĘDZIE TRWAĆ MAKSYMALNIE 60 MINUT|
Parked Calls Display|Zawieszone rozmowy|
Database Query Script|Skrypt zapytań do bazy danych|
Group Choice|Wybór grupowy|
has been registered to user|został zarejestrowny dla użytkownika|
HOPPER EMPTY|Zasobnik pusty|
LOG NOT ENTERED|Dziennik nie zapisany|
has been changed to|zmieniono na|
information has been updated|informacje zostały zaktualizowane|
is now in status|ma statusie|
Voicemail Check|Sprawdzanie poczty głosowej|
voicemail box|skrzynka poczty głosowej|
Re-Login|Powtórne zalogowanie|
User Password|Hasło użytkownika|
User Login|Login użytkownika|
Phone Login|Login telefonu|
Phone Password|Hasło telefonu|
Campaign not active, please try again|Kampania nie aktywna, spróbuj jeszcze raz|
Login incorrect, please try again|Login nie aktywny, spróbuj jeszcze raz|
Campaign Login|Logowanie do kampani|
Sorry, your phone login and password are not active in this system, please try again|Login Twojego telefonu lub hasło są nieaktywne w tym systememie, spróbuj jeszcze raz|
leads left to call in hopper|pozostałych kontaktów oczekujących wykonania połączeń w zasobniku|
CAMPAIGN CUSTOM PARKING|KAMPANIA- ZAWIESZANIE ZDEFINIOWANE PRZEZ UŻYTKOWNIKA|
CAMPAIGN DEFAULT PARKING|KAMPANIA- DOMYŚLNE ZAWIESZANIE|
CAMPAIGN CUSTOM WEB FORM|KAMPANIA- FORMULARZ WWW ZDEFINIOWANY PRZEZ UŻYTKOWNIKA|
CAMPAIGN DEFAULT WEB FORM|KAMPANIA- DOMYŚLNY FORMULARZ WWW|
CAMPAIGN ALLOWS CLOSERS|KAMPANIA ZEZWALA NA FINALIZUJĄCYCH|
CAMPAIGN ALLOWS NO CLOSERS|KAMPANIA NIE ZEZWALA NA FINALIZUJĄCYCH|
USING PREVIOUS MEETME ROOM|UŻYWAM POPRZEDNIEGO MEETME|
USING NEW MEETME ROOM|UŻYWAM NOWEGO MEETME|
old QUEUE and INCALL reverted list|stara Kolejka i Aktulanie wybierane numery powróciły na listę|
old QUEUE and INCALL reverted hopper|stara Kolejka i Aktualnie wybrane numery powróciły do zasobnika|
old vicidial_live_agents records cleared|stare rekordy vicidial_live_agents zostały wyczyszczone|
campaign is set to auto_dial_level|kampania jest ustawiona na auto_dial_level|
new vicidial_live_agents record inserted|nowy rekord vicidial_live_agents wstawiony|
campaign is set to manual dial|kampania ustawiona na ręczne wybieranie|
Sorry, there are no leads in the hopper for this campaign|Niestety, w zasobniku nie ma kontaktów oczekujących wykonania połączeń dla tej kampanii|
Dial Next Number|Wybierz kolejny numer|
LIVE CALLS IN YOUR SESSION|AKTYWNE ROZMOWY W TWOJEJ SESJI|
Stop Recording|Zakończ nagrywanie|
Start Recording|Rozpocznij nagrywanie|
Transfer number must have more than 1 digit|Numer przekierowania musi mieć więcej niż 1 cyfrę|
Grab Parked Call|Przejmij zawieszoną rozmowę|
Park Call|Zawieś rozmowę|
Waiting for Ring|Czeka na dzwonek|
Called 3rd party|Zadzwoniono do trzeciej strony|
LEAVE 3-WAY CALL|WYJDŹ Z ROZMOWY 3-STRONNEJ|
Dial With Customer|Połącz z klientem|
Park Customer Dial|Zawieś połączenie z klientem|
Hangup Xfer Line|Rozłącz linię transferu|
Hangup Both Lines|Rozłącz obie linie|
Hangup Customer|Odłącz kilenta|
Transfer - Conference|Transfer - Konferencja|
LOCAL CLOSER|LOKALNY FINALIZUJĄCYCH|
INTERNAL CLOSER|WEWNĘTRZNY FINALIZUJĄCYCH|
Dial Blind Transfer|Wybierz numer do nieweryfikowanego transferu|
Dial timed out, contact your system administrator|Minął czas wybierania, skontaktuj się z administratorem|
No more leads in the hopper for campaign|W zasobniku nie ma już więcej konaktów do wykonania połączeń dla tej kampanii|
Web Form|Web Formularz|
You Must Select a Disposition|Musisz wybrać rezultat rozmowy|
GROUPS NOT SELECTED|GRUPY NIE WYBRANE|
SELECTED GROUPS|WYBRANE GRUPY|
You cannot log out during a Dial attempt|Nie możesz wylogować się w trakcie dokonywania połączenia|
Wait 50 seconds for the dial to fail out if it is not answered|Poczekaj 50 sekund aby, w przypadku nieodebrania, połączenie nie doszło do skutku|
STILL A LIVE CALL! Hang it up then you can log out|JESTEŚ W TRAKCIE ROZMOWY! Rozłącz się by móc się wylogować|
Hide conference call channel information|Ukryj informacje o kanałach konferencyjnych|
Show conference call channel information|Pokaż informacje o kanałach konferencyjnych|
Logged in as User|Zalogowany jako|
Noone is in your session|Nikt nie uczestniczy w Twojej sesji|
Customer has hung up|Klient sie rozłączył|
End-of-call Disposition Selection|Koniec rozmowy, wybierz rezultat|
CLOSER INBOUND GROUP SELECTION|SELEKCJA GRUPY ZAWNĘTRZNYCH FINALIZUJĄCYCH|
Closer Inbound Group Selection|Selekcja grupy zawnętrznych finalizujących|
BLENDED CALLING|KOMBINOWANE POŁĄCZENIA|
outbound activated|wychodzące aktywowane|
Preview the Lead then|Podejżyj dane połączenia i|
Lead was not reverted, there was an error|Dane połączenia nie zostały przywrócowne, wystąpił błąd|
call was not placed, there was an error|nie wykonano połączenia, wystąpił błąd|
Number to call|Numer do wybrania|
Customer Information|Informacje o kliencie|
Lead Dispositioned As|Połączenie rozdysponowane jako|
Any changes made to the customer information below at this time will not be comitted, You must change customer information before you Hangup the call|Zmiany wprowadzone w informacjach o kliencie będą zapisane tylko podczas trwania połączenia. Nie po rozłączaniu!|
When active, simply press the keyboard key for the desired disposition for this call. The call will then be hungup and dispositioned automatically|Kiedy aktywne, naciśnij guzik na klawiaturze w celu wybrania opcji dla tej rozmowy. Rozmowa zostanie automatycznie rozłączona a opcja ustawiona|
Disposition Hot Keys|Klawisze skrótu dyspozycji|
Cust Time|Ustawiony Czas|
RECORD ID|NUMER NAGRANIA|
RECORDING FILE|PLIK NAGRANIA|
HOT KEYS ACTIVE|KLAWISZE SKRÓRU AKTYWNE|
HOT KEYS INACTIVE|KLAWISZE SKRÓTU NIEAKTYWNE|
DIAL OVERRIDE|WYBIERZ TEN NUMER|
SKIP LEAD|POMIŃ POŁĄCZENIE|
DIAL LEAD|WYBIERZ POŁĄCZENIE|
LEAD PREVIEW|PODGLĄD POŁĄCZEŃ|
PAUSE AGENT DIALING|ZATRZYMAJ DZWONIENIE|
DISPOSITION CALL|REZULTAT ROZMOWY|
session ID| ID sesji|
to campaign| do kampani|
Select a CallBack Date|Wybierz datę oddzwonienia|
maximize|maksymalizuj|
minimize|minimalizuj|
You must choose a date|Musisz wybrać datę|
Select a Date Below|Wybierz datę poniżej|
Click on a callback below to call the customer back now. If you click on a record below to call it, it will be removed from the list|Kliknij poniżej na Inne terminy żeby teraz zadzwonić do klienta. Jeżeli klikniesz na rekordzie by zadzwonić, rekord zostanie usunięty z listy|
If you want to dial a number and have it NOT be added as a new lead, enter in the exact dialstring that you want to call in the Dial Override field below. To hangup this call you will have to open the CALLS IN THIS SESSION link at the bottom of the screen and hang it up by clicking on its channel link there|Jeżeli chcesz wybrać numer tak aby NIE został dodany jako nowy kontakt, wpisz dokładny numer telefonu w polu Wybierz ten numer poniżej. By zakończyć połączenie musisz otworzyć ROZMOWY W TEJ SESJI (w dole ekranu), i zakończyć połączenie klinając na link jego kanału.|
YOU CANNOT SKIP A CALLBACK OR MANUAL DIAL, YOU MUST DIAL THE LEAD|NIE MOŻESZ POMINĄĆ RĘCZNEGO DZWONIENIA LUB ODDZWANIANIA, MUSISZ ZADZWONIĆ POD KONTAKT|
YOU MUST BE PAUSED TO MANUAL DIAL A NEW LEAD IN AUTO-DIAL MODE|MUSISZ WSTRZYMAC AUTOMATYCZNE WYBIERANIE NUMERU BY DOKONAĆ RĘCZNEGO WYBIERANIA|
Enter information below for the new lead you wish to call|Wpisz poniżej informacje o kontakcie do którego chcesz wykonać połączenie|
YOU MUST BE PAUSED TO CHECK CALLBACKS IN AUTO-DIAL MODE|MUSISZ WSTRZYMAC AUTOMATYCZNE WYBIERANIE NUMERU BY SPRAWDZAĆ INNE TERMINY|
Note: all new manual dial leads will go into list 999|Ważne: nowe kontakty z ręcznym wybieraniem zostaną zapisane na liście 999|
YOU DO NOT HAVE PERMISSIONS TO TRANSFER CALLS|NIE MASZ UPRAWNIEŃ DO PRZENOSZENIA ROZMÓW|
will be added to the beginning of this number|będzie dodane na początku tego numeru|
This is usually a 1 in the USA-Canada|dla polski będzie to 48|
NEW MANUAL DIAL LEAD FOR|NOWE RĘCZNE WYBIERANIE NUMERU DLA|
Finish and Disposition Call|Zakończ i wprowadź rezultat rozmowy|
10 digits max - digits only|maksymalnie 10 cyfr|
Note: a dial prefix of|Komentarz: Prefiks numeru|
Hangup Again|Rozłącz się ponownie|
Go Back|Wróć|
Call Agent Again|Ponownie połącz się z telefonem|
MY CALLBACK ONLY|TYLKO MOJE INNE TERMINY|
NO ACTIVE CALLBACKS|BRAK AKTYWNYCH INNYCH TERMINÓW|
ACTIVE CALLBACKS|AKTYWNE INNE TERMINY|
CALLBACKS FOR AGENT|INNE TERMINY DLA AGENTA|
Dial Code:|Kod wybierania:|
Dial Override|Wybierz ten numer|
digits only please|tylko cyfry|
Dial Now|Wybierz teraz|
CB Comments|Notatki|
Title|Tytuł|
Your Status|Twój Status|
STATUS|STATUS|
RESET|RESET|
CLEAR FORM|WYCZYŚĆ FORMULARZ|
SUBMIT|ZATWIERDŹ|
Incoming|Przychodząca|
Calling|Dzwoni|
Called|Zadzwoniono|
Campaign|Kampania|
Status|Status|
Inserted|Wstawiony|
seconds|sekundy|
HELP|POMOC|
Login|Login|
User|Użytkownik|
Password|Hasło|
VERSION|WERSJA|
BUILD|KOMPILACJA|
Server|Serwer|
RECORD|NAGRYWAJ|
HANGUP|ROZŁĄCZ|
>XFER|>TRANSFER|
PARK|PARKING|
IN-NUMBER|IN-NUMBER|
NUMBER|NUMER|
LENGTH|DŁUGOŚĆ|
CALLERID|IDROZMÓWCY|
CallerID|IDRozmówcy|
CALL| Rozmowa|
PICKUP|ODBIERZ|
CONFERENCE|KONFERENCJA|
Refresh|Odswież|
Send DTMF|Wyślij tonowo|
ORDER|PORZĄDEK|
on | na |
LOGOUT|WYLOGUJ|
Channel|Kanał|
Extensions|NumerWenętrzny|
Conferences|Konferencje|
Conference|Konferencja|
Recording|Nagrywanie|
Record|Record|
Welcome|Witaj|
VOICEMAIL|POCZTAGŁOSOWA|
NEW| NOWY|
OLD| STARY|
PAUSE|PRZERWA|
START|START|
Pause|Przerwa|
Resume|Ponów|
Faster|Szybciej|
Slower|Wolniej|
Initializing|Inicjalizuje|
Invalid|Nieprawidłowy|
Username|NazwaUżytkownika|
CUSTOM|UŻYTKOWNIKA|
Notes|Notatki|
First|Imię|
MI: |2 Imię: |
Last|Nazwisko|
Address|Adres|
City|Miasto|
State|Stan|
PostCode|KodPocztowy|
Province|Powiat|
Vendor ID|Vendedor ID|
DialCode|Prefiks|
Alt. Phone|Drugi telefon|
Show|Pokaż|
Email|Email|
Comments|Komentarz|
REFRESH|ODSWIEŻ|
ALT PHONE DIAL|WYBIERANIE DRUGIEGO NUMERU|
MAIN PHONE|NUMER PODSTAWOWY|
ALT PHONE|NUMER ALT.|
ADDRESS3|ADRES3|
FINISH LEAD|ZAKOŃCZ WPROWADZANIE DANYCH|
Dial Alt Phone Number|Zadzwoń pod numer alt.|
Phone|Telefon|
DIAL|WYBIERZ|
SUBMIT FAVORITES CHANGES - requires logout|ZATWIERDŹ ZMIANY W ULUBIONYCH- wymaga wylogowania|
BACK TO MAIN WINDOW - ignore changes made|Powrót do głónego okna - anulowanie wprowadzonych zmian|
AVAILABLE EXTENSIONS|DOSTĘPNE NUMERY WEWNĘTRZNE|
edit| edytuj|
FAVORITES| ULUBIONE|
### END translation phrases through 1.1.11 release ###
Search Existing Leads|Przeszukuj rekordy|
This option if checked will attempt to find the phone number in the system before inserting it as a new lead|This option if checked will attempt to find the phone number in the system before inserting it as a new lead|
Finish Wrapup and Move On|Finish Wrapup and Move On|
seconds remaining in wrapup|seconds remaining in wrapup|
Call Wrapup:|Call Wrapup|
### months of the year for CallBack date select screen ###
January|Styczeń|
Frebruary|Luty|
March|Marzec|
April|Kwiecień|
May|Maj|
June|Czerwiec|
July|Lipiec|
August|Sierpień|
September|Wrzesień|
October|Październik|
November|Listopad|
December|Grudzień|
+65 -52
View File
@@ -46,55 +46,55 @@ Spanish|Espanhol|
French|Francês|
German|Alemão|
Italian|Italiano|
agc_check_voicemail_BLINK.gif|agc_check_voicemail_BLINK_pt.gif|
agc_check_voicemail_OFF.gif|agc_check_voicemail_OFF_pt.gif|
agc_check_voicemail_ON.gif|agc_check_voicemail_ON_pt.gif|
agc_live_call_OFF.gif|agc_live_call_OFF_pt.gif|
agc_live_call_ON.gif|agc_live_call_ON_pt.gif|
agc_tab_active_lines.gif|agc_tab_active_lines_pt.gif|
agc_tab_conferences.gif|agc_tab_conferences_pt.gif|
agc_tab_main.gif|agc_tab_main_pt.gif|
vdc_LB_dialnextnumber.gif|vdc_LB_dialnextnumber_pt.gif|
vdc_LB_dialnextnumber_OFF.gif|vdc_LB_dialnextnumber_OFF_pt.gif|
vdc_LB_grabparkedcall.gif|vdc_LB_grabparkedcall_pt.gif|
vdc_LB_hangupcustomer.gif|vdc_LB_hangupcustomer_pt.gif|
vdc_LB_hangupcustomer_OFF.gif|vdc_LB_hangupcustomer_OFF_pt.gif|
vdc_LB_parkcall.gif|vdc_LB_parkcall_pt.gif|
vdc_LB_parkcall_OFF.gif|vdc_LB_parkcall_OFF_pt.gif|
vdc_LB_pause.gif|vdc_LB_pause_pt.gif|
vdc_LB_pause_OFF.gif|vdc_LB_pause_OFF_pt.gif|
vdc_LB_resume.gif|vdc_LB_resume_pt.gif|
vdc_LB_resume_OFF.gif|vdc_LB_resume_OFF_pt.gif|
vdc_LB_startrecording.gif|vdc_LB_startrecording_pt.gif|
vdc_LB_stoprecording.gif|vdc_LB_stoprecording_pt.gif|
vdc_LB_transferconf.gif|vdc_LB_transferconf_pt.gif|
vdc_LB_transferconf_OFF.gif|vdc_LB_transferconf_OFF_pt.gif|
vdc_LB_webform.gif|vdc_LB_webform_pt.gif|
vdc_LB_webform_OFF.gif|vdc_LB_webform_OFF_pt.gif|
vdc_XB_blindtransfer.gif|vdc_XB_blindtransfer_pt.gif|
vdc_XB_blindtransfer_OFF.gif|vdc_XB_blindtransfer_OFF_pt.gif|
vdc_XB_dialwithcustomer.gif|vdc_XB_dialwithcustomer_pt.gif|
vdc_XB_dialwithcustomer_OFF.gif|vdc_XB_dialwithcustomer_OFF_pt.gif|
vdc_XB_hangupbothlines.gif|vdc_XB_hangupbothlines_pt.gif|
vdc_XB_hangupbothlines_OFF.gif|vdc_XB_hangupbothlines_OFF_pt.gif|
vdc_XB_hangupxferline.gif|vdc_XB_hangupxferline_pt.gif|
vdc_XB_hangupxferline_OFF.gif|vdc_XB_hangupxferline_OFF_pt.gif|
vdc_XB_internalcloser.gif|vdc_XB_internalcloser_pt.gif|
vdc_XB_internalcloser_OFF.gif|vdc_XB_internalcloser_OFF_pt.gif|
vdc_XB_leave3waycall.gif|vdc_XB_leave3waycall_pt.gif|
vdc_XB_leave3waycall_OFF.gif|vdc_XB_leave3waycall_OFF_pt.gif|
vdc_XB_localcloser.gif|vdc_XB_localcloser_pt.gif|
vdc_XB_localcloser_OFF.gif|vdc_XB_localcloser_OFF_pt.gif|
vdc_XB_parkcustomerdial.gif|vdc_XB_parkcustomerdial_pt.gif|
vdc_XB_parkcustomerdial_OFF.gif|vdc_XB_parkcustomerdial_OFF_pt.gif|
vdc_XB_hotkeysactive.gif|vdc_XB_hotkeysactive_pt.gif|
vdc_XB_hotkeysactive_OFF.gif|vdc_XB_hotkeysactive_OFF_pt.gif|
vdc_LB_senddtmf.gif|vdc_LB_senddtmf_pt.gif|
vdc_LB_senddtmf_OFF.gif|vdc_LB_senddtmf_OFF_pt.gif|
vdc_XB_header.gif|vdc_XB_header_pt.gif|
vdc_XB_number.gif|vdc_XB_number_pt.gif|
vdc_XB_channel.gif|vdc_XB_channel_pt.gif|
vdc_XB_seconds.gif|vdc_XB_seconds_pt.gif|
agc_check_voicemail_BLINK.gif|agc_check_voicemail_BLINK.gif|
agc_check_voicemail_OFF.gif|agc_check_voicemail_OFF.gif|
agc_check_voicemail_ON.gif|agc_check_voicemail_ON.gif|
agc_live_call_OFF.gif|agc_live_call_OFF.gif|
agc_live_call_ON.gif|agc_live_call_ON.gif|
agc_tab_active_lines.gif|agc_tab_active_lines.gif|
agc_tab_conferences.gif|agc_tab_conferences.gif|
agc_tab_main.gif|agc_tab_main.gif|
vdc_LB_dialnextnumber.gif|vdc_LB_dialnextnumber.gif|
vdc_LB_dialnextnumber_OFF.gif|vdc_LB_dialnextnumber_OFF.gif|
vdc_LB_grabparkedcall.gif|vdc_LB_grabparkedcall.gif|
vdc_LB_hangupcustomer.gif|vdc_LB_hangupcustomer.gif|
vdc_LB_hangupcustomer_OFF.gif|vdc_LB_hangupcustomer_OFF.gif|
vdc_LB_parkcall.gif|vdc_LB_parkcall.gif|
vdc_LB_parkcall_OFF.gif|vdc_LB_parkcall_OFF.gif|
vdc_LB_pause.gif|vdc_LB_pause.gif|
vdc_LB_pause_OFF.gif|vdc_LB_pause_OFF.gif|
vdc_LB_resume.gif|vdc_LB_resume.gif|
vdc_LB_resume_OFF.gif|vdc_LB_resume_OFF.gif|
vdc_LB_startrecording.gif|vdc_LB_startrecording.gif|
vdc_LB_stoprecording.gif|vdc_LB_stoprecording.gif|
vdc_LB_transferconf.gif|vdc_LB_transferconf.gif|
vdc_LB_transferconf_OFF.gif|vdc_LB_transferconf_OFF.gif|
vdc_LB_webform.gif|vdc_LB_webform.gif|
vdc_LB_webform_OFF.gif|vdc_LB_webform_OFF.gif|
vdc_XB_blindtransfer.gif|vdc_XB_blindtransfer.gif|
vdc_XB_blindtransfer_OFF.gif|vdc_XB_blindtransfer_OFF.gif|
vdc_XB_dialwithcustomer.gif|vdc_XB_dialwithcustomer.gif|
vdc_XB_dialwithcustomer_OFF.gif|vdc_XB_dialwithcustomer_OFF.gif|
vdc_XB_hangupbothlines.gif|vdc_XB_hangupbothlines.gif|
vdc_XB_hangupbothlines_OFF.gif|vdc_XB_hangupbothlines_OFF.gif|
vdc_XB_hangupxferline.gif|vdc_XB_hangupxferline.gif|
vdc_XB_hangupxferline_OFF.gif|vdc_XB_hangupxferline_OFF.gif|
vdc_XB_internalcloser.gif|vdc_XB_internalcloser.gif|
vdc_XB_internalcloser_OFF.gif|vdc_XB_internalcloser_OFF.gif|
vdc_XB_leave3waycall.gif|vdc_XB_leave3waycall.gif|
vdc_XB_leave3waycall_OFF.gif|vdc_XB_leave3waycall_OFF.gif|
vdc_XB_localcloser.gif|vdc_XB_localcloser.gif|
vdc_XB_localcloser_OFF.gif|vdc_XB_localcloser_OFF.gif|
vdc_XB_parkcustomerdial.gif|vdc_XB_parkcustomerdial.gif|
vdc_XB_parkcustomerdial_OFF.gif|vdc_XB_parkcustomerdial_OFF.gif|
vdc_XB_hotkeysactive.gif|vdc_XB_hotkeysactive.gif|
vdc_XB_hotkeysactive_OFF.gif|vdc_XB_hotkeysactive_OFF.gif|
vdc_LB_senddtmf.gif|vdc_LB_senddtmf.gif|
vdc_LB_senddtmf_OFF.gif|vdc_LB_senddtmf_OFF.gif|
vdc_XB_header.gif|vdc_XB_header.gif|
vdc_XB_number.gif|vdc_XB_number.gif|
vdc_XB_channel.gif|vdc_XB_channel.gif|
vdc_XB_seconds.gif|vdc_XB_seconds.gif|
vdc_tab_script.gif|vdc_tab_script.gif|
You have now logged out. Thank you|Você tem registrado agora para fora. Obrigado|
astGUIclient web-client VERSION|VERSÃO astGUIclient do correia-cliente|
@@ -331,7 +331,7 @@ BUILD|CONFIGURAÇÃO|
Server|Usuário|
RECORD|REGISTRO|
HANGUP|HANGUP|
XFER|XFER|
>XFER|>XFER|
PARK|PARQUE|
IN-NUMBER|IN-NUMBER|
NUMBER|NÚMERO|
@@ -354,8 +354,8 @@ Recording|Gravação|
Record|Registro|
Welcome|Boa vinda|
VOICEMAIL|VOICEMAIL|
NEW|NOVO|
OLD|VELHO|
NEW| NOVO|
OLD| VELHO|
PAUSE|PAUSA|
START|COMEÇO|
Pause|Pausa|
@@ -401,3 +401,16 @@ This option if checked will attempt to find the phone number in the system befor
Finish Wrapup and Move On|Revestimento Wrapup e movimento sobre|
seconds remaining in wrapup|segundos restantes no wrapup|
Call Wrapup:|Chamada Wrapup:|
### months of the year for CallBack date select screen ###
January|Janeiro|
Frebruary|Fevereiro|
March|Março|
April|Abril|
May|Pode|
June|Junho|
July|Julho|
August|Agosto|
September|Setembro|
October|Outubro|
November|Novembro|
December|Dezembro|