init ems server code
This commit is contained in:
151
plat/isdn/ut/code/nt-2link-01.Text
Normal file
151
plat/isdn/ut/code/nt-2link-01.Text
Normal file
@@ -0,0 +1,151 @@
|
||||
Test 0
|
||||
3 SCTP.SET <> "remote_ip=172.18.99.1";
|
||||
3 SCTP.SET <> "remote_port=0";
|
||||
3 SCTP.SET <> "local_port=9900";
|
||||
3 SCTP.SET <> "STREAM_ID=0";
|
||||
3 SCTP.SET <> "server";
|
||||
1000 SCTP.SET <> "wait_connect";
|
||||
|
||||
200 SCTP.RECV <asp up>
|
||||
01 00 03 01 00 00 00 10
|
||||
00 11 00 08 ?? ?? ?? ??;
|
||||
10 SCTP.SEND <asp up ack>
|
||||
01 00 03 04 00 00 00 08;
|
||||
10 SCTP.SEND <Notify>
|
||||
01 00 00 01 00 00 00 10
|
||||
00 0D 00 08 00 01 00 02;
|
||||
3 SCTP.SET <> "STREAM_ID=1";
|
||||
1000 SCTP.RECV <asp active>
|
||||
01 00 04 01 00 00 00 20
|
||||
00 0B 00 08 00 00 00 01
|
||||
00 01 00 08 00 00 00 00 //interface id
|
||||
00 01 00 08 00 00 00 01; //interface id
|
||||
10 SCTP.SEND <asp active ack>
|
||||
01 00 04 03 00 00 00 10
|
||||
00 0B 00 08 00 00 00 01;
|
||||
|
||||
10 SCTP.SEND <Notify>
|
||||
01 00 00 01 00 00 00 10
|
||||
00 0D 00 08 00 01 00 03;
|
||||
1000 SCTP.RECV <Establish-0>
|
||||
01 00 05 05 00 00 00 18
|
||||
00 01 00 08 00 00 00 00 //interface id
|
||||
00 05 00 08 00 00 00 00;
|
||||
1000 SCTP.RECV <Establish-1>
|
||||
01 00 05 05 00 00 00 18
|
||||
00 01 00 08 00 00 00 01 //interface id
|
||||
00 05 00 08 00 00 00 00;
|
||||
10 SCTP.SEND <Establish cnf-0>
|
||||
01 00 05 06 00 00 00 18
|
||||
00 01 00 08 00 00 00 00 //interface id
|
||||
00 05 00 08 00 00 00 00;
|
||||
10 SCTP.SEND <Establish cnf-1>
|
||||
01 00 05 06 00 00 00 18
|
||||
00 01 00 08 00 00 00 01 //interface id
|
||||
00 05 00 08 00 00 00 00;
|
||||
|
||||
test 1
|
||||
|
||||
10000 SCTP.RECV <Data-Service>
|
||||
01 00 05 01 00 00 00 2C
|
||||
00 01 00 08 00 00 00 00
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 12
|
||||
03 02 00 00 0F 01 01 C0
|
||||
18 04 E9 80 83 90 00 00;
|
||||
10 SCTP.SEND <Data-Service Ack>
|
||||
01 00 05 02 00 00 00 2C
|
||||
00 01 00 08 00 00 00 00
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 12
|
||||
03 02 80 00 07 01 01 C0
|
||||
18 04 E9 80 83 90 00 00;
|
||||
|
||||
test 2
|
||||
|
||||
20 SCTP.SEND <Data-setup>
|
||||
01 00 05 02 00 00 00 40
|
||||
00 01 00 08 00 00 00 00
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 26
|
||||
08 02 00 01 05 a1 04 03
|
||||
80 90 a3 18 04 E1 82 83 01
|
||||
6c 07 00 80 35 31 30 30
|
||||
31 70 06 81 35 32 30 30
|
||||
31 00 00;
|
||||
|
||||
10000 SCTP.RECV <Data-call proc>
|
||||
01 00 05 01 00 00 00 28
|
||||
00 01 00 08 00 00 00 00
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 0F
|
||||
08 02 80 01 02 18 04 E9 82
|
||||
83 81 00;
|
||||
|
||||
10000 SCTP.RECV <Data-alert>
|
||||
01 00 05 01 00 00 00 ??
|
||||
00 01 00 08 00 00 00 00
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 ??
|
||||
08 02 80 01 01 18 04 E9 82
|
||||
83 81 1E 02 83 88 ??;
|
||||
|
||||
10000 SCTP.RECV <Data-conn>
|
||||
01 00 05 01 00 00 00 ??
|
||||
00 01 00 08 00 00 00 00
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 ??
|
||||
08 02 80 01 07 ?? ?? ??;
|
||||
|
||||
20 SCTP.SEND <Data-conn ack>
|
||||
01 00 05 02 00 00 00 24
|
||||
00 01 00 08 00 00 00 00
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 09
|
||||
08 02 00 01 0F 00 00 00;
|
||||
|
||||
test 3 <disable link 0>
|
||||
|
||||
10 SCTP.SEND <Release ind link 0>
|
||||
01 00 05 0a 00 00 00 20
|
||||
00 01 00 08 00 00 00 00 //interface id
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0F 00 08 00 00 00 00;
|
||||
|
||||
1000 SCTP.RECV <Establish-0>
|
||||
01 00 05 05 00 00 00 18
|
||||
00 01 00 08 00 00 00 00 //interface id
|
||||
00 05 00 08 00 00 00 00;
|
||||
10 SCTP.SEND <Establish cnf-0>
|
||||
01 00 05 06 00 00 00 18
|
||||
00 01 00 08 00 00 00 00 //interface id
|
||||
00 05 00 08 00 00 00 00;
|
||||
|
||||
test 4 <continue rel call>
|
||||
|
||||
30 SCTP.SEND <Data-disconn>
|
||||
01 00 05 02 00 00 00 28
|
||||
00 01 00 08 00 00 00 01 //interface id
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 0D
|
||||
08 02 00 01 45 08 02 83
|
||||
90 00 00 00;
|
||||
|
||||
10000 SCTP.RECV <Data-rel>
|
||||
01 00 05 01 00 00 00 ??
|
||||
00 01 00 08 00 00 00 01 //interface id
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 ??
|
||||
08 02 80 01 4D 08 02 83
|
||||
90 ?? ?? ??;
|
||||
|
||||
10 SCTP.SEND <Data-rel comp>
|
||||
01 00 05 02 00 00 00 28
|
||||
00 01 00 08 00 00 00 01 //interface id
|
||||
00 05 00 08 00 00 00 00
|
||||
00 0E 00 0D
|
||||
08 02 00 01 5A 08 02 83
|
||||
90 00 00 00;
|
||||
|
||||
10000 SCTP.RECV <Data-??>
|
||||
??;
|
||||
Reference in New Issue
Block a user