Loading ttcn/LibIms_Steps.ttcn +27 −1 Original line number Diff line number Diff line Loading @@ -838,6 +838,9 @@ module LibIms_Steps function f_SIP_postamble_IMS1_withoutRegistration () runs on ImsComponent {f_terminate_component()}; function f_IMS_postamble_withoutDeRegistration () runs on ImsComponent {f_terminate_component()}; function f_SIP_postamble_IMS1_awaitDeRegistration () runs on ImsComponent { //Awaiting 1st REGISTER Loading @@ -861,6 +864,29 @@ module LibIms_Steps f_terminate_component() }; function f_IMS_postamble_awaitDeRegistration () runs on ImsComponent { //Awaiting 1st REGISTER f_awaitingREGISTER(mw_REGISTER_unauthorizedRequest_IMS); // 401 response f_sendResponse(m_Response_WWWauthenticate_IMS(c_statusLine401, vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via, m_wwwAuthenticate(f_calculatecChallenge_forWWWAuthorization (PX_IMS_SUT_UE1_QOP,vc_authorization.body[0].digestResponse))) ); //Awaiting 2nd REGISTER with authorization header f_awaitingREGISTER(mw_REGISTER_authorizedRequest_IMS(m_Authorization_digest(mw_digestResponse(c_Integrity_protected_yes)))); // 200OK to complete the request vc_contact := vc_request.msgHeader.contact; vc_contact.contactBody.contactAddresses[0].contactParams := {{"expires",int2str(3600)}}; f_sendResponse(m_Response_2xxonREGISTER_IMS(c_statusLine200,vc_callId, vc_cSeq,vc_callee_From, vc_callee_To, vc_via,vc_contact,f_initSipUrl(c_userProfile_SCSCFwithHomeUE))); f_terminate_component() }; function f_SIP_postamble_UE1_withoutRegistration () runs on ImsComponent {f_terminate_component()}; Loading Loading
ttcn/LibIms_Steps.ttcn +27 −1 Original line number Diff line number Diff line Loading @@ -838,6 +838,9 @@ module LibIms_Steps function f_SIP_postamble_IMS1_withoutRegistration () runs on ImsComponent {f_terminate_component()}; function f_IMS_postamble_withoutDeRegistration () runs on ImsComponent {f_terminate_component()}; function f_SIP_postamble_IMS1_awaitDeRegistration () runs on ImsComponent { //Awaiting 1st REGISTER Loading @@ -861,6 +864,29 @@ module LibIms_Steps f_terminate_component() }; function f_IMS_postamble_awaitDeRegistration () runs on ImsComponent { //Awaiting 1st REGISTER f_awaitingREGISTER(mw_REGISTER_unauthorizedRequest_IMS); // 401 response f_sendResponse(m_Response_WWWauthenticate_IMS(c_statusLine401, vc_callId, vc_cSeq,vc_caller_From, vc_caller_To, vc_via, m_wwwAuthenticate(f_calculatecChallenge_forWWWAuthorization (PX_IMS_SUT_UE1_QOP,vc_authorization.body[0].digestResponse))) ); //Awaiting 2nd REGISTER with authorization header f_awaitingREGISTER(mw_REGISTER_authorizedRequest_IMS(m_Authorization_digest(mw_digestResponse(c_Integrity_protected_yes)))); // 200OK to complete the request vc_contact := vc_request.msgHeader.contact; vc_contact.contactBody.contactAddresses[0].contactParams := {{"expires",int2str(3600)}}; f_sendResponse(m_Response_2xxonREGISTER_IMS(c_statusLine200,vc_callId, vc_cSeq,vc_callee_From, vc_callee_To, vc_via,vc_contact,f_initSipUrl(c_userProfile_SCSCFwithHomeUE))); f_terminate_component() }; function f_SIP_postamble_UE1_withoutRegistration () runs on ImsComponent {f_terminate_component()}; Loading