indicator = {$indicator[0]}
";
for($i = 0; $i < 4; $i++)
{
$flag = getBitValue($indicator[0],"0.$i");
if ($flag == 0)
$spc_index[$i] = $i;
else
$spc_index[$i] = $i+4;
}
for($i = 0; $i < 4; $i ++)
{
$level_array = explode('.',$spcTree_array[$spc_index[$i]][3]);
for($j = 0;$j < sizeof($level_array);$j ++)
{
$level_no = $j + 1;
${level_.$level_no} = $level_array[$j];
}
$getsql = "select initValue from $mtp3_sqlTable
where level_1 = '$level_1' and level_2 = '$level_2' and level_3 = '$level_3' ";
$result = mysqli_query($pubConn,$getsql);
$row[$i] = mysqli_fetch_array($result);
$row[$i] = hexdec($row[$i][0]);
if($DEBUG)echo "getsql = $getsql
";
if($DEBUG)echo "spc_$i=$row[$i]
";
}
}
echo "" ;
echo "| Signaling point code | ";
echo "";
for($i=0; $i<4; $i++)
echo "| {$spcTree_array[$i][0]}: {$spcTree_array[$spc_index[$i]][1]} {$spcTree_array[$spc_index[$i+4]][1]} $row[$i] | ";
echo "
| ";
echo "
";
}//end Signaling point
{//gtt
$sysId = "223_99_99";
$oidStr = "2.1.7";
$instanceNo=0;
echo "" ;
echo "| $strE164Number | ";
echo "| ";
showParameter($sysId,$oidStr,2,1);
echo " | ";
echo "";
showParameter($sysId,$oidStr,1,1);
echo " | ";
echo " |
";
}//end gtt
{//purge
echo "" ;
echo "| VLR purge | ";
echo " ";
$sysId = "325_99_99";
$oidStr = "2.1.9";
showParameter($sysId,$oidStr,1,1);
echo " | ";
echo "
";
}//end purge
{//Idle period to purge
echo "" ;
echo "| Idle period to purge | ";
echo " ";
$sysId = "325_99_99";
$oidStr = "2.1.10";
showParameter($sysId,$oidStr,1,1);
echo " *6 Minutes | ";
echo "
";
}//end Idle period to purge
{//cdr
echo "" ;
echo "| CDR flag | ";
echo " ";
$sysId = "325_99_99";
$oidStr = "2.1.11";
showParameter($sysId,$oidStr,1,1);
echo " | ";
echo "
";
}//end cdr
{//emgAllow
echo "" ;
echo "| Emergency call | ";
echo " ";
$sysId = "325_99_99";
$oidStr = "2.1.7";
showParameter($sysId,$oidStr,1,1);
echo " | ";
echo "
";
}//end emgAllow
{//ciphering
echo "" ;
echo "| Ciphering | ";
echo " ";
$sysId = "325_99_99";
$oidStr = "2.1.3";
showParameter($sysId,$oidStr,1,1);
echo " | ";
echo "
";
}//end ciphering
{//cipAlg
echo "" ;
echo "| Ciphering algorithm | ";
echo " ";
$sysId = "325_99_99";
$oidStr = "2.1.4";
showParameter($sysId,$oidStr,1,1);
echo " | ";
}//end cipAlg
{//alloTmsi
echo "
" ;
echo "| TMSI Allocation | ";
echo " ";
$sysId = "325_99_99";
$oidStr = "2.1.5";
showParameter($sysId,$oidStr,1,1);
echo " | ";
}//end alloTmsi
{//Authentication
$auc_array = array(
array('Location update','location_auc',1),
array('MO Call','mo_call_auc',2),
array('MT Call','mt_call_auc',3)
);//2.1.1
echo "
" ;
echo "| Authentication | ";
echo "";
echo "";
$sysId = "325_99_99";
$oidStr = "2.1.1";
for($i = 0;$i < sizeof($auc_array);$i++ )
{
echo "| {$auc_array[$i][0]} | ";
echo "";
$order=$auc_array[$i][2];
showParameter($sysId,$oidStr,$order,1);
echo " | ";
}
echo " | ";
echo "
";
}//en Authentication
{//reuAucTrip
$reuAucTrip_array = array(
array('Reuse Triplets','OptReuseTriplets',1),
array(' Double Authentication','doubleAut',2)
);//2.1.2
echo "" ;
echo "| Reuse authentication triplet | ";
echo "";
echo "";
$sysId = "325_99_99";
$oidStr = "2.1.2";
for($i = 0;$i < sizeof($reuAucTrip_array);$i++ )
{
echo "| {$reuAucTrip_array[$i][0]} | ";
echo "";
$order=$reuAucTrip_array[$i][2];
showParameter($sysId,$oidStr,$order,1);
echo " | ";
}
echo " | ";
echo "
";
}//end reuAucTrip
{//checkImei
$checkimsi_array = array(
array('Location update','location_checkimsi',1),
array('MO Call','mo_call_checkimsi',2),
array('MT Call','mt_call_checkimsi',3)
);//2.1.8
echo "" ;
echo "| Validate IMEI | ";
echo "";
echo "";
$sysId = "325_99_99";
$oidStr = "2.1.8";
for($i = 0;$i < sizeof($checkimsi_array);$i++ )
{
echo "| {$checkimsi_array[$i][0]} | ";
echo "";
$order=$checkimsi_array[$i][2];
showParameter($sysId,$oidStr,$order,1);
echo " | ";
}
echo " | ";
echo "
";
}//end checkImei
{//Location update flag
$LocUpFlg_array = array(
array('Normal LU to HLR','Normal_lu',1),
array('Periodic LU','Periodic_lu',2),
array('IMSI Attach','IMSI_lu',3)
);//2.1.15
$sysId = "325_99_99";
$oidStr = "2.1.15";
echo "" ;
echo "| Location update flag | ";
echo "";
echo "";
for($i = 0;$i < sizeof($LocUpFlg_array);$i++ )
{
echo "| {$LocUpFlg_array[$i][0]} | ";
echo "";
$order=$LocUpFlg_array[$i][2];
showParameter($sysId,$oidStr,$order,1);
echo " | ";
}
echo " | ";
echo "
";
}//end Location update flag
/*
{//license
echo "" ;
echo "| License control | ";
echo " ";
$sysId = "325_99_99";
$oidStr = "2.1.16";
showParameter($sysId,$oidStr,1,1,0,'','','Update');
echo " | ";
echo "
";
}//end license
*/
echo "
";
{
echo "