Commit 1962bcfa authored by tepelmann's avatar tepelmann
Browse files

Removed explicit usage of PX_SIP_TACK, PX_SIP_TRESP as the component timer is...

Removed explicit usage of PX_SIP_TACK, PX_SIP_TRESP as the component timer is implicitely initialized with the module parameter values.
parent 0cbaffda
Loading
Loading
Loading
Loading
+14 −14
Original line number Diff line number Diff line
@@ -3086,7 +3086,7 @@ module LibSip_Steps {
            inout CSeq p_cSeq_s
        ) runs on SipComponent  {

            tc_resp.start(PX_SIP_TRESP);
            tc_resp.start;
            alt {
                [] SIPP.receive(mw_Response_Base(c_statusLine200, vc_callId, p_cSeq_s)) -> value vc_response {
                    tc_resp.stop;
@@ -3103,7 +3103,7 @@ module LibSip_Steps {
        function f_awaitingResponse(
            in template(present) Response p_Response := ?
        ) runs on SipComponent  {
            tc_resp.start(PX_SIP_TRESP);
            tc_resp.start;
            a_awaitingResponse(p_Response);
        } // end f_awaitingResponse

@@ -3125,7 +3125,7 @@ module LibSip_Steps {
        function f_awaitingResponseIgnore100Trying(
            in template(present) Response p_Response := ?
        ) runs on SipComponent  {
            tc_resp.start(PX_SIP_TRESP);
            tc_resp.start;
            alt {
                [] SIPP.receive(p_Response) -> value vc_response {
                    tc_resp.stop;
@@ -3145,7 +3145,7 @@ module LibSip_Steps {
        function f_awaitingResponseSendACK(
            in template(present) Response p_Response := ?
        ) runs on SipComponent  {
            tc_resp.start(PX_SIP_TRESP);
            tc_resp.start;
            alt {
                [] SIPP.receive(p_Response) -> value vc_response {
                    tc_resp.stop;
@@ -3164,7 +3164,7 @@ module LibSip_Steps {
        function f_awaitingResponsePassOnTimeout(
            in template(present) Response p_Response := ?
        ) runs on SipComponent  {
            tc_resp.start(PX_SIP_TRESP);
            tc_resp.start;
            alt {
                [] SIPP.receive(p_Response) -> value vc_response {
                    tc_resp.stop;
@@ -3192,7 +3192,7 @@ module LibSip_Steps {
            var boolean v_received_OK := false;
            var boolean v_received_NOTIFY := false;
            var NOTIFY_Request v_MSG;
            tc_resp.start(PX_SIP_TRESP);
            tc_resp.start;
            tc_wait.start(PX_SIP_TWAIT);

            alt {
@@ -3338,7 +3338,7 @@ module LibSip_Steps {
            in boolean p_setHeaders
        ) runs on SipComponent  {
            var Request v_ACK_Request;
            tc_ack.start(PX_SIP_TACK);
            tc_ack.start;

            alt {
                [] SIPP.receive(p_ACK) -> value v_ACK_Request {
@@ -4011,7 +4011,7 @@ module LibSip_Steps {
                if (p_auth) {
                    // receiving 401 Unauthorized response.
                    // and Re-send REGISTER request with Authorization header
                    tc_resp.start(PX_SIP_TRESP);
                    tc_resp.start;
                    alt {
                        [] SIPP.receive(mw_Response_Base(c_statusLine401, vc_callId, p_cSeq_s)) -> value vc_response {
                            tc_resp.stop;
@@ -4059,7 +4059,7 @@ module LibSip_Steps {
                if (p_auth) {
                    // receiving 401 Unauthorized response.
                    // and Re-send REGISTER request with Authorization header
                    tc_resp.start(PX_SIP_TRESP);
                    tc_resp.start;
                    alt {
                        [] SIPP.receive(mw_Response_Base(c_statusLine401, vc_callId, p_cSeq_s)) -> value vc_response {
                            tc_resp.stop;
@@ -4122,7 +4122,7 @@ module LibSip_Steps {
                if (PX_SIP_REGISTER_AUTHENTICATION_ENABLED) {
                    // receiving 401 Unauthorized response.
                    // and Re-send REGISTER request with Authorization header
                    tc_resp.start(PX_SIP_TRESP);
                    tc_resp.start;
                    alt {
                        [] SIPP.receive(mw_Response_Base(c_statusLine401, vc_callIdReg, p_cSeq)) -> value vc_response {
                            tc_resp.stop;
@@ -4148,7 +4148,7 @@ module LibSip_Steps {
                    }
                }
                else {
                    tc_resp.start(PX_SIP_TRESP);
                    tc_resp.start;
                    alt {
                        [] a_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callIdReg, p_cSeq)) {
                        }
@@ -4319,7 +4319,7 @@ module LibSip_Steps {
            // Sending of a BYE request to release the call and expect a final response
            f_SendBYE(m_BYE_Request_cause(p_requestUri, p_CallId, p_cSeq, p_from, p_to, vc_via, p_byeCause));

            tc_resp.start(PX_SIP_TRESP);
            tc_resp.start;
            alt {
                [] SIPP.receive(mw_Response_Base(mw_statusLine1xx, p_CallId, p_cSeq)) {
                    repeat;
@@ -4338,7 +4338,7 @@ module LibSip_Steps {
            // Sending of a CANCEL request with the same Cseq
            f_setHeadersCANCEL(vc_cSeq);
            f_SendCANCEL(p_request);
            tc_resp.start(PX_SIP_TRESP);
            tc_resp.start;
            alt {
                [] SIPP.receive(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)) {
                    tc_resp.stop;
@@ -4933,7 +4933,7 @@ module LibSip_Steps {
            var Request v_Request := vc_requestFor407;
            [] any port.check(receive) {

                tc_resp.start(PX_SIP_TRESP);
                tc_resp.start;
                alt {
                    [] SIPP.receive(mw_Response_Base((c_statusLine401, c_statusLine407), vc_callId, vc_cSeq)) -> value v_Response {
                        tc_resp.stop;