small bug fixes

git-svn-id: svn://192.168.202.10@1303 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-01-13 18:28:32 +00:00
parent e8c914f183
commit 7782c00a64
7 changed files with 13 additions and 11 deletions
@@ -1537,7 +1537,7 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) )
if ($AGENTgrab > 0)
{
$stmtA = "SELECT conf_exten,extension from vicidial_live_agents WHERE user='$AGENTuser';";
$stmtA = "SELECT conf_exten,extension,server_ip from vicidial_live_agents WHERE user='$AGENTuser';";
if ($AGILOG) {$agi_string = "|$stmtA|"; &agi_output;}
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
@@ -1549,6 +1549,7 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) )
$VDADconf_exten = $aryA[0];
$VDADextension = $aryA[1];
$VDADuser = $AGENTuser;
$VDADserver_ip = $aryA[2];
}
$sthA->finish();
}
@@ -1928,7 +1929,7 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) )
if ($AGENTgrab > 0)
{
$stmtA = "SELECT conf_exten,extension from vicidial_live_agents WHERE user='$AGENTuser';";
$stmtA = "SELECT conf_exten,extension,server_ip from vicidial_live_agents WHERE user='$AGENTuser';";
if ($AGILOG) {$agi_string = "|$stmtA|"; &agi_output;}
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
@@ -1940,6 +1941,7 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) )
$VDADconf_exten = $aryA[0];
$VDADextension = $aryA[1];
$VDADuser = $AGENTuser;
$VDADserver_ip = $aryA[2];
}
$sthA->finish();
}
@@ -10518,7 +10518,7 @@ echo "</head>\n";
<table border=1 bgcolor="#CCFFCC" width=<?php echo $CAwidth ?> height=460><TR><TD align=center VALIGN=top> NEW MANUAL DIAL LEAD FOR <?php echo "$VD_login in campaign $VD_campaign" ?>:<BR><BR>Enter information below for the new lead you wish to call.
<BR>
<?php
if (eregi("X",dial_prefix))
if (eregi("X",$dial_prefix))
{
echo "Note: a dial prefix of $dial_prefix will be added to the beginning of this number<BR>\n";
}
@@ -23998,7 +23998,7 @@ if ($ADD==160000000000)
$rslt=mysql_query($stmt, $link);
$moh_to_print = mysql_num_rows($rslt);
echo "<br>TEXT-TO-SPEECH(TTS) LISTINGS:\n";
echo "<br>MUSIC-ON-HOLD(MOH) LISTINGS:\n";
echo "<center><TABLE width=$section_width cellspacing=0 cellpadding=1>\n";
echo "<tr bgcolor=black>";
echo "<td><font size=1 color=white align=left><B>MOH ID</B></td>";