正在调试中!!"; ?> '2.1', 'sysid'=> '325_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.1.7', 'sysid'=> '223_99_99', 'selectsysid'=>'-1'), array('oid'=>'2.2.0', 'sysid'=> '223_99_99', 'selectsysid'=>'-1'), ); $SaveArr=array( array('oidstr'=>'3.2', 'setvalue'=>'02' ,'sysid'=>'223_99_99'), ); $getsql = "SELECT sysNo FROM $sysinfo where sysTypeNo = $sysTypeNo"; if($DEBUG) echo "getsql = $getsql
"; $Result = @mysqli_query($pubConn,$getsql); while($Rows = mysqli_fetch_array($Result)) { $vlrSysId = "325_".$Rows[sysNo]."_0"; $SaveArr[] = array('oidstr'=>'3.3', 'setvalue'=>'01' ,'sysid'=> $vlrSysId); } //loading if($load_flag == 1) { echo "
Loading"; GetParam($sysId_arr,1);//1 means return to overview if getting parameters fails. echo ""; } {//set system ip for($i=0; $i < 2; $i++) { $getsql = "SELECT ip FROM $sysinfo where sysTypeNo = $sysTypeNo and sysNo = '$i'"; if($DEBUG) echo "getsql = $getsql
"; $ip_init = @mysqli_query($pubConn,$getsql); $ip_init = mysqli_fetch_array($ip_init); $ip_init = $ip_init[0]; $ip_array = explode('.',$ip_init); for($j = 0;$j < sizeof($ip_array);$j++) { $ip = $ip_array[$j]; $mss_ip[$i] .= omc_keep_length(dechex($ip),'0','2'); } } $mss_ip[0] = strtoupper(omc_keep_length($mss_ip[0],'0','8')); $mss_ip[1] = strtoupper(omc_keep_length($mss_ip[1],'0','8')); if($DEBUG) { echo "
mss0_ip = $mss_ip[0]
"; echo "mss1_ip = $mss_ip[1]
"; } $sysId = "223_99_99"; //vlr $oidStr = "2.1.7"; setParamValue($mss_ip[0],$sysId,$oidStr,3); setParamValue($mss_ip[1],$sysId,$oidStr,4); }//end set system ip if($_SERVER['REQUEST_METHOD'] == "POST") { if(isset($setSys) || isset($getSys)) { if(isset($setSys)) { echo "
Setting parameters
"; SetParam($sysId_arr); session_register("vlrSetFlag"); $showType="Set"; echo "
Sending save command
"; SaveParam($SaveArr); echo ""; //exit(); } else { echo "
Getting parameters
"; session_register("GetFlag"); GetParam($sysId_arr); $showType="Get"; } } echo ""; exit(); } //========================================================== //输出并显示数据 //========================================================== echo "
"; echo ""; echo ""; echo ""; echo ""; echo "
"; echo "Configuration > Network > VLR"; echo ""; $helpId = '2.1.1.2'; showHelp($helpId); echo "
"; echo "
"; { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
 "; //echo "Visitor Location Register:  "; echo ""; echo ""; echo "   "; echo ""; echo ""; echo "

$strBack"; echo "

"; } ?> 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 ""; echo ""; echo ""; }//end Signaling point {//gtt $sysId = "223_99_99"; $oidStr = "2.1.7"; $instanceNo=0; echo "" ; echo ""; }//end gtt {//purge echo "" ; echo ""; echo ""; echo ""; }//end purge {//Idle period to purge echo "" ; echo ""; echo ""; echo ""; }//end Idle period to purge {//cdr echo "" ; echo ""; echo ""; echo ""; }//end cdr {//emgAllow echo "" ; echo ""; echo ""; echo ""; }//end emgAllow {//ciphering echo "" ; echo ""; echo ""; echo ""; }//end ciphering {//cipAlg echo "" ; echo ""; echo ""; }//end cipAlg {//alloTmsi echo "" ; echo ""; 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 ""; echo ""; echo ""; }//en Authentication {//reuAucTrip $reuAucTrip_array = array( array('Reuse Triplets','OptReuseTriplets',1), array(' Double Authentication','doubleAut',2) );//2.1.2 echo "" ; 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 ""; 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 ""; echo ""; echo ""; }//end Location update flag /* {//license echo "" ; echo ""; echo ""; echo ""; }//end license */ echo "
Signaling point code"; for($i=0; $i<4; $i++) echo ""; echo "
{$spcTree_array[$i][0]}: {$spcTree_array[$spc_index[$i]][1]} {$spcTree_array[$spc_index[$i+4]][1]} $row[$i]
$strE164Number"; echo ""; echo ""; echo "
"; showParameter($sysId,$oidStr,2,1); echo ""; showParameter($sysId,$oidStr,1,1); echo "
VLR purge "; $sysId = "325_99_99"; $oidStr = "2.1.9"; showParameter($sysId,$oidStr,1,1); echo "
Idle period to purge "; $sysId = "325_99_99"; $oidStr = "2.1.10"; showParameter($sysId,$oidStr,1,1); echo " *6 Minutes
CDR flag "; $sysId = "325_99_99"; $oidStr = "2.1.11"; showParameter($sysId,$oidStr,1,1); echo "
Emergency call "; $sysId = "325_99_99"; $oidStr = "2.1.7"; showParameter($sysId,$oidStr,1,1); echo "
Ciphering "; $sysId = "325_99_99"; $oidStr = "2.1.3"; showParameter($sysId,$oidStr,1,1); echo "
Ciphering algorithm "; $sysId = "325_99_99"; $oidStr = "2.1.4"; showParameter($sysId,$oidStr,1,1); echo "
TMSI Allocation "; $sysId = "325_99_99"; $oidStr = "2.1.5"; showParameter($sysId,$oidStr,1,1); echo "
Authentication"; echo ""; $sysId = "325_99_99"; $oidStr = "2.1.1"; for($i = 0;$i < sizeof($auc_array);$i++ ) { echo ""; echo ""; } echo "
{$auc_array[$i][0]}"; $order=$auc_array[$i][2]; showParameter($sysId,$oidStr,$order,1); echo "
Reuse authentication triplet"; echo ""; $sysId = "325_99_99"; $oidStr = "2.1.2"; for($i = 0;$i < sizeof($reuAucTrip_array);$i++ ) { echo ""; echo ""; } echo "
{$reuAucTrip_array[$i][0]}"; $order=$reuAucTrip_array[$i][2]; showParameter($sysId,$oidStr,$order,1); echo "
Validate IMEI"; echo ""; $sysId = "325_99_99"; $oidStr = "2.1.8"; for($i = 0;$i < sizeof($checkimsi_array);$i++ ) { echo ""; echo ""; } echo "
{$checkimsi_array[$i][0]}"; $order=$checkimsi_array[$i][2]; showParameter($sysId,$oidStr,$order,1); echo "
Location update flag"; echo ""; for($i = 0;$i < sizeof($LocUpFlg_array);$i++ ) { echo ""; echo ""; } echo "
{$LocUpFlg_array[$i][0]}"; $order=$LocUpFlg_array[$i][2]; showParameter($sysId,$oidStr,$order,1); echo "
License control "; $sysId = "325_99_99"; $oidStr = "2.1.16"; showParameter($sysId,$oidStr,1,1,0,'','','Update'); echo "
"; { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
"; echo "  "; echo ""; echo ""; echo "   "; echo ""; echo ""; echo "

$strBack"; echo "

"; } echo "
"; ?>