Loading AtsImsIot/AtsImsIot_Templates.ttcn +113 −10 Original line number Diff line number Diff line Loading @@ -393,6 +393,88 @@ module AtsImsIot_Templates { } } template MESSAGE_Request mdw_TP_IMS_5097_05_mw( template SipUrl p_SCSCF_SIP_URI ) modifies mw_MESSAGE_Request_Base := { msgHeader := { route := { fieldName := ROUTE_E, routeBody := { *, complement(mw_routeBody(p_SCSCF_SIP_URI)), * } }, 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 := ?}), * } }, pAccessNetworkInfo := omit } } template Request mdw_TP_IMS_5097_07_mw( template SipUrl p_SIP_URI, template SipUrl p_TEL_URI ) modifies mw_MESSAGE_Request_Base := { msgHeader := { pAssertedId := { fieldName := P_ASSERTED_ID_E, nameAddrs := { *, mw_NameAddr(p_SIP_URI), *, mw_NameAddr(p_TEL_URI), * } } } } template Response mw_TP_IMS_5117_02_mw modifies mdw_2XX_Base := { msgHeader := { pChargingVector := { fieldName := P_CHARGING_VECTOR_E, chargeParams := { *, complement({id := "access-network-charging-info", paramValue := ?}), * } } } } template Response mw_TP_IMS_5118_02_mw modifies mw_200OK_Base := { msgHeader := { pChargingVector := { fieldName := P_CHARGING_VECTOR_E, chargeParams := { *, {id := "orig-ioi", paramValue := ?}, *, {id := "term-ioi", paramValue := ?}, * } } } } template Response mdw_2XX_Base modifies m_Response_Dummy := { statusLine := {c_sipNameVersion, (200..299), *}, msgHeader := ?, messageBody := omit, payload := omit } template Response mw_180Ringing_Base modifies m_Response_Dummy := { Loading Loading @@ -584,6 +666,27 @@ module AtsImsIot_Templates { otherResponse := {authScheme := ?, authParams := { {"integrity-protected", "no"},*} // TODO }} template NameAddr mw_NameAddr(template SipUrl p_URI) := { displayName := *, addrSpec := p_URI } template SipUrl mw_SIP_URI := { scheme := "sip", // meaning "not tel" userInfo := ?, hostPort := ?, urlParameters := *, headers := * } template SipUrl mw_TEL_URI := { scheme := "tel", userInfo := ?, hostPort := *, urlParameters := *, headers := * } } //end group group config { Loading Loading
AtsImsIot/AtsImsIot_Templates.ttcn +113 −10 Original line number Diff line number Diff line Loading @@ -393,6 +393,88 @@ module AtsImsIot_Templates { } } template MESSAGE_Request mdw_TP_IMS_5097_05_mw( template SipUrl p_SCSCF_SIP_URI ) modifies mw_MESSAGE_Request_Base := { msgHeader := { route := { fieldName := ROUTE_E, routeBody := { *, complement(mw_routeBody(p_SCSCF_SIP_URI)), * } }, 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 := ?}), * } }, pAccessNetworkInfo := omit } } template Request mdw_TP_IMS_5097_07_mw( template SipUrl p_SIP_URI, template SipUrl p_TEL_URI ) modifies mw_MESSAGE_Request_Base := { msgHeader := { pAssertedId := { fieldName := P_ASSERTED_ID_E, nameAddrs := { *, mw_NameAddr(p_SIP_URI), *, mw_NameAddr(p_TEL_URI), * } } } } template Response mw_TP_IMS_5117_02_mw modifies mdw_2XX_Base := { msgHeader := { pChargingVector := { fieldName := P_CHARGING_VECTOR_E, chargeParams := { *, complement({id := "access-network-charging-info", paramValue := ?}), * } } } } template Response mw_TP_IMS_5118_02_mw modifies mw_200OK_Base := { msgHeader := { pChargingVector := { fieldName := P_CHARGING_VECTOR_E, chargeParams := { *, {id := "orig-ioi", paramValue := ?}, *, {id := "term-ioi", paramValue := ?}, * } } } } template Response mdw_2XX_Base modifies m_Response_Dummy := { statusLine := {c_sipNameVersion, (200..299), *}, msgHeader := ?, messageBody := omit, payload := omit } template Response mw_180Ringing_Base modifies m_Response_Dummy := { Loading Loading @@ -584,6 +666,27 @@ module AtsImsIot_Templates { otherResponse := {authScheme := ?, authParams := { {"integrity-protected", "no"},*} // TODO }} template NameAddr mw_NameAddr(template SipUrl p_URI) := { displayName := *, addrSpec := p_URI } template SipUrl mw_SIP_URI := { scheme := "sip", // meaning "not tel" userInfo := ?, hostPort := ?, urlParameters := *, headers := * } template SipUrl mw_TEL_URI := { scheme := "tel", userInfo := ?, hostPort := *, urlParameters := *, headers := * } } //end group group config { Loading