added volumecontrol_active variable at the top of vicidial.php to enable/disable volume control, and some other small changes
git-svn-id: svn://192.168.202.10@335 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,32 +1,32 @@
|
||||
############################################################ ADMIN
|
||||
|
||||
VICIDIAL Server Trunks allows you to restrict the outgoing lines that are used on this server for campaign dialing on a per-campaign basis. You have the option to reserve a specific number of lines to be used by only one campaign as well as allowing that campaign to run over its reserved lines into whatever lines remain open, as long at the total lines used by vicidial on this server is less than the Max VICIDIAL Trunks setting. Not having any of these records will allow the campaign that dials the line first to have as many lines as it can get under the Max VICIDIAL Trunks setting
|
||||
VICIDIAL Balance Dialing -<\/B> Setting this field to Y will allow the server to place balance calls for campaigns in VICIDIAL so that the defined dial level can be met even if there are no agents logged into that campaign on this server. Default is N
|
||||
VICIDIAL Balance Offlimits -<\/B> This setting defines the number of trunks to not allow VICIDIAL balance dialing to use. For example if you have 40 max vicidial trunks and balance offlimits is set to 10 you will only be able to use 30 trunk lines for VICIDIAL balance dialing. Default is 0
|
||||
VICIDIAL SERVER TRUNK RECORD NOT ADDED
|
||||
there is already a server-trunk record for this campaign
|
||||
the number of vicidial trunks is too high
|
||||
VICIDIAL SERVER TRUNK RECORD ADDED
|
||||
VICIDIAL SERVER TRUNK RECORD NOT MODIFIED
|
||||
VICIDIAL SERVER TRUNK RECORD MODIFIED
|
||||
VICIDIAL SERVER TRUNK RECORD NOT DELETED
|
||||
VICIDIAL SERVER TRUNK RECORD DELETED
|
||||
campaign must be between 3 and 8 characters in length
|
||||
server_ip delay must be at least 7 characters
|
||||
trunks must be a digit from 0 to 9999
|
||||
VICIDIAL Balance Dialing
|
||||
VICIDIAL Balance Offlimits
|
||||
ADDING NEW SERVER VICIDIAL TRUNK RECORD
|
||||
ADD NEW SERVER VICIDIAL TRUNK RECORD
|
||||
MODIFY SERVER VICIDIAL TRUNK RECORD
|
||||
DELETE SERVER VICIDIAL TRUNK RECORD
|
||||
VICIDIAL TRUNKS FOR THIS SERVER
|
||||
RESTRICTION
|
||||
TRUNKS
|
||||
VICIDIAL Server Trunks allows you to restrict the outgoing lines that are used on this server for campaign dialing on a per-campaign basis. You have the option to reserve a specific number of lines to be used by only one campaign as well as allowing that campaign to run over its reserved lines into whatever lines remain open, as long at the total lines used by vicidial on this server is less than the Max VICIDIAL Trunks setting. Not having any of these records will allow the campaign that dials the line first to have as many lines as it can get under the Max VICIDIAL Trunks setting||
|
||||
VICIDIAL Balance Dialing -<\/B> Setting this field to Y will allow the server to place balance calls for campaigns in VICIDIAL so that the defined dial level can be met even if there are no agents logged into that campaign on this server. Default is N||
|
||||
VICIDIAL Balance Offlimits -<\/B> This setting defines the number of trunks to not allow VICIDIAL balance dialing to use. For example if you have 40 max vicidial trunks and balance offlimits is set to 10 you will only be able to use 30 trunk lines for VICIDIAL balance dialing. Default is 0||
|
||||
VICIDIAL SERVER TRUNK RECORD NOT ADDED||
|
||||
there is already a server-trunk record for this campaign||
|
||||
the number of vicidial trunks is too high||
|
||||
VICIDIAL SERVER TRUNK RECORD ADDED||
|
||||
VICIDIAL SERVER TRUNK RECORD NOT MODIFIED||
|
||||
VICIDIAL SERVER TRUNK RECORD MODIFIED||
|
||||
VICIDIAL SERVER TRUNK RECORD NOT DELETED||
|
||||
VICIDIAL SERVER TRUNK RECORD DELETED||
|
||||
campaign must be between 3 and 8 characters in length||
|
||||
server_ip delay must be at least 7 characters||
|
||||
trunks must be a digit from 0 to 9999||
|
||||
VICIDIAL Balance Dialing||
|
||||
VICIDIAL Balance Offlimits||
|
||||
ADDING NEW SERVER VICIDIAL TRUNK RECORD||
|
||||
ADD NEW SERVER VICIDIAL TRUNK RECORD||
|
||||
MODIFY SERVER VICIDIAL TRUNK RECORD||
|
||||
DELETE SERVER VICIDIAL TRUNK RECORD||
|
||||
VICIDIAL TRUNKS FOR THIS SERVER||
|
||||
RESTRICTION||
|
||||
TRUNKS||
|
||||
|
||||
############################################################ CLIENT
|
||||
|
||||
|
||||
VOLUME||
|
||||
|
||||
|
||||
############################################################ ADMIN Manual
|
||||
|
||||
+15
-5
@@ -208,6 +208,7 @@ $webform_sessionname = '1'; # set to 1 to include the session_name in webform UR
|
||||
$local_consult_xfers = '1'; # set to 1 to send consultative transfers from original server
|
||||
$clientDST = '1'; # set to 1 to check for DST on server for agent time
|
||||
$no_delete_sessions = '0'; # set to 1 to not delete sessions at logout
|
||||
$volumecontrol_active = '1'; # set to 1 to allow agents to alter volume of channels
|
||||
|
||||
$TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen
|
||||
|
||||
@@ -1393,6 +1394,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
var CBcallback_time = '';
|
||||
var CBuser = '';
|
||||
var CBcomments = '';
|
||||
var volumecontrol_active = '<? echo $volumecontrol_active ?>';
|
||||
var DiaLControl_auto_HTML = "<IMG SRC=\"./images/vdc_LB_pause_OFF.gif\" border=0 alt=\"Pause\"><a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADready');\"><IMG SRC=\"./images/vdc_LB_resume.gif\" border=0 alt=\"Resume\"></a>";
|
||||
var DiaLControl_auto_HTML_ready = "<a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADpause');\"><IMG SRC=\"./images/vdc_LB_pause.gif\" border=0 alt=\"Pause\"></a><IMG SRC=\"./images/vdc_LB_resume_OFF.gif\" border=0 alt=\"Resume\">";
|
||||
var DiaLControl_auto_HTML_OFF = "<IMG SRC=\"./images/vdc_LB_pause_OFF.gif\" border=0 alt=\"Pause\"><IMG SRC=\"./images/vdc_LB_resume_OFF.gif\" border=0 alt=\"Resume\">";
|
||||
@@ -1847,7 +1849,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
var LMAcontent_match=0;
|
||||
var conv_start=-1;
|
||||
// var live_conf_HTML = "<font face=\"Arial,Helvetica\"><B>LIVE CALLS IN THIS CONFERENCE:</B></font><BR><TABLE WIDTH=500><TR BGCOLOR=#E6E6E6><TD><font class=\"log_title\">#</TD><TD><font class=\"log_title\">REMOTE CHANNEL</TD><TD><font class=\"log_title\">HANGUP</TD><TD><font class=\"log_title\">XFER</TD></TR>";
|
||||
var live_conf_HTML = "<font face=\"Arial,Helvetica\"><B>LIVE CALLS IN YOUR SESSION:</B></font><BR><TABLE WIDTH=500><TR BGCOLOR=#E6E6E6><TD><font class=\"log_title\">#</TD><TD><font class=\"log_title\">REMOTE CHANNEL</TD><TD><font class=\"log_title\">HANGUP</TD><TD><font class=\"log_title\">VOLUME</TD></TR>";
|
||||
var live_conf_HTML = "<font face=\"Arial,Helvetica\"><B>LIVE CALLS IN YOUR SESSION:</B></font><BR><TABLE WIDTH=600><TR BGCOLOR=#E6E6E6><TD><font class=\"log_title\">#</TD><TD><font class=\"log_title\">REMOTE CHANNEL</TD><TD><font class=\"log_title\">HANGUP</TD><TD><font class=\"log_title\">VOLUME</TD></TR>";
|
||||
if ( (LMAcount > live_conf_calls) || (LMAcount < live_conf_calls) || (LMAforce > 0))
|
||||
{
|
||||
LMAe[0]=''; LMAe[1]=''; LMAe[2]=''; LMAe[3]=''; LMAe[4]=''; LMAe[5]='';
|
||||
@@ -1864,8 +1866,14 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
var conv_ct = (loop_ct + conv_start);
|
||||
var channelfieldA = conf_chan_array[conv_ct];
|
||||
// live_conf_HTML = live_conf_HTML + "<tr bgcolor=\"" + row_color + "\"><td><font class=\"log_text\">" + loop_ct + "</td><td><font class=\"log_text\">" + channelfieldA + "</td><td><font class=\"log_text\"><a href=\"#\" onclick=\"livehangup_send_hangup('" + channelfieldA + "');return false;\">Hangup</td><td><font class=\"log_text\"><a href=\"#\" onclick=\"showMainXfeR('MainXfeRBox','" + channelfieldA + "');return false;\">XFER</td></tr>";
|
||||
live_conf_HTML = live_conf_HTML + "<tr bgcolor=\"" + row_color + "\"><td><font class=\"log_text\">" + loop_ct + "</td><td><font class=\"log_text\">" + channelfieldA + "</td><td><font class=\"log_text\"><a href=\"#\" onclick=\"livehangup_send_hangup('" + channelfieldA + "');return false;\">HANGUP</a></td><td><a href=\"#\" onclick=\"volume_control('UP','" + channelfieldA + "');return false;\"><IMG SRC=\"./images/vdc_volume_up.gif\" BORDER=0></a> <a href=\"#\" onclick=\"volume_control('DOWN','" + channelfieldA + "');return false;\"><IMG SRC=\"./images/vdc_volume_down.gif\" BORDER=0></a></td></tr>";
|
||||
|
||||
if (volumecontrol_active!=1)
|
||||
{
|
||||
live_conf_HTML = live_conf_HTML + "<tr bgcolor=\"" + row_color + "\"><td><font class=\"log_text\">" + loop_ct + "</td><td><font class=\"log_text\">" + channelfieldA + "</td><td><font class=\"log_text\"><a href=\"#\" onclick=\"livehangup_send_hangup('" + channelfieldA + "');return false;\">HANGUP</a></td><td></td></tr>";
|
||||
}
|
||||
else
|
||||
{
|
||||
live_conf_HTML = live_conf_HTML + "<tr bgcolor=\"" + row_color + "\"><td><font class=\"log_text\">" + loop_ct + "</td><td><font class=\"log_text\">" + channelfieldA + "</td><td><font class=\"log_text\"><a href=\"#\" onclick=\"livehangup_send_hangup('" + channelfieldA + "');return false;\">HANGUP</a></td><td><a href=\"#\" onclick=\"volume_control('UP','" + channelfieldA + "');return false;\"><IMG SRC=\"./images/vdc_volume_up.gif\" BORDER=0></a> <a href=\"#\" onclick=\"volume_control('DOWN','" + channelfieldA + "');return false;\"><IMG SRC=\"./images/vdc_volume_down.gif\" BORDER=0></a></td></tr>";
|
||||
}
|
||||
// var debugspan = document.getElementById("debugbottomspan").innerHTML;
|
||||
|
||||
if (channelfieldA == lastcustchannel) {custchannellive++;}
|
||||
@@ -3403,7 +3411,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
|
||||
document.getElementById("DialBlindVMail").innerHTML = "<a href=\"#\" onclick=\"mainxfer_send_redirect('XfeRVMAIL','" + lastcustchannel + "','" + lastcustserverip + "');return false;\"><IMG SRC=\"./images/vdc_XB_ammessage.gif\" border=0 alt=\"Blind Transfer VMail Message\"></a>";
|
||||
|
||||
if (callserverip == server_ip)
|
||||
if (lastcustserverip == server_ip)
|
||||
{
|
||||
document.getElementById("VolumeUpSpan").innerHTML = "<a href=\"#\" onclick=\"volume_control('UP','" + lastcustchannel + "');return false;\"><IMG SRC=\"./images/vdc_volume_up.gif\" BORDER=0></a>";
|
||||
document.getElementById("VolumeDownSpan").innerHTML = "<a href=\"#\" onclick=\"volume_control('DOWN','" + lastcustchannel + "');return false;\"><IMG SRC=\"./images/vdc_volume_down.gif\" BORDER=0></a>";
|
||||
@@ -4770,6 +4778,8 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
{clearDiv('DiaLLeaDPrevieW');}
|
||||
if (alt_phone_dialing != 1)
|
||||
{clearDiv('DiaLDiaLAltPhonE');}
|
||||
if (volumecontrol_active != '1')
|
||||
{hideDiv('VolumeControlSpan');}
|
||||
document.vicidial_form.LeadLookuP.checked=true;
|
||||
|
||||
document.getElementById("sessionIDspan").innerHTML = session_id;
|
||||
@@ -5386,7 +5396,7 @@ echo "</head>\n";
|
||||
|
||||
|
||||
|
||||
<span style="position:absolute;left:250px;top:350px;z-index:19;" id="VolumeControlSpan"><span id="VolumeUpSpan"><IMG SRC="./images/vdc_volume_up_off.gif" BORDER=0></span><BR><span id="VolumeDownSpan"><IMG SRC="./images/vdc_volume_down_off.gif" BORDER=0></span>
|
||||
<span style="position:absolute;left:250px;top:352px;z-index:19;" id="VolumeControlSpan"><span id="VolumeUpSpan"><IMG SRC="./images/vdc_volume_up_off.gif" BORDER=0></span><BR><span id="VolumeDownSpan"><IMG SRC="./images/vdc_volume_down_off.gif" BORDER=0></span>
|
||||
</font></span>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user