Commit abf58f3a authored by garciay's avatar garciay
Browse files

Add OCF_OP_08..11

parent c3b9874f
Loading
Loading
Loading
Loading
+19 −12
Original line number Diff line number Diff line
@@ -194,18 +194,22 @@ module DiameterRfRo_PICS {
        modulepar boolean PICS_RO_OCF_RE_AUTHORIZATION_TRIGGER := false;
        
        /**
         * @desc Does OCF support inclusion of threshold based re-authorization triggers and
         * inclusion of the Time-Quota-Threshold AVP in the Multiple-Services-Credit-Control AVP of the CCA message? 
         * @see  ETSI TS 103 374-1 V1.1.2 (2015-09) A.6/10.1
         * @desc Does OCF support inclusion of threshold based re-authorization triggers? 
         * @see  ETSI TS 103 374-1 V1.1.2 (2015-09) A.6/10
         */
        modulepar boolean PICS_RO_OCF_TRESHOLD_BASED_RE_AUTHORIZATION_TIME_QUOTA_TRESHOLD := false;
        
        /**
         * @desc Does OCF support inclusion of threshold based re-authorization triggers and
         * inclusion of the Volume-Quota-Threshold AVP in the Multiple-Services-Credit-Control AVP of the CCA message?
         * @desc Does OCF support inclusion of the Time-Quota-Threshold AVP in the Multiple-Services-Credit-Control AVP of the CCA message? 
         * @see  ETSI TS 103 374-1 V1.1.2 (2015-09) A.6/10.1
         */
        modulepar boolean PICS_RO_OCF_TRESHOLD_BASED_TIME_QUOTA_TRESHOLD := false;
        
        /**
         * @desc Does OCF support inclusion of the Volume-Quota-Threshold AVP in the Multiple-Services-Credit-Control AVP of the CCA message?
         * @see  ETSI TS 103 374-1 V1.1.2 (2015-09) A.6/10.2
         */
        modulepar boolean PICS_RO_OCF_TRESHOLD_BASED_RE_AUTHORIZATION_VOLUME_QUOTA_TRESHOLD := false;
        modulepar boolean PICS_RO_OCF_TRESHOLD_BASED_VOLUME_QUOTA_TRESHOLD := false;
        
        /**
         * @desc Does OCF support inclusion of threshold based re-authorization triggers and
@@ -222,22 +226,25 @@ module DiameterRfRo_PICS {
        modulepar boolean PICS_RO_OCF_QUOTA_CONSUMPTION_TIME := false;
        
        /**
         * @desc Does OCF support procedures for service termination and
         * service termination with a CCA message, if a CCR request is pending? 
         * @desc Does OCF support procedures for service termination? 
         * @see  ETSI TS 103 374-1 V1.1.2 (2015-09) A.6/12
         */
        modulepar boolean PICS_RO_OCF_SERVICE_TERMINATION := false;
        
        /**
         * @desc Does OCF support service termination with a CCA message, if a CCR request is pending? 
         * @see  ETSI TS 103 374-1 V1.1.2 (2015-09) A.6/12.1
         */
        modulepar boolean PICS_RO_OCF_SERVICE_TERMINATION_WITH_CCA := false;
        
        /**
         * @desc Does OCF support procedures for service termination and
         * service termination with an ASR message, if no CCR request is pending? 
         * @desc Does OCF support service termination with an ASR message, if no CCR request is pending? 
         * @see  ETSI TS 103 374-1 V1.1.2 (2015-09) A.6/12.2
         */
        modulepar boolean PICS_RO_OCF_SERVICE_TERMINATION_WITH_ASR := false;
        
        /**
         * @desc Does OCF support procedures for service termination and
         * service termination with a RAR message, if no CCR request is pending? 
         * @desc Does OCF support service termination with a RAR message, if no CCR request is pending? 
         * @see  ETSI TS 103 374-1 V1.1.2 (2015-09) A.6/12.3
         */
        modulepar boolean PICS_RO_OCF_SERVICE_TERMINATION_WITH_RAR := false;
+23 −0
Original line number Diff line number Diff line
@@ -285,13 +285,36 @@ module DiameterRfRo_PIXITS {
    
    group ocfContext {
        
        /** 
         * @desc    The CC-Time AVP value
         */
        modulepar UInt32 PX_CC_TIME_VALUE := 32;
        
        /** 
         * @desc    The CC-Time AVP value
         */
        modulepar UInt32 PX_CC_TIME_VALUE_USED := 16;
        
        /** 
         * @desc    The Service Context Identifier
         */
        modulepar UTF8String PX_SERVICE_CONTEXT_ID := "ContextId";
        
        /** 
         * @desc    The Trigger-Type AVP value
         */
        modulepar Trigger_Type PX_TRIGGER_TYPE := CHANGEINQOS_TRAFFIC_CLASS_E;
        
        /** 
         * @desc    The Redirect-Address-Type AVP value (e.g. IPv4)
         */
        modulepar Redirect_Address_Ty_Type PX_REDIRECT_ADDRESS_TYPE := IPV4_ADDRESS_E;
        
        /** 
         * @desc    The Redirect-Server-Address AVP value
         */
        modulepar UTF8String PX_REDIRECT_SERVER_ADDRESS := "10.1.1.1";
        
    } // End of group ocfContext
    
    /** 
+359 −25

File changed.

Preview size limit exceeded, changes collapsed.

+124 −16
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ module DiameterRfRo_Templates {
            group ASR_MSG_{
                
                /**
                 * @desc Receive template for ACR
                 * @desc Receive template for ASR
                 * @param p_sessionId   Session identifier
                 * @param p_asrBody     ASR message body
                 */
@@ -277,15 +277,13 @@ module DiameterRfRo_Templates {
                 * @param p_originHost          Identifies the endpoint that originated the Diameter message
                 * @param p_originRealm         Realm of the originator
                 * @param p_destinationRealm    Destination realm
                 * @param p_accounting_Record_Type      TODO
                 * @param p_accounting_Record_Number    TODO
                 * @param p_acct_application_id         TODO
                 * @param p_destinationHost     TODO
                 */
                template (present) ASR_Body_AVP mdw_asrBodyAvps(
                                                                in template (present) Origin_Host_AVP              p_originHost,
                                                                in template (present) Origin_Realm_AVP             p_originRealm,
                                                                in template (present) Destination_Realm_AVP        p_destinationRealm,
                                                                in template (present) Destination_Host_AVP         p_destinationHost
                                                                template (present) Origin_Host_AVP          p_originHost,
                                                                template (present) Origin_Realm_AVP         p_originRealm,
                                                                template (present) Destination_Realm_AVP    p_destinationRealm,
                                                                template (present) Destination_Host_AVP     p_destinationHost
                ) modifies mw_ASR_Body_dummy := {
                        origin_Host                 := p_originHost,
                        origin_Realm                := p_originRealm,
@@ -328,6 +326,29 @@ module DiameterRfRo_Templates {
                acct_Application_Id         := m_acct_Application_Id(3)
            } // End of template md_acaBodyAvps 
            
            /**
             * @desc Send template for ASA
             * @param p_sessionId   Session identifier
             * @param p_asaBody     ASA message body
             */
            template (value) ASA_MSG md_aSA(
                                            in template (value) Session_Id_AVP  p_sessionId,
                                            in template (value) ASA_Body_AVP    p_asaBody
            ) modifies m_ASA_dummy := {
                session_Id  := p_sessionId,
                aSA_Body    := p_asaBody
            } // End of template md_aSA
            
            template (value) ASA_Body_AVP md_asaBodyAvps(
                                                         in template (value) Result_Code_AVP              p_resultCode,
                                                         in template (value) Origin_Host_AVP              p_originHost,
                                                         in template (value) Origin_Realm_AVP             p_originRealm
            ) modifies m_ASA_Body_dummy := {
                result_Code                 := p_resultCode,
                origin_Host                 := p_originHost,
                origin_Realm                := p_originRealm
            } // End of template md_asaBodyAvps 
            
        } // End of group Rf_answer_message_templates_send
        
        group Rf_answer_message_templates_receive { 
@@ -5079,6 +5100,37 @@ module DiameterRfRo_Templates {
                    re_Auth_Request_Type    := p_re_Auth_Request_Type
            } // End of template md_rarBodyAvps
            
            /**
             * @desc Send template for ASR
             * @param p_sessionId   Session identifier
             * @param p_asrBody     ASR message body
             */
            template (value) ASR_MSG md_aSR(
                                            in template (value) Session_Id_AVP  p_sessionId,
                                            in template (value) ASR_Body_AVP    p_asrBody
            ) modifies m_ASR_dummy := {
                header := m_diameterHeaderReq_dummy(ASR_E, c_applIdRfRo),
                session_Id  := p_sessionId,
                aSR_Body    := p_asrBody
            } // End of template md_aSR
            
            /**
             * @desc Send template for ASR message body
             */
            template (value) ASR_Body_AVP md_asrBodyAvps( 
                                                         in template (value) Origin_Host_AVP            p_originHost,
                                                         in template (value) Origin_Realm_AVP           p_originRealm,
                                                         in template (value) Destination_Realm_AVP      p_destination_Realm,
                                                         in template (value) Destination_Host_AVP       p_destination_Host,
                                                         in template (value) Auth_Application_Id_AVP    p_auth_Application_Id
            ) modifies m_ASR_Body_dummy := {
                    origin_Host             := p_originHost,
                    origin_Realm            := p_originRealm,
                    destination_Realm       := p_destination_Realm,
                    destination_Host        := p_destination_Host,
                    auth_Application_Id     := p_auth_Application_Id
            } // End of template md_asrBodyAvps
            
        } // End of group Ro_request_message_templates_send
        
        group Ro_answer_message_templates_send { 
@@ -5233,6 +5285,7 @@ module DiameterRfRo_Templates {
                rAA_Body    := p_raaBody
            } // End of template mdw_rAA
            

        } // End of group Ro_request_message_templates_revceive
        
        group Ro_answer_message_templates_receive { 
@@ -5804,6 +5857,13 @@ module DiameterRfRo_Templates {
                unit_Quota_Threshold := p_unit_Quota_Threshold
            } // End of template mdw_multiple_Services_Credit_Control_granted_Service_Unit_Unit_Quota_Threshold
            
            template (present) Multiple_Services_Credit_Control_AVP mdw_multiple_Services_Credit_Control_granted_Service_Unit_Quota_Consumption_Time(
                                                                                                                                                     template (present) Granted_Service_Unit_AVP    p_granted_Service_Unit := ?,
                                                                                                                                                     template (present) Quota_Consumption_Time_AVP  p_quota_Consumption_Time := ?
            ) modifies mdw_multiple_Services_Credit_Control_granted_Service_Unit := {
                quota_Consumption_Time := p_quota_Consumption_Time
            } // End of template mdw_multiple_Services_Credit_Control_granted_Service_Unit_Quota_Consumption_Time
            
            template Multiple_Services_Credit_Control_AVP mdw_multiple_Services_Credit_Control_ReqServUnit_ServId(
                                                                                                                  template Requested_Service_Unit_AVP                                 p_requested_Service_Unit,
                                                                                                                  template Multiple_Services_Credit_Control_AVP.service_Identifier    p_service_Identifier
@@ -6014,16 +6074,41 @@ module DiameterRfRo_Templates {
                aVP_Data := p_aVP_Data
            } // End of template mw_re_Auth_Request
            
            template (present) Final_Unit_Indication_AVP mw_final_Unit_Indication_AVP(
                                                                                      template (present) Final_Unit_Action_AVP p_final_Unit_Action := ?
            template Final_Unit_Indication_AVP mw_final_Unit_Indication_AVP(
                                                                            template (present) Final_Unit_Action_AVP    p_final_Unit_Action := ?,
                                                                            template Redirect_Server_AVP                p_redirect_Server := *
            ) := {
                aVP_Header := mw_aVP_HeaderVid_Mbit1(c_final_Unit_Indication_AVP_Code, ?, ?),
                final_Unit_Action       := p_final_Unit_Action,
                restriction_Filter_Rule := *,
                filter_Id               := *,
                redirect_Server         := *
                redirect_Server         := p_redirect_Server
            } // End of template mw_final_Unit_Indication_AVP
            
            template Final_Unit_Indication_AVP mw_final_Unit_Indication_Restriction_Filter_Rule_AVP(
                                                                                                    template (present) Final_Unit_Action_AVP        p_final_Unit_Action := ?,
                                                                                                    template Redirect_Server_AVP                    p_redirect_Server := *,
                                                                                                    template (present) Restriction_Filter_Rule_AVP  p_restriction_Filter_Rule
            ) modifies mw_final_Unit_Indication_AVP := {
                aVP_Header := mw_aVP_HeaderVid_Mbit1(c_final_Unit_Indication_AVP_Code, ?, ?),
                final_Unit_Action       := p_final_Unit_Action,
                restriction_Filter_Rule := { p_restriction_Filter_Rule },
                filter_Id               := *,
                redirect_Server         := p_redirect_Server
            } // End of template mw_final_Unit_Indication_Restriction_Filter_Rule_AVP
            
            template Final_Unit_Indication_AVP mw_final_Unit_Indication_Filter_Id_AVP(
                                                                                      template (present) Final_Unit_Action_AVP    p_final_Unit_Action := ?,
                                                                                      template Redirect_Server_AVP                p_redirect_Server := *,
                                                                                      template (present) Filter_Id_AVP            p_filter_Id
            ) modifies mw_final_Unit_Indication_AVP := {
                aVP_Header := mw_aVP_HeaderVid_Mbit1(c_final_Unit_Indication_AVP_Code, ?, ?),
                final_Unit_Action       := p_final_Unit_Action,
                restriction_Filter_Rule := *,
                filter_Id               := { p_filter_Id },
                redirect_Server         := p_redirect_Server
            } // End of template mw_final_Unit_Indication_Filter_Id_AVP
            
            template (present) Final_Unit_Action_AVP mw_final_Unit_Action_AVP(
                                                                              template (present) Final_Unit_Action_Type p_aVP_Data := ?
            ) := {
@@ -6031,6 +6116,29 @@ module DiameterRfRo_Templates {
                aVP_Data := p_aVP_Data
            } // End of template mw_final_Unit_Action_AVP
            
            template (present) Redirect_Server_AVP mw_redirect_Server_AVP(
                                                                          template (present) Redirect_Address_Type_AVP      p_redirect_Address_Type,
                                                                          template (present) Redirect_Server_Address_AVP    p_redirect_Server_Address
            ) := {
                aVP_Header              := mw_aVP_HeaderVid_Mbit1(c_redirect_Server_AVP_Code, 4, ?),
                redirect_Address_Type   := p_redirect_Address_Type,
                redirect_Server_Address := p_redirect_Server_Address
            } // End of template mw_redirect_Server_AVP
            
            template (present) Redirect_Address_Type_AVP mw_redirect_Address_Type_AVP(
                                                                                      template (present) Redirect_Address_Ty_Type p_aVP_Data := ?
            ) := {
                aVP_Header  := mw_aVP_HeaderVid_Mbit1(c_redirect_Address_Type_AVP_Code, 4, ?),
                aVP_Data    := p_aVP_Data
            } // End of template mw_redirect_Address_Type_AVP
            
            template (present) Redirect_Server_Address_AVP mw_redirect_Server_Address_AVP(
                                                                                          template (present) UTF8String p_aVP_Data := ?
            ) := {
                aVP_Header  := mw_aVP_HeaderVid_Mbit1(c_redirect_Server_Address_AVP_Code, ?, ?),
                aVP_Data    := p_aVP_Data
            } // End of template mw_redirect_Server_Address_AVP
            
        } // End of group Ro_avps_templates_receive 
        
    } // End of group Ro_avps_templates 
+244 −0

File changed.

Preview size limit exceeded, changes collapsed.

Loading