Loading ttcn/LibIms_Steps.ttcn +21 −15 Original line number Diff line number Diff line Loading @@ -211,10 +211,11 @@ module LibIms_Steps { */ function f_setHeadersINVITE( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header if (vc_boo_route) { vc_route := m_route_interface(vc_interfaceprofile); Loading @@ -233,10 +234,11 @@ module LibIms_Steps { */ function f_setHeadersUPDATE( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header if (vc_boo_route) { vc_route := m_route_interface(vc_interfaceprofile); Loading @@ -255,10 +257,11 @@ module LibIms_Steps { */ function f_setHeadersMESSAGE( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header LibSip_Steps.f_setHeadersMESSAGE(p_cSeq_s); } // end f_setHeadersMESSAGE Loading @@ -270,7 +273,8 @@ module LibIms_Steps { */ function f_setHeadersNOTIFY( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { LibSip_Steps.f_setHeadersNOTIFY(p_cSeq_s); Loading @@ -281,7 +285,7 @@ module LibIms_Steps { }; vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header // contact header initialization for sending of NOTIFY from CSCF component vc_contact := m_Contact(m_SipUrl_currIpaddr_CSCF(vc_userprofile)); Loading @@ -294,7 +298,8 @@ module LibIms_Steps { */ function f_setHeadersPUBLISH( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { LibSip_Steps.f_setHeadersPUBLISH(p_cSeq_s); Loading @@ -305,7 +310,7 @@ module LibIms_Steps { }; vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header if (vc_boo_route) { vc_route := m_route_interface(vc_interfaceprofile); Loading @@ -325,7 +330,8 @@ module LibIms_Steps { */ function f_setHeadersSUBSCRIBE( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { vc_to := { fieldName := TO_E, Loading @@ -337,7 +343,7 @@ module LibIms_Steps { }, // end addressField toParams := omit }; vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header LibSip_Steps.f_setHeadersSUBSCRIBE(p_cSeq_s); } // end f_setHeadersSUBSCRIBE Loading Loading @@ -1303,7 +1309,7 @@ module LibIms_Steps { var Request v_request; var SUBSCRIBE_Request v_subscribe_request; var REGISTER_Request v_register_request; var BYE_Request v_bye_reqest; var BYE_Request v_bye_request; var CANCEL_Request v_cancel_request; var NOTIFY_Request v_notify_request; var INFO_Request v_info_request; Loading Loading @@ -1381,10 +1387,10 @@ module LibIms_Steps { repeat; } // unexpected BYE is acknowledged to avoid retransmissions [] SIPP.receive(mw_BYE_Request_Base(?)) -> value v_bye_reqest sender vc_sent_label { [] SIPP.receive(mw_BYE_Request_Base(?)) -> value v_bye_request sender vc_sent_label { log("*** " & testcasename() & ": FAIL: Unexpected BYE message received. ***"); setverdict(fail); f_setHeadersOnReceiptOfRequest(v_bye_reqest); f_setHeadersOnReceiptOfRequest(v_bye_request); f_send200OK(); action("Please de-register"); f_IMS_awaitDeRegistration(p_to_user, p_qop); Loading ttcn/LibIms_Templates.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -2429,7 +2429,7 @@ module LibIms_Templates { template(value) MessageBody p_mb ) modifies m_MESSAGE_Request_Base := { msgHeader := { contentLength := m_contentLength(f_MessageBodyLength(m_MBody_longPlainText)), contentLength := m_contentLength(f_MessageBodyLength(p_mb)), contentType := m_contentType(c_plainText), pAccessNetworkInfo := m_pAccessNetworkInfo_IEEE_11a, require := p_require, Loading Loading
ttcn/LibIms_Steps.ttcn +21 −15 Original line number Diff line number Diff line Loading @@ -211,10 +211,11 @@ module LibIms_Steps { */ function f_setHeadersINVITE( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header if (vc_boo_route) { vc_route := m_route_interface(vc_interfaceprofile); Loading @@ -233,10 +234,11 @@ module LibIms_Steps { */ function f_setHeadersUPDATE( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header if (vc_boo_route) { vc_route := m_route_interface(vc_interfaceprofile); Loading @@ -255,10 +257,11 @@ module LibIms_Steps { */ function f_setHeadersMESSAGE( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header LibSip_Steps.f_setHeadersMESSAGE(p_cSeq_s); } // end f_setHeadersMESSAGE Loading @@ -270,7 +273,8 @@ module LibIms_Steps { */ function f_setHeadersNOTIFY( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { LibSip_Steps.f_setHeadersNOTIFY(p_cSeq_s); Loading @@ -281,7 +285,7 @@ module LibIms_Steps { }; vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header // contact header initialization for sending of NOTIFY from CSCF component vc_contact := m_Contact(m_SipUrl_currIpaddr_CSCF(vc_userprofile)); Loading @@ -294,7 +298,8 @@ module LibIms_Steps { */ function f_setHeadersPUBLISH( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { LibSip_Steps.f_setHeadersPUBLISH(p_cSeq_s); Loading @@ -305,7 +310,7 @@ module LibIms_Steps { }; vc_to := f_initToHeader(p_to_user); // init of vc_to using userProfile identifier vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header if (vc_boo_route) { vc_route := m_route_interface(vc_interfaceprofile); Loading @@ -325,7 +330,8 @@ module LibIms_Steps { */ function f_setHeadersSUBSCRIBE( inout CSeq p_cSeq_s, in SipUrl p_to_user in SipUrl p_to_user, in SipUrl p_from_user ) runs on ImsComponent { vc_to := { fieldName := TO_E, Loading @@ -337,7 +343,7 @@ module LibIms_Steps { }, // end addressField toParams := omit }; vc_from := f_initFromHeader(p_to_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_from := f_initFromHeader(p_from_user, f_getRndTag()); // init of vc_from using userProfile identifier vc_requestUri := p_to_user; // Request URI of Invite is identical with To header LibSip_Steps.f_setHeadersSUBSCRIBE(p_cSeq_s); } // end f_setHeadersSUBSCRIBE Loading Loading @@ -1303,7 +1309,7 @@ module LibIms_Steps { var Request v_request; var SUBSCRIBE_Request v_subscribe_request; var REGISTER_Request v_register_request; var BYE_Request v_bye_reqest; var BYE_Request v_bye_request; var CANCEL_Request v_cancel_request; var NOTIFY_Request v_notify_request; var INFO_Request v_info_request; Loading Loading @@ -1381,10 +1387,10 @@ module LibIms_Steps { repeat; } // unexpected BYE is acknowledged to avoid retransmissions [] SIPP.receive(mw_BYE_Request_Base(?)) -> value v_bye_reqest sender vc_sent_label { [] SIPP.receive(mw_BYE_Request_Base(?)) -> value v_bye_request sender vc_sent_label { log("*** " & testcasename() & ": FAIL: Unexpected BYE message received. ***"); setverdict(fail); f_setHeadersOnReceiptOfRequest(v_bye_reqest); f_setHeadersOnReceiptOfRequest(v_bye_request); f_send200OK(); action("Please de-register"); f_IMS_awaitDeRegistration(p_to_user, p_qop); Loading
ttcn/LibIms_Templates.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -2429,7 +2429,7 @@ module LibIms_Templates { template(value) MessageBody p_mb ) modifies m_MESSAGE_Request_Base := { msgHeader := { contentLength := m_contentLength(f_MessageBodyLength(m_MBody_longPlainText)), contentLength := m_contentLength(f_MessageBodyLength(p_mb)), contentType := m_contentType(c_plainText), pAccessNetworkInfo := m_pAccessNetworkInfo_IEEE_11a, require := p_require, Loading