Commit 77d00537 authored by pintar's avatar pintar
Browse files

templates for TP_IMS_5048_01, TP_IMS_5052_01 and TP_IMS_5072_02

parent 5569512b
Loading
Loading
Loading
Loading
+82 −0
Original line number Diff line number Diff line
@@ -327,6 +327,54 @@ module AtsImsIot_Templates {
      }
    }

	/**
	  * 
	  * @desc INVITE Request checking TP_IMS_5048_01
	  */
	template INVITE_Request mdw_TP_IMS_5048_01_mw (template SipUrl p_pcscfEutAUri)
	 modifies mw_INVITE_Request_Base := {
	  msgHeader := {
		route := {
			fieldName := ROUTE_E,
			routeBody := {
    			*, 
    			complement(mw_routeBody(p_pcscfEutAUri)),
    			*
			}
		},
		via := {
			fieldName := VIA_E,
			viaBody := ? // superset(mw_ViaBody_interface(p_pcscfEutAUri.hostPort)) // to be checked outside template
		},
		recordRoute := {
			fieldName := RECORD_ROUTE_E,
			routeBody := {mw_routeBody(p_pcscfEutAUri), *}       		
		}
	  }
	}
    
	/**
	  * 
	  * @desc BYE Request checking TP_IMS_5052_01 on MW
	  */
	template BYE_Request mdw_TP_IMS_5052_01_mw(template CallId p_callId, template SipUrl p_pcscfEutAUri, template RouteBody_List p_routeBody)
	 modifies mw_BYE_Request_Base := {
	  msgHeader := {
		route := {
			fieldName := ROUTE_E,
			routeBody := {
				*, 
				complement(mw_routeBody(p_pcscfEutAUri)),
				*
			}
		},
		recordRoute := {
			fieldName := RECORD_ROUTE_E,
			routeBody := p_routeBody       		
		}
	  }
	}
    
	/**
	  * 
	  * @desc 180 Ringing Response checking TP_IMS_5055_01 on MW
@@ -373,6 +421,40 @@ module AtsImsIot_Templates {
    	}
	}
    
     /**
       * 
       * @desc CANCEL Request checking TP_IMS_572_02 on gm
       */
     template CANCEL_Request mdw_TP_IMS_5072_02_gm (template CallId p_callId) 
      modifies mw_CANCEL_Request_Base := {
       msgHeader := {
		reason := {
			fieldName := REASON_E,
			reasonValues := {
				{
					token := "503 Service Unavailable",
					reasonParams := *
				},
				*
			}
		}
      }
     }

	/**
	  * 
	  * @desc INVITE Request checking TP_IMS_5080_01 on MW
	  */
	template INVITE_Request mdw_TP_IMS_5080_01_mw 
	 modifies mw_INVITE_Request_Base := {
	  msgHeader := {
		pChargingVector :=  mw_PChargingVector({
			{id := "access-network-charging-info", paramValue := ?}, //note access-network-charging-info should be updated
			*
		})
	  }
	}
    
	/**
	  * 
	  * @desc 200 OK Response checking TP_IMS_5082_01 on MW