Files
svc.ems/plat/isdn/ut/code/iua set up.txt
2024-09-27 15:39:34 +08:00

42 lines
1.1 KiB
Plaintext

#include "headfile.txt"
test 1 sctp<iua set up>
SCTP.Set remote_ip=RE_IP;
SCTP.Set local_port=LO_PORT;
SCTP.Set STREAM_ID=2
10000 SCTP.RECEIVE <asp up>
01 00 03 01 00 00 00 10 //common message header(version,spare,message class,message type,message length)
00 11 00 08 ?? ?? ?? ??; //iua message(tag,length,content)
0 SCTP.Send <asp up ack>
01 00 03 04 00 00 00 08; //common message header
1 SCTP.Send <notify>
01 00 00 01 00 00 00 10 //common message header
00 0D 00 08 00 01 00 02; //iua message
1000 SCTP.Recv <asp active>
01 00 04 01 00 00 00 18
00 0B 00 08 00 00 00 01
00 01 00 08 00 00 00 00; //??
0 SCTP.Send <asp active ack>
01 00 04 03 00 00 00 10
00 0B 00 08 00 00 00 01;
0 SCTP.Send <notify>
01 00 00 01 00 00 00 10
00 0D 00 08 00 01 00 03;
1000 SCTP.Recv <establish req>
01 00 05 05 00 00 00 18 //common message header(version,spare,message class,message type,message length)
00 01 00 08 00 00 00 00 //iua message header(tag,length,interface id)
00 05 00 08 00 00 00 00; //iua message header(tag,length,DLCI)
0 SCTP.Send <establish cnf>
01 00 05 06 00 00 00 18
00 01 00 08 00 00 00 00
00 05 00 08 00 00 00 00;