"; echo ""; echo ""; echo "Configuration > Network"; echo "> BSS Specific"; echo "> BtsMgr $btsid"; echo "> AssignTrx for Bts.$btsid.$cellid"; echo ""; echo ""; echo "
"; function flash($bssid,$btsid,$cellid) { $sqlstring = "select ObjectId from OMCR_BSSTREE where ObjectId like 'Trx.$btsid%' and Presence=1 and ObjectId not like 'Trx.$btsid.$cellid%' and bssid=$bssid"; //echo $sqlstring . "
"; $result = mysqli_query($pubConn,$sqlstring) or die("Invalid query: $sqlstring\n" . mysqli_error($pubConn)); echo ""; } if($deltype=='AssignTrx') { $nmicmd="action 9:4 ".$trxnum; $objectid="Bts.".$btsid.".".$cellid; putcommand($bssid,$objectid,$nmicmd); /* $sqlstring = "select ObjectId from OMCR_BSSTREE where ObjectId like 'Trx.$btsid%' and bssid=$bssid"; //echo $sqlstring . "
"; $result = mysqli_query($pubConn,$sqlstring) or die("Invalid query: $sqlstring\n" . mysqli_error($pubConn)); while($row = mysqli_fetch_row($result)) { list($trx_object_name[]) =$row; } for($i=0;$i"; echo ""; echo ""; echo ""; echo ""; echo "Back";//back echo ""; echo ""; ?> "; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
UnAssigned TRXs"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; $sqlstring = "select ObjectId from OMCR_BSSTREE where ObjectId like 'Trx.$btsid%' and Presence=1 and ObjectId not like 'Trx.$btsid.$cellid%' and bssid=$bssid"; //echo $sqlstring . "
"; $result = mysqli_query($pubConn,$sqlstring) or die("Invalid query: $sqlstring\n" . mysqli_error($pubConn)); while($row = mysqli_fetch_row($result)) { list($trx_object_name[]) =$row; } $no_of_trx = count($trx_object_name);//e.g RCarrier.0.0.4 for($i=0;$i<$no_of_trx;$i++) { $trx_cont = explode(".",$trx_object_name[$i]); echo ""; echo "
BtsMgrNumberBtsNumberTrxNumberAssign to Bts.$btsid.$cellid
"; echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
BtsMgr $trx_cont[1]Bts $trx_cont[2]Trx $trx_cont[3]"; $trxnum = $trx_cont[3]; $objectid = "Bts.".$btsid.".".$cellid; $deltype = "AssignTrx"; echo "
"; echo "
Assigned TRXs"; echo ""; /* echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; */ $sqlstring = "select ObjectId from OMCR_BSSTREE where ObjectId like 'Trx.$btsid.$cellid%' and Presence=1 and bssid=$bssid"; //echo $sqlstring . "
"; $result = mysqli_query($pubConn,$sqlstring) or die("Invalid query: $sqlstring\n" . mysqli_error($pubConn)); while($row = mysqli_fetch_row($result)) { list($trx_object[]) =$row; } $no_of_trx_1 = count($trx_object);//e.g RCarrier.0.0.4 for($i=0;$i<$no_of_trx_1;$i++) { $trx_cont = explode(".",$trx_object[$i]); echo ""; echo "
BtsMgrNumberBtsNumberTrxNumber
"; echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
BtsMgr $trx_cont[1]Bts $trx_cont[2]Trx $trx_cont[3]
"; echo "
"; echo "
Note: If you want to assign trx,you must Lock AbisMgr !"; ?>