Commit 586c9040 authored by YannGarcia's avatar YannGarcia
Browse files

Add new test cases for group 12.3

parent ef71a2ed
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -2712,7 +2712,7 @@ module AtsSccas_TCFunctions {
				alt {
					[] SIPP.receive(mw_Response_Base(c_statusLine503, vc_callId, v_cSeq_s)) {
						tc_ack.stop;
						log("*** " & __SCOPE__ & ": PASS: Respoonse 503 was received ***");
						log("*** " & __SCOPE__ & ": PASS: Response 503 was received ***");
						f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync
					}
					[] tc_ack.timeout {
@@ -3522,7 +3522,7 @@ module AtsSccas_TCFunctions {
                alt {
                    [] SIPP.receive(mw_Response_Base(c_statusLine180, vc_callId, v_cSeq_s)) {
                        tc_ack.stop;
                        log("*** " & __SCOPE__ & ": PASS: Respoonse 180 was received ***");
                        log("*** " & __SCOPE__ & ": PASS: Response 180 was received ***");
                        f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync
                    }
                    [] tc_ack.timeout {
@@ -3577,8 +3577,8 @@ module AtsSccas_TCFunctions {
                // Registration
        //        f_IncCSeq(v_cSeq_s); LibIms_Steps.f_setHeadersINVITE(v_cSeq_s, f_initSipUrl(c_serviceProfile_EMERGENCY), f_initSipUrl(c_userProfile_UE1atSUThome));
                f_sendResponse(
                             m_Response_2xx_Base(
                                            c_statusLine200,
                             m_Response_18x_Base(
                                            c_statusLine183,
                                            vc_callId, 
                                            v_cSeq_s, 
                                            vc_from, 
@@ -3589,7 +3589,7 @@ module AtsSccas_TCFunctions {
                alt {
                    [] SIPP.receive(mw_Response_Base(c_statusLine183, vc_callId, v_cSeq_s)) {
                        tc_ack.stop;
                        log("*** " & __SCOPE__ & ": PASS: Respoonse 183 was received ***");
                        log("*** " & __SCOPE__ & ": PASS: Response 183 was received ***");
                        f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync
                    }
                    [] tc_ack.timeout {
@@ -3651,7 +3651,8 @@ module AtsSccas_TCFunctions {
											vc_from, vc_to, vc_via_REG, 
											vc_contact,
											-, -, -,
											m_MBody_SDP(vc_sdp_local)
											m_MBody_SDP(vc_sdp_local),
											m_accept("application/vnd.3gpp.mid-call+xml")
											));
				tc_ack.start;
				alt {
@@ -3719,7 +3720,8 @@ module AtsSccas_TCFunctions {
											vc_from, vc_to, vc_via_REG, 
											vc_contact,
											-, -, -,
											m_MBody_SDP(vc_sdp_local)
											m_MBody_SDP(vc_sdp_local),
											m_accept("application/vnd.3gpp.mid-call+xml")
											));
				tc_ack.start;
				alt {
@@ -3792,7 +3794,7 @@ module AtsSccas_TCFunctions {
				alt {
					[] SIPP.receive(mw_Response_Base(c_statusLine180, vc_callId, v_cSeq_s)) {
						tc_ack.stop;
						log("*** " & __SCOPE__ & ": PASS: Respoonse 180 was received ***");
						log("*** " & __SCOPE__ & ": PASS: Response 180 was received ***");
						f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync
					}
					[] tc_ack.timeout {
@@ -3859,7 +3861,7 @@ module AtsSccas_TCFunctions {
				alt {
					[] SIPP.receive(mw_Response_Base(c_statusLine183, vc_callId, v_cSeq_s)) {
						tc_ack.stop;
						log("*** " & __SCOPE__ & ": PASS: Respoonse 183 was received ***");
						log("*** " & __SCOPE__ & ": PASS: Response 183 was received ***");
						f_selfOrClientSyncAndVerdict(c_tbDone, e_success); // sync
					}
					[] tc_ack.timeout {
+16 −2
Original line number Diff line number Diff line
@@ -152,6 +152,18 @@ module AtsSccas_Templates
        }
        
        group HeaderTemplatesYann {

            template (value) Accept m_accept(
                                             in template (value) charstring p_mediaRange
                                             ) := {
                fieldName := ACCEPT_E,
                acceptArgs := { 
                    {
                        mediaRange := p_mediaRange,
                         acceptParam := omit
                    } }
            } // End of template m_accept

        }

    } // End of group HeaderTemplates
@@ -565,9 +577,11 @@ module AtsSccas_Templates
                                                              in template (omit) Require p_require := omit,
                                                              in template (omit) Route p_route := omit,
                                                              in template (omit) Supported p_supported := omit,
                                                              in template (value) MessageBody p_mb
                                                              in template (value) MessageBody p_mb,
                                                              in template (omit) Accept p_accept := omit
                ) modifies m_INVITE_Request_UE := {
                    msgHeader := {
                        accept        := p_accept,
                        contentLength := m_contentLength(f_MessageBodyLength(p_mb)),
                        contentType   := m_contentType(c_sdpApplication)
                    },