diff --git a/ttcn/LibIms_Steps.ttcn b/ttcn/LibIms_Steps.ttcn index 39b938c643a66274e3d0f7e07871bbcd24753864..1184362943bf2e1304f208c81b40f03267d2039b 100644 --- a/ttcn/LibIms_Steps.ttcn +++ b/ttcn/LibIms_Steps.ttcn @@ -930,7 +930,7 @@ module LibIms_Steps scheme := c_urnScheme, // contains "urn" components := { urn:= { namespaceId := "service", - namespaceSpecificString := "sos"}}, + namespaceSpecificString := PX_IMS_SUT_EMERGENCY_SERVICE_namespaceSpecificString}}, urlParameters := omit, headers := omit}; @@ -1333,7 +1333,9 @@ module LibIms_Steps //Preamble f_init_userprofile(p_userprofile); // assignment of PIXIT values to component variable vc_sdp_local := valueof(m_SDP_bandwidth(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile)); + vc_contact := valueof(m_Contact(m_SipUrl_contactIpaddr(vc_userprofile))); + } /* @@ -1361,6 +1363,27 @@ module LibIms_Steps } + /* + * + * @desc Sets variables and default initialization for user profile and handle registration and authentication with MD5 + * @param p_userprofile user profile of call + * @param p_cSeq_s cseq parameter + * @param p_register register template + */ + function f_IMS_preamble_withEmergencyRegistration (in integer p_userprofile, in integer p_interface, inout CSeq p_cSeq_s, template REGISTER_Request p_register) runs on ImsComponent + { + + f_init_interfaceprofile(p_interface); + //Variables & defaults initialization + f_IMS_preamble_woRegistration(p_userprofile, p_cSeq_s); + //Preamble + f_Registration(p_cSeq_s, p_register, PX_SIP_REGISTER_AUTHENTICATION_ENABLED, true); + + // deregistration in case of successful registration + vc_DeregDone := false; + + } + /* * * @desc Sets variables and default initialization for user profile and handle registration and authentication with MD5