Commit 8359ed93 authored by pintar's avatar pintar
Browse files

First version of STF346 structure

parent 3fe941f8
Loading
Loading
Loading
Loading
+196 −0
Original line number Diff line number Diff line
/*
 *	@author 	STF 366
 *  @version    $Id$
 *	@desc		This module provides the TC functions used by the test component 
 *              for SIP side of the SUT. 
 */
module SipIsup_SIP_TCFunctions {
	//LibCommon
	import from LibCommon_Sync all;
	import from LibCommon_VerdictControl all;
	import from LibCommon_AbstractData all;
	//LibSip
	import from LibSip_SIPTypesAndValues all;
	import from LibSip_SDPTypes all;
	import from LibSip_Templates all;
	import from LibSip_Steps all;
	import from LibSip_Interface all;
	import from LibSip_PIXITS all;
	//LibIms
	import from LibIms_Templates all;
	import from LibIms_Steps all;	
	import from LibIms_SIPTypesAndValues all;
	import from LibIms_Interface all;
	//IsupAts
	import from SipIsup_ISUP_ModuleParams all; // for timer values e.g. PX: T7, T9

    //Type to adress the IUT to send it message
    //type Address address;
    type record address
    {
      //HostPort
      charstring 	        host optional,        // hostname, IPv4 or IPv6
      integer             portField optional    // represented as an integer
    }with { encode "SIPCodec" }


	/* 
	*  @desc The group structure is according to the TSS:
	*        
	*/
	group BasicCall {
		group TP1_InterworkingFromSIPtoISUP {
			group TP101_Sending_IAM {
			} // end group TP101_SendingIAM

			group TP102_Sending_SAM {
			} // end group TP102_Sending_SAM
			
			group TP103_Sending_COT {
			} // end group TP103_Receiving_COT
			
			group TP104_Receiving_ACM {
			} // end group TP104_Receiving_ACM
			
			group TP105_Receiving_CPG {
			} // end group TP105_Receiving_CPG
			
			group TP106_Receiving_ANM {
			} // end group TP106_Receiving_ANM
			
			group TP107_Receiving_CON {
			} // end group TP107_Receiving_CON
			
			group TP108_Receipt_REL {
			} // end group TP108_ReceiptREL
			
			group TP1081_AutonomousRelease {
			} // end group TP1081_AutonomousRelease
			
			group TP109_Receiving_BYE_CANCEL_REL {
			} // end group TP109_Receiving_BYE_CANCEL_REL
			
			group TP110_Receiving_RSC_GRS_CGB {
			} // end group TP110_Receiving_RSC_GRS_CGB
			
			group TP111_Receiving_SUS {
			} // end group TP111_Receiving_SUS
			
			group TP112_Receiving_RES {
			} // end group TP112_Receiving_RES
									
		} // end group TP1_InterworkingFromSIPtoISUP
		group TP3_InterworkingFromISUPtoSIP {
			group TP301_Sending_INVITE {
			} // end group TP301_SendingINVITE
		
			group TP302_Receiving_SAM {
			} // end group TP302_ReceiptSAM

			group TP303_Sending_ACM {
			} // end group TP303_Sending_ACM
			
			group TP304_Sending_CPG {
			} // end group TP304_Sending_CPG
			
			group TP305_Sending_ANM{
			} // end group TP305_Sending_ANM
			
			group TP306_Sending_CON {
			} // end group TP306_Sending_CON
		
			group TP307_Receiving_REL {
			} // end group TP307_ReceiptREL
		
			group TP308_Sending_REL {
			} // end group TP308_Sending_REL
	
			group TP309_Receiving_RSC_GRS_CGB {
			} // end group TP309_Receiving_RSC_GRS_CGB
		} // end group TP3_InterworkingFromISUPtoSIP
	} // end group BasicCall
	
	group SupplementaryServices {
		group TP5_InterworkingFromSIPtoISUP {
			group TP501_CLI {									
			} // end group TP501_CLI
			
			group TP502_HOLD {
			} // end group TP502_HOLD
			
			group TP503_TP {
			} // end group TP503_TP
		
			group TP504_CONF {
			} // end group TP504_CONF
			
			group TP505_3PTY {
			} // end group TP505_3PTY
			
			group TP506_COL {
			} // end group TP506_COL

			group TP507_MCID {
			} // end group TP507_MCID
			
			group TP508_SUB {
			} // end group TP508_SUB
			
			group TP509_CDIV {
			} // end group TP509_CDIV
		
			group TP510_CW {
			} // end group TP510_CW
			
			group TP511_UUS {
			} // end group TP511_UUS
			
			group TP512_ECT {
			} // end group TP512_ECT
		
			group TP513_CCBS {
			} // end group TP513_CCBS
			
			group TP514_CCNR {
			} // end group TP514_CCNR
			
			group TP515_ACR {
			} //end group TP515_ACR
		} // end group TP5_InterworkingFromSIPtoISUP
		group TP6_InterworkingFromISUPtoSIP {
	
			group TP601_CLI {
			} // end group TP601_CLI
			
			group TP602_HOLD {
			} // end group TP602_HOLD
			
			group TP603_TP {
			} // end group TP603_TP
		
			group TP604_CONF {
			} // end group TP604_CONF
			
			group TP605_3PTY {
			} // end group TP605_3PTY
			
			group TP606_COL {
			} // end group TP606_COL

			group TP607_SUB {		
			} // end group TP607_SUB
			
			group TP608_CUG {		
			} // end group TP608_CUG
		
			group TP609_CDIV {		
			} // end group TP609_CDIV
			
			group TP610_UUS {
			} // end group TP610_UUS
			
			group TP611_ECT {		
			} // end group TP611_ECT
		} // end group InterworkingFromISUPtoSIP
	} // end group SupplementaryServices	
} // end module SipIsup_SIP_TCFunctions