Commit b288c53d authored by nikolajev's avatar nikolajev
Browse files

STF160 proposed modifications applied to LibIMS

parent 1c70fefd
Loading
Loading
Loading
Loading
+15 −7
Original line number Diff line number Diff line
@@ -459,7 +459,9 @@ module LibIms_Steps {
            v_params := {
                {
                    id := c_tagId,
                    paramValue := f_getRndTag()
                    paramValue := {
                        tokenOrHost := f_getRndTag()
                    }
                }
            };
            vc_from := {
@@ -472,7 +474,9 @@ module LibIms_Steps {
                v_params := {
                    {
                        id := c_expiresId,
                        paramValue := c_shortRegistration
                        paramValue := {
                            tokenOrHost := c_shortRegistration
                        }
                    }
                };
                vc_contact.contactBody.contactAddresses[0].contactParams := v_params;
@@ -623,7 +627,9 @@ module LibIms_Steps {
                fromParams := {
                    {
                        id := c_tagId,
                        paramValue := p_tag_str
                        paramValue := {
                            tokenOrHost := p_tag_str
                        }
                    }
                }
            };
@@ -793,7 +799,9 @@ module LibIms_Steps {
                vc_contact.contactBody.contactAddresses[0].contactParams := {
                    {
                        "expires",
                        int2str(3600)
                        {
                            tokenOrHost := int2str(3600) 
                        }
                    }
                };
            }
@@ -903,7 +911,7 @@ module LibIms_Steps {

            // Preamble
            //NOTE STF471: removed f_init_userprofile(p_userprofile); // assignment of PIXIT values to component variable
            vc_sdp_local := valueof(m_SDP_bandwidth(m_media_dynPT(PX_SIP_SDP_DYN, PX_SIP_SDP_ENCODING), vc_userprofile));
            vc_sdp_local := valueof(m_SDP_bandwidth(m_media_dynPT(PX_SIP_SDP_DYN, PX_SIP_SDP_ENCODING, PX_SIP_SDP_CLOCKRATE, omit), vc_userprofile));
            vc_contact := m_Contact(m_SipUrl_contactIpaddr(vc_userprofile));
        }

@@ -925,7 +933,7 @@ module LibIms_Steps {

            // Preamble
            //NOTE STF471: removed f_init_userprofile(p_userprofile); // assignment of PIXIT values to component variable
            vc_sdp_local := valueof(m_SDP_bandwidth(m_media_dynPT(PX_SIP_SDP_DYN, PX_SIP_SDP_ENCODING), vc_userprofile));
            vc_sdp_local := valueof(m_SDP_bandwidth(m_media_dynPT(PX_SIP_SDP_DYN, PX_SIP_SDP_ENCODING, PX_SIP_SDP_CLOCKRATE, omit), vc_userprofile));
        }

        /**
@@ -1035,7 +1043,7 @@ module LibIms_Steps {
            // Preamble
            //NOTE STF471: removed f_init_interfaceprofile(p_interface);
            //NOTE STF471: removed f_init_userprofile(p_userprofile); // assignment of PIXIT values to component variable
            vc_sdp_local := valueof(m_SDP_bandwidth(m_media_dynPT(PX_SIP_SDP_DYN, PX_SIP_SDP_ENCODING), vc_userprofile));
            vc_sdp_local := valueof(m_SDP_bandwidth(m_media_dynPT(PX_SIP_SDP_DYN, PX_SIP_SDP_ENCODING, PX_SIP_SDP_CLOCKRATE, omit), vc_userprofile));
            vc_contact := m_Contact(m_SipUrl_contactIpaddr(vc_userprofile));
        }

+24 −22
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ module LibIms_Templates {
        }

        template(present) SemicolonParam_List mw_semicolonParams_realm(
            template charstring p_realm
            template GenValue p_realm
        ) :=
            superset(
                {
@@ -133,7 +133,7 @@ module LibIms_Templates {
                },
                {
                    "algorithm",
                    "AKAv1-MD5"
                    { tokenOrHost := "AKAv1-MD5" }
                },
                {
                    "ik",
@@ -146,7 +146,7 @@ module LibIms_Templates {
            );
        
        template(value) SemicolonParam_List m_semicolonParams_language(
            template(omit) charstring p_language := omit
            template(omit) GenValue p_language := omit
        ) := {
            {
                "language",
@@ -155,7 +155,7 @@ module LibIms_Templates {
        }

        template(present) SemicolonParam_List mw_semicolonParams_language(
            template charstring p_language
            template GenValue p_language
        ) := {
            {
                "language",
@@ -164,7 +164,7 @@ module LibIms_Templates {
        }

        template(value) SemicolonParam_List m_semicolonParams_isub(
            template(omit) charstring p_address := omit
            template(omit) GenValue p_address := omit
        ) := {
            {
                "isub",
@@ -260,7 +260,7 @@ module LibIms_Templates {
            genericParams := {
                {
                    id := "extension-access-info",
                    paramValue := "192.1.1.20"
                    paramValue := { tokenOrHost := "192.1.1.20" }
                }
            }
        }
@@ -277,11 +277,11 @@ module LibIms_Templates {
            chargeAddrParams := {
                {
                    id := "ccf",
                    paramValue := "192.1.1.1"
                    paramValue := { tokenOrHost := "192.1.1.1" }
                },  // value is fixed because it is deleted on proxy
                {
                    id := "ecf",
                    paramValue := "192.1.1.2"
                    paramValue := { tokenOrHost := "192.1.1.2" }
                } // value is fixed because it is deleted on proxy
            }
        }
@@ -302,12 +302,12 @@ module LibIms_Templates {
        }

        template(value) PChargingVector m_pChargingVector_origIoi_fixedValue(
            template(value) charstring p_homeDomain
            template(value) GenValue p_homeDomain
        ) modifies m_pChargingVector_icid_TS := {
            chargeParams := {
                {
                    id := c_icid_generated_at,
                    paramValue := "192.1.1.10"
                    paramValue := { tokenOrHost := "192.1.1.10" }
                },
                {
                    id := c_orig_ioi,
@@ -317,12 +317,12 @@ module LibIms_Templates {
        }

        template(value) PChargingVector m_pChargingVector_termIoi_fixedValue(
            template(value) charstring p_homeDomain
            template(value) GenValue p_homeDomain
        ) modifies m_pChargingVector_icid_TS := {
            chargeParams := {
                {
                    id := c_icid_generated_at,
                    paramValue := "192.1.1.10"
                    paramValue := { tokenOrHost := "192.1.1.10" }
                },
                {
                    id := c_term_ioi,
@@ -332,7 +332,7 @@ module LibIms_Templates {
        }

        template(value) PChargingVector m_pChargingVector_accessNetwInfo(
            template(value) charstring p_homeDomain
            template(value) GenValue p_homeDomain
        ) modifies m_pChargingVector_icid_TS := {
            chargeParams := {
                {
@@ -341,7 +341,7 @@ module LibIms_Templates {
                },
                {
                    id := c_access_network_charging_info,
                    paramValue := "192.1.1.10"
                    paramValue := { tokenOrHost := "192.1.1.10" }
                }
            }
        }
@@ -349,7 +349,7 @@ module LibIms_Templates {
        // NOTE STF471 change: icidValue added
        template(present) PChargingVector mw_pChargingVector(
            template(present) charstring p_id := ?,
            template charstring p_paramValue
            template GenValue p_paramValue
        ) := {
            fieldName := P_CHARGING_VECTOR_E,
            icidValue := ?,
@@ -547,7 +547,7 @@ module LibIms_Templates {
            toParams := {
                {
                    id := c_tagId,
                    paramValue := f_getRndTag()
                    paramValue := { tokenOrHost := f_getRndTag() }
                }
            }
        }
@@ -564,7 +564,9 @@ module LibIms_Templates {
            viaParams := {
                {
                    id := c_branchId,
                    paramValue := p_branch_val
                    paramValue := {
                        tokenOrHost := p_branch_val
                    }
                }
            }
        }
@@ -591,7 +593,7 @@ module LibIms_Templates {
                    viaParams := {
                        {
                            id := c_branchId,
                            paramValue := "abcd0000"
                            paramValue := { tokenOrHost := "abcd0000" }
                        }
                    }
                }
@@ -1658,7 +1660,7 @@ module LibIms_Templates {
                    template(value) To p_to,
                    template(value) Via p_via,
                    template(omit) Route p_route := omit,
                    template(value) charstring p_cause
                    template(value) GenValue p_cause
                ) modifies m_BYE_Request_Base := {
                    msgHeader := {
                        reason := mw_Reason(p_cause),
@@ -2465,7 +2467,7 @@ module LibIms_Templates {
                    template(omit) Require p_require := omit,
                    template(omit) Route p_route := omit,
                    template(omit) Supported p_supported := omit,
                    template(value) charstring p_homeDomain
                    template(value) GenValue p_homeDomain
                ) modifies m_MESSAGE_Request_NoBody_UE := {
                    msgHeader := {
                        pChargingFunctionAddresses := m_pChargingFunctionAddresses_fixedValue,
@@ -3326,7 +3328,7 @@ module LibIms_Templates {

                template(present) MESSAGE_Request mw_MESSAGE_Request_PchargingVector(
                    template(present) charstring p_id := ?,
                    template charstring p_paramValue
                    template GenValue p_paramValue
                ) modifies mw_MESSAGE_Request_Base := {
                    msgHeader := {
                        pChargingVector := mw_pChargingVector(p_id, p_paramValue)
@@ -4323,7 +4325,7 @@ module LibIms_Templates {
                    template(value) To p_to,
                    template(value) Via p_via,
                    template(omit) Contact p_contact := omit,
                    template(value) charstring p_cause
                    template(value) GenValue p_cause
                ) modifies m_Response_onINVITE := {
                    msgHeader := {
                        reason := mw_Reason(p_cause)