Commit affb1e04 authored by pintar's avatar pintar
Browse files

Small correction due to STF 512/Diameter RfRo validation:

during validation return value of isvalue function was not correct even if recordRoute field had value
parent 7fc0156d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1928,7 +1928,7 @@ module LibSip_Steps {
                    };
                    vc_caller_To := vc_to;
                }
                if (isvalue(p_Request.msgHeader.recordRoute)) {
                if (isvalue(p_Request.msgHeader.recordRoute.fieldName)) {//Due to ES 201 873-1/C.3.3 Better to check if fieldName of Record Route is present
                    vc_boo_recordRoute := true;
                    vc_recordRoute := p_Request.msgHeader.recordRoute;
                }
@@ -2065,7 +2065,7 @@ module LibSip_Steps {
                var template(omit) ServiceRoute v_serviceRoute;

                // Route Management
                if (isvalue(p_response.msgHeader.serviceRoute)) {
                if (isvalue(p_response.msgHeader.serviceRoute.fieldName)) {////Due to ES 201 873-1/C.3.3 Better to check if fieldName of Record Route is present
                    v_serviceRoute := p_response.msgHeader.serviceRoute;
                    v_nbroute := lengthof(v_serviceRoute.routeBody);
                    // copy and reverse the order of the routes in route header