Commit e4b1964e authored by pintar's avatar pintar
Browse files

review of templates for TC_IMS_CALL_0001F

parent c59b3e50
Loading
Loading
Loading
Loading
+108 −20
Original line number Diff line number Diff line
@@ -263,35 +263,102 @@ module AtsImsIot_Templates {
   /**
     * @desc INVITE Request checking TP_IMS_5097_01
     */
    template INVITE_Request mdw_TP_IMS_5097_01_mw (template SipUrl p_scscfEutAUri)
    template INVITE_Request mdw_TP_IMS_5097_01_mw (template SipUrl p_SCSCF_SIP_URI)
     modifies mw_INVITE_Request_Base := {
      msgHeader := {
      	via := {
  			fieldName := VIA_E,
  			viaBody := ? // superset(mw_ViaBody_interface(p_pcscfEutAUri.hostPort)) // to be checked outside template
		route := {
			fieldName := ROUTE_E,
			routeBody := {
				*, 
				complement(mw_routeBody(p_SCSCF_SIP_URI)),
				*
			}
		},
      	recordRoute := {
    		fieldName := RECORD_ROUTE_E,
    		routeBody := {mw_routeBody(p_scscfEutAUri), *}       		
    		routeBody := {mw_routeBody(p_SCSCF_SIP_URI), *}       		
      	},        
		pPreferredID := omit,
		pAssertedID := mw_PAssertedID(mw_PAssertedIDValue(p_scscfEutAUri)),
        pChargingVector :=  mw_PChargingVector({ // checks outisde template not term-ioi, not access-info
			{id := "icid-value", paramValue := *}, 
            {id := "orig-ioi", paramValue := *}, 
		pChargingVector := {
			fieldName := P_CHARGING_VECTOR_E,
			chargeParams := {
				*,
				{id := "icid-value", paramValue := ?},
				*,
				{id := "orig-ioi", paramValue := ?},
				*,
				complement({id := "term-ioi", paramValue := ?}),
				*,
				complement({id := "access-network-charging-info", paramValue := ?}),
				*
          })
			}
		}
      }
    }
    
	/**
	  * @desc INVITE Request checking TP_IMS_5097_02
	  */
	template INVITE_Request mdw_TP_IMS_5097_02_mw (
		template SipUrl p_SIP_URI,
		template SipUrl p_TEL_URI)
	 modifies mw_INVITE_Request_Base := {
	  msgHeader := {
		pAssertedID := {
			fieldName := P_ASSERTED_ID_E,
			pAssertedIDValueList := {
				*, 
				{ nameAddr := mw_NameAddr(p_SIP_URI)}, 
				*, 
				{nameAddr := mw_NameAddr(p_TEL_URI)},
				*
			}
		}			        
	  }
	 }
    
	/**
	  * 
	  * @desc 180 Ringing Response checking TP_IMS_5115_01 and TP_IMS_5131_01 on MW
	  * @desc BYE Request checking TP_IMS_5107_01 on MW
	  */
	template Response mdw_TP_IMS_5115_01_5131_01_mw 
	template Request mdw_TP_IMS_5107_01_mw(template CallId p_callId, template SipUrl p_SCSCF_SIP_URI)
	 modifies mw_BYE_Request_Base := {
	  msgHeader := {
		route := {
			fieldName := ROUTE_E,
			routeBody := {
				*, 
				complement(mw_routeBody(p_SCSCF_SIP_URI)),
				*
			}
		}
	  }
	}
    
	/**
	  * 
	  * @desc ACK Request checking TP_IMS_5107_02 on MW
	  */
	template Request mdw_TP_IMS_5107_02_mw(template CallId p_callId, template SipUrl p_SCSCF_SIP_URI)
	 modifies mw_ACK_Request_Base := {
	  msgHeader := {
		route := {
			fieldName := ROUTE_E,
			routeBody := {
				*, 
				complement(mw_routeBody(p_SCSCF_SIP_URI)),
				*
			}
		}
	  }
	}
    
	/**
	  * 
	  * @desc 180 Ringing Response checking TP_IMS_5115_01 on MW
	  */
	template Response mdw_TP_IMS_5115_01_mw 
	 modifies mw_180Ringing_Base := {
	  msgHeader := {
		pChargingFunctionAddresses := omit,
		pChargingVector :=  mw_PChargingVector({ 
    		{id := "orig-ioi", paramValue := ?}, 
    		{id := "term-ioi", paramValue := ?}, 
@@ -302,12 +369,11 @@ module AtsImsIot_Templates {
    
	/**
	  * 
	  * @desc 200 OK Response checking TP_IMS_5115_02 and TP_IMS_5131_02 on MW
	  * @desc 200 OK Response checking TP_IMS_5115_02 on MW
	  */
	template Response mdw_TP_IMS_5115_02_5131_02_mw 
	template Response mdw_TP_IMS_5115_02_mw 
	 modifies mw_200OK_Base := {
	  msgHeader := {
		pChargingFunctionAddresses := omit,
		pChargingVector :=  mw_PChargingVector({ 
			{id := "orig-ioi", paramValue := ?}, 
			{id := "term-ioi", paramValue := ?}, 
@@ -316,6 +382,28 @@ module AtsImsIot_Templates {
	  }
	}
    
	/**
	  * 
	  * @desc 180 Ringing Response checking TP_IMS_5131_01 on MW
	  */
	template Response mdw_TP_IMS_5131_01_mw 
	 modifies mw_180Ringing_Base := {
	  msgHeader := {
		pChargingFunctionAddresses := omit
	  }
	}
    
	/**
	  * 
	  * @desc 200 OK Response checking TP_IMS_5131_02 on MW
	  */
	template Response mdw_TP_IMS_5131_02_mw 
	 modifies mw_200OK_Base := {
	  msgHeader := {
		pChargingFunctionAddresses := omit
	  }
	}

   /**
     * 
     * @desc INVITE Request checking TP_IMS_5310_01 on MW