#include "headfile.txt"

test 1 udp<UDP>
UDP.Set remote_port=MSG_PORT
UDP.Set local_port=MSG_PORT
UDP.Set remote_ip=MSC_IP 

0 send <IUA_QPTM_MSG  Disable>
A5 01 03 00 06 00
10 send <IUA_QPTM_MSG  Enable>
A5 01 03 00 07 00

test 2<sctp>
SCTP.SET REMOTE_IP=MSC_IP 
SCTP.SET REMOTE_PORT=IUA_PORT
SCTP.SET LOCAL_PORT=IUA_CPORT
SCTP.SET STREAM_ID=0
5 SCTP.SET CLIENT
50 SCTP.SEND  <asp up>
01 00 03 01 00 00 00 10 00 11 00 08 AC 36 F0 A0 //ip
1000 SCTP.RECV <asp up ack>
01 00 03 04 00 00 00 08 
1000 SCTP.RECV <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 02 
0 SCTP.SEND  <asp active>
01 00 04 01 00 00 00 10 00 0B 00 08 00 00 00 01 
1000 SCTP.RECV <asp active ack>
01 00 04 03 00 00 00 10 00 0B 00 08 00 00 00 01 
1000 SCTP.RECV <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 03
0 SCTP.SEND  <Establish>
01 00 05 05 00 00 00 18 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 
1000 SCTP.RECV <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 
1 SCTP.SEND <version error>
02 00 05 08 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00 
1000 SCTP.RECV <error cnf>
01 00 00 00 00 00 00 10 00 0C 00 08 00 00 00 01 
1 SCTP.SEND <class error>
01 00 99 08 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00 
1000 SCTP.RECV <error cnf>
01 00 00 00 00 00 00 10 00 0C 00 08 00 00 00 03 
1 SCTP.SEND <type error>
01 00 05 99 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00 
1000 SCTP.RECV <error cnf>
01 00 00 00 00 00 00 10 00 0C 00 08 00 00 00 04 


0 SCTP.SEND <Data>
01 00 05 01 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0E 00 07 FF 01 F1 00
1000 SCTP.RECV <Data Indication>
??

0 SCTP.SEND <Data>
01 00 05 01 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0E 00 07 FF 01 F0 00 
 1000 SCTP.RECV <Data Indication>
??

1 SCTP.SEND <rel>
01 00 05 08 00 00 00 20 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 00 0F 00 08 00 00 00 00 
1000 SCTP.RECV <rel cnf>
01 00 05 09 00 00 00 18 00 01 00 08 00 00 00 00 00 05 00 08 00 00 00 00 


1 SCTP.SEND <Inactive>
01 00 04 02 00 00 00 10
1000 SCTP.RECV <Inactive ack>
01 00 04 04 00 00 00 08 
1000 SCTP.RECV <Notify>
01 00 00 01 00 00 00 10 00 0D 00 08 00 01 00 04 

1 SCTP.SEND <Down>
01 00 03 02 00 00 00 10
1000 SCTP.RECV <Down ack>
01 00 03 05 00 00 00 08 


test 3<sctp>
100 SCTP.SET ABORT

