小弟在学习cc08中遇到困难,请高手指点迷津。不知道代码错在哪里?
题目要求:
1.本地区号是0571,本局信令点:BBBB95 2.本局用户822XX10~822XX70,对应设备号是0~60,其中XX与本人学号后2位一致。 3.本局有2个相邻信令点,分别是“111111”和“222222”,对应区号都是0571,对应局号分别是821和823。 4.有一个与本局不相邻的信令点“333333”,与信令点“111111”相邻,对应区号和局号分别是021和866。 5.本局信令点与“111111”信令点之间存在4条MTP链路,占用LAPN7,链路号分别是4、5、6、7,中继设备标识是TUP,分别占用电路号16、48、144、176;本局信令点与“222222” 信令点之间存在2条MTP链路,占用LAPN7,链路号分别是8、9,中继设备标识是TUP,分别占用电路号80、112。 6.计费要求:822号段电话内通话免费,记详细话单;822号段拨打本地其他号段以市话计次计费,822号段拨打长途电话记详细话单。 配置代码: SET CWSON: SWT=OFF; SET FMT: STS=OFF; LOF: ; ADD SGLMDU: CKTP=CFMB, PE=TRUE, DE=FALSE, DW=FALSE, PW=TRUE; SET OFI: LOT=CMPX, NN=TRUE, SN1=NAT, SN2=NAT, SN3=NAT, SN4=NAT, NNC="BBBBXX", NNS=SP24, SCCP=NONE, STP=FALSE, LAC=K'571, LNC=K'86; DD CFB: MN=1, F=1, LN=0, PNM="通信平台实验室", PN=0, ROW=0, COL=0; ADD CLKF: MN=1, F=3, LN=0, PNM="通信平台实验室", PN=0, ROW=0, COL=0, CLK=CLK1, CT=CT1; ADD DTFB: MN=1, F=5, LN=0, PNM="通信平台实验室", PN=0, ROW=0, COL=0, BT=BP3, N1=0, N2=1, N3=2, N4=3, N5=255, HW1=90, HW2=91, HW3=88, HW4=89, HW5=86, HW6=87, HW7=84, HW8=85, HW9=255; ADD USF32: MN=1, F=7, LN=1, PNM="通信平台实验室", PN=0, ROW=0, COL=1, N1=16, N2=20, HW1=0, HW2=1, HW3=2, HW4=3, HW5=255, BRDTP=ASL32; RMV BRD: MN=1, F=1, S=2; RMV BRD: MN=1, F=1, S=3; RMV BRD: MN=1, F=1, S=4; RMV BRD: MN=1, F=1, S=5; RMV BRD: MN=1, F=1, S=6; RMV BRD: MN=1, F=1, S=10; RMV BRD: MN=1, F=1, S=14; RMV BRD: MN=1, F=1, S=17; RMV BRD: MN=1, F=1, S=18; RMV BRD: MN=1, F=1, S=19; RMV BRD: MN=1, F=1, S=20; RMV BRD: MN=1, F=1, S=21; RMV BRD: MN=1, F=1, S=22; RMV BRD: MN=1, F=2, S=21; RMV BRD: MN=1, F=2, S=22; RMV BRD: MN=1, F=2, S=20; RMV BRD: MN=1, F=2, S=19; RMV BRD: MN=1, F=2, S=18; RMV BRD: MN=1, F=2, S=17; RMV BRD: MN=1, F=5, S=3; RMV BRD: MN=1, F=5, S=2; RMV BRD: MN=1, F=7, S=22; RMV BRD: MN=1, F=7, S=21; RMV BRD: MN=1, F=7, S=20; RMV BRD: MN=1, F=7, S=19; RMV BRD: MN=1, F=7, S=18; RMV BRD: MN=1, F=7, S=17; RMV BRD: MN=1, F=7, S=16; RMV BRD: MN=1, F=7, S=15; RMV BRD: MN=1, F=7, S=14; RMV BRD: MN=1, F=7, S=11; RMV BRD: MN=1, F=7, S=10; RMV BRD: MN=1, F=7, S=9; RMV BRD: MN=1, F=7, S=8; RMV BRD: MN=1, F=7, S=7; RMV BRD: MN=1, F=7, S=6; RMV BRD: MN=1, F=7, S=5; ADD BRD: MN=1, F=2, S=17, BT=LPN7; ADD BRD: MN=1, F=2, S=18, BT=LPN7; ADD BRD: MN=1, F=2, S=19, BT=LPV5; ADD BRD: MN=1, F=2, S=20, BT=MFC; ADD BRD: MN=1, F=5, S=3, BT=ISUP; ADD BRD: MN=1, F=5, S=2, BT=TUP; RMV BRD:mn=1,f=3,s=6; RMV BRD: MN=1, F=2, S=3; RMV BRD: MN=1, F=2, S=4; RMV BRD: MN=1, F=2, S=5; ADD CALLSRC: CSC=0, CSCNAME="万里", PRDN=4,RSSC=0; ADD DNSEG: P=0, BEG=K'822XX00, END=K'822xx99, INDX=0; ADD DNSEG: P=0, BEG=K'6330000, END=K'6339999; INDX=10000; ADD CHGANA: CHA=1, CHO=NOCENACC, PAY=FREE, CHGT=DETAIL; ADD CHGANA: CHA=2, CHO=NOCENACC, PAY=CALLER, CHGT=PLSACC,MID=METER1; ADD CHGANA: CHA=3, CHO=NOCENACC, PAY=CALLER, CHGT=DETAIL; MOD CHGMODE: CHA=1, DAT=NORMAL, TA1=2, PA1=1, TB1=2, PB1=1; MOD CHGMODE: CHA=2, DAT=NORMAL, TA1=3, PA1=2, TB1=3, PB1=1; MOD CHGMODE: CHA=3, DAT=NORMAL, TA1=6, PA1=1, TB1=2, PB1=1; ADD CHGIDX: CHSC=0, RCHS=0, LOAD=ALLSVR, CHA=1; ADD CHGIDX: CHSC=1, RCHS=0, LOAD=ALLSVR, CHA=2; ADD CHGIDX: CHSC=0, RCHS=1, LOAD=ALLSVR, CHA=2; ADD CHGIDX: CHSC=1, RCHS=1, LOAD=ALLSVR, CHA=3; ADD CNACLD: PFX=K'822, MIDL=7, MADL=7, CHSC=0; ADD CNACLD: PFX=K'633, MIDL=7, MADL=7, CHSC=1; ADB ST: SD=K'822xx10, ED=K'822xx70, DS=10, MN=1, RCHS=0, OCR=LCO-1&LC-1&LCT-1&NTT-1&ITT-1&ICTX-1&OCTX-1; ADB ST: SD=K'6331727, ED=K'6331795, DS=61, MN=1, RCHS=1, OCR=LCO-1&LC-1&LCT-1&NTT-1&ITT-1&ICTX-1&OCTX-1; ADDN7DSPPX=3, DPN="七号自环 _DPX_3", NPC="333333", NN=TRUE, APF= FLASE; ADD N7DSP: DPX=2, DPN="七号自环_DPX_2", NPC="222222", NN=TRUE, APF=TRUE; ADD N7DSP: DPX=1, DPN="七号自环_DPX_1", NPC="111111", NN=TRUE, APF=TRUE; ADD N7LKS: LS=2, LSN="七号自环_LS_2", APX=2, LKS=1; ADD N7LKS: LS=1, LSN="七号自环_LS_1", APX=1, LKS=1; ADD N7RT: RN="七号自环_RT_2", LS=2, DPX=2; ADD N7RT: RN="七号自环_RT_1", LS=1, DPX=1; ADD N7LNK: MN=1, LK=4, LKN="七号自环_LK_4", SDF=SDF1, NDF=NDF2, C=16, LS=2, SLC=4, SSLC=5; ADD N7LNK: MN=1, LK=5, LKN="七号自环_LK_5", SDF=SDF1, NDF=NDF2, C=48, LS=2, SLC=5, SSLC=4; ADD N7LNK: MN=1, LK=6, LKN="七号自环_LK_6", SDF=SDF1, NDF=NDF2, C=144, LS=2, SLC=6, SSLC=7; ADD N7LNK: MN=1, LK=7, LKN="七号自环_LK_7", SDF=SDF1, NDF=NDF2, C=176, LS=2, SLC=7, SSLC=6; ADD N7LNK: MN=1, LK=8, LKN="七号自环_LK_7", SDF=SDF1, NDF=NDF2, C=80, LS=1, SLC=7, SSLC=8; ADD N7LNK: MN=1, LK=9, LKN="七号自环_LK_8", SDF=SDF1, NDF=NDF2, C=112, LS=1, SLC=8, SSLC=7; ADD OFC: O=821, DOT=CMPX, DOL=SAME, NI=NAT, DPC="222222", ON="七号自环_O_2", DOA=SPC; ADD OFC: O=823, DOT=CMPX, DOL=SAME, NI=NAT, DPC="111111", ON="七号自环_O_1", DOA=SPC; ADD OFC: O=866, DOT=CMPX, DOL=SAME, NI=NAT, DPC="33333", ON="七号自环_O_3", DOA=SPC; ADD SRT: SR=30, DOM=866, SRT=OFC, SRN="333333局", MN1=1; ADD SRT: SR=20, DOM=821, SRT=OFC, SRN="222222局 ", MN1=1; ADD SRT: SR=10, DOM=823, SRT=OFC, SRN="111111局", MN1=1; ADD RT: R=3, RN="TO333333 ", RT=NRM, SR1=30; ADD RT: R=2, RN="TO222222", RT=NRM, SR1=20; ADD RT: R=1, RN="TO111111", RT=NRM, SR1=10; ADD RTANA: RSC=3, RSSC=0, RUT=ALL, ADI=ALL, CLRIN=ALL, TRAP=ALL, TMX=0, R=3, ISUPSL=NOCHANGE; ADD RTANA: RSC=2, RSSC=0, RUT=ALL, ADI=ALL, CLRIN=ALL, TRAP=ALL, TMX=0, R=2, ISUPSL=NOCHANGE; ADD RTANA: RSC=1, RSSC=0, RUT=ALL, ADI=ALL, CLRIN=ALL, TRAP=ALL, TMX=0, R=1, ISUPSL=NOCHANGE; ADD N7TG: MN=1, TG=130, SRC=30, TGN="七号自环_TG_130", CT=ISUP, CCT=INC, CCV=32; ADD N7TG: MN=1, TG=131, SRC=30, TGN="七号自环_TG_131", CT=ISUP, CCT=DEC, CCV=32; ADD N7TG: MN=1, TG=120, SRC=20, TGN="七号自环_TG_120", CT=TUP, CCT=INC, CCV=32; ADD N7TG: MN=1, TG=121, SRC=20, TGN="七号自环_TG_120", CT=TUP, CCT=DEC, CCV=32; ADD N7TG: MN=1, TG=110, SRC=10, TGN="七号自环_TG_110", CT=ISUP, CCT=INC, CCV=32; ADD N7TG: MN=1, TG=111, SRC=10, TGN="七号自环_TG_111", CT=ISUP, CCT=DEC, CCV=32; ADD N7TKC: TG=130, SC=0, EC=128, SCIC=0, SCF=TRUE; ADD N7TKC: TG=131, SC=32, EC=159, SCIC=32, SCF=FALSE; ADD N7TKC: TG=120, SC=0, EC=31, SCIC=0, SCF=TRUE; ADD N7TKC: TG=121, SC=32, EC=63, SCIC=32, SCF=FALSE; ADD N7TKC: TG=110, SC=64, EC=95, SCIC=0, SCF=TRUE; ADD N7TKC: TG=111, SC=96, EC=127, SCIC=32, SCF=FALSE;
|