Commit e5acc7aa authored by filatov's avatar filatov
Browse files

Add receiving templates for SAR, SAA, LIR, LIA, MAR, MAA, RTR, RTA, PPR, PPA

parent 47c2c6ee
Loading
Loading
Loading
Loading
+286 −28
Original line number Diff line number Diff line
@@ -603,39 +603,297 @@ module DiameterCxDx_Templates {

        } // end of group CxDxBasic_templates_send
        group CxDx_basic_templates_receive {
            template (present) UAR_Body_AVP mw_UAR_basic ( template (present) Origin_Host_AVP       p_originHost,
                                                           template (present) Origin_Realm_AVP      p_originRealm,
                                                           template (present) Destination_Realm_AVP p_destinationRealm) 
            template (present) UAR_Body_AVP mw_UAR_basic 
            modifies mw_UAR_Body_dummy := {
                vendor_Specific_Application_Id := ?,              //mandatory in CxDx TS 129 229
                auth_Application_Id   := *,                       //not present in CxDx TS 129 229
                auth_Session_State := ?,
                origin_Host := p_originHost,
                origin_Realm := p_originRealm,
                destination_Realm := p_destinationRealm,
                sIP_AOR := *,                                     //not present in CxDx TS 129 229
                destination_Host := *,
                user_Name := ?,                                   //mandatory in CxDx TS 129 229
                sIP_Visited_Network_Id := *,                      //not present in CxDx TS 129 229
                sIP_User_Authorization_Type := *,                 //not present in CxDx TS 129 229
                supported_Features := *,
                public_Identity := ?,                             //mandatory in CxDx TS 129 229
                visited_Network_Id := ?,                          //mandatory in CxDx TS 129 229
                user_Authorization_Type := *,
                uAR_Flags := *,
                proxy_Info := *,
                route_Record := *,
				aVP_Type := *
                vendor_Specific_Application_Id := ?,      // mandatory in TS 129 229
                auth_Application_Id   := *,               // not in TS 129 229
                auth_Session_State := ?,                  // mandatory in TS 129 229
                origin_Host := ?,                         // mandatory in TS 129 229
                origin_Realm := ?,                        // mandatory in TS 129 229
                destination_Realm := ?,                   // mandatory in TS 129 229
                sIP_AOR := *,                             // not in TS 129 229
                destination_Host := *,                    // optional in TS 129 229
                user_Name := ?,                           // mandatory in TS 129 229
                sIP_Visited_Network_Id := *,              // not present in TS 129 229
                sIP_User_Authorization_Type := *,         // not present in TS 129 229
                supported_Features := *,                  // optional in TS 129 229
                public_Identity := ?,                     // mandatory in TS 129 229
                visited_Network_Id := ?,                  // mandatory in TS 129 229
                user_Authorization_Type := *,             // optional in TS 129 229
                uAR_Flags := *,                           // optional in TS 129 229
                proxy_Info := *,                          // optional in TS 129 229
                route_Record := *,                        // optional in TS 129 229
				aVP_Type := *                             // optional in TS 129 229
            }
            
            template UAA_Body_AVP mw_UAA_basic
            modifies mw_UAA_Body_dummy := {
                vendor_Specific_Application_Id := ?,      //only TS129 229
                experimental_Result := *,                 //only TS129 229
                supported_Features := *,                  //only TS129 229
                server_Name := *,                         //only TS129 229
                server_Capabilities := *,                 //only TS129 229
                failed := *                               //only TS129 229
				vendor_Specific_Application_Id := ?,      // mandatory in TS 129 229
                auth_Application_Id := *,                 // not in TS 129 229
                auth_Session_State := ?,                  // mandatory in TS 129 229
                result_Code := *,                         // optional  in TS 129 229
                origin_Host := ?,                         // mandatory in TS 129 229
                origin_Realm := ?,                        // mandatory in TS 129 229
                sIP_Server_URI := *,                      // not in TS 129 229
                sIP_Server_Capabilities := *,             // not in TS 129 229
                authorization_Lifetime := *,              // not in TS 129 229
                auth_Grace_Period := *,                   // not in TS 129 229
                redirect_Host := *,                       // not in TS 129 229
                redirect_Host_Usage := *,                 // not in TS 129 229
                redirect_Max_Cache_Time := *,             // not in TS 129 229
                experimental_Result := *,                 // optional  in TS 129 229
                supported_Features := *,                  // optional  in TS 129 229
                server_Name := *,                         // optional  in TS 129 229
                server_Capabilities := *,                 // optional  in TS 129 229
                failed := *,                              // optional  in TS 129 229
                proxy_Info := *,                          // optional  in TS 129 229
                route_Record := *,                        // optional  in TS 129 229
                aVP_Type := *                             // optional  in TS 129 229
            }

            template (present) SAR_Body_AVP mw_SAR_basic 
            modifies mw_SAR_Body_dummy := {
                vendor_Specific_Application_Id :=?,       // mandatory in TS129 229
                auth_Application_Id := *,                 // not in TS129 229
                auth_Session_State := ?,                  // mandatory in TS129 229
                origin_Host := ?,                         // mandatory in TS129 229
                origin_Realm := ?,                        // mandatory in TS129 229
                destination_Realm := ?,                   // mandatory in TS129 229
                sIP_Server_Assignment_Type := *,          // not in TS129 229
                sIP_User_Data_Already_Available := *,     // not in TS129 229
                destination_Host := *,                    // optional in TS129 229
                user_Name := *,                           // optional in TS129 229
                sIP_Server_URI := *,                      // not in TS129 229
                sIP_Supported_User_Data_Type := *,        // not in TS129 229
                sIP_AOR := *,                             // not in TS129 229
                supported_Features := *,                  // optional in TS129 229
                public_Identity := *,                     // optional in TS129 229
                wildcarded_Public_Identity := *,          // optioanl in TS129 229
                server_Name := ?,                         // mandatory in TS129 229
                server_Assignment_Type := ?,              // mandatory in TS129 229
                user_Data_Already_Available := ?,         // mandatory in TS129 229
                sCSCF_Restoration_Info := *,              // optional in TS129 229
                multiple_Registration_Indication := *,    // optional in TS129 229
                session_Priority := *,                    // optional in TS129 229
                proxy_Info := *,                          // optional in TS129 229
                route_Record := *,                        // optional in TS129 229
                aVP_Type := *                             // optional in TS129 229
            }
            
            template SAA_Body_AVP mw_SAA_basic
            modifies mw_SAA_Body_dummy := {
                vendor_Specific_Application_Id := ?,      // mandatory TS129 229
                auth_Application_Id := *,                 // not in TS129 229
                result_Code := *,                         // optional in TS129 229
                experimental_Result := *,                 // optional in TS129 229
                auth_Session_State := ?,                  // mandatory in TS129 229
                origin_Host := ?,                         // mandatory in TS129 229
                origin_Realm := ?,                        // mandatory in TS129 229
                sIP_User_Data := *,                       // not in TS129 229
                sIP_Accounting_Information := *,          // not in TS129 229
                sIP_Supported_User_Data_Type := *,        // not in TS129 229
                user_Name := *,                           // optional in TS129 229
                auth_Grace_Period := *,                   // not in TS129 229
                authorization_Lifetime := *,              // not in TS129 229
                redirect_Host := *,                       // not in TS129 229
                redirect_Host_Usage := *,                 // not in TS129 229
                redirect_Max_Cache_Time := *,             // not in TS129 229
                supported_Features := *,                  // optional in TS129 229
                user_Data := *,                           // optional in TS129 229
                charging_Information := *,                // optional in TS129 229
                associated_Identities := *,               // optional in TS129 229
                loose_Route_Indication := *,              // optional in TS129 229
                sCSCF_Restoration_Info := *,              // optional in TS129 229
                associated_Registered_Identities := *,    // optional in TS129 229
                server_Name := *,                         // optional in TS129 229
                wildcarded_Public_Identity := *,          // optional in TS129 229
                priviledged_Sender_Indication := *,       // optional in TS129 229
                failed := *,                              // optional in TS129 229
                proxy_Info := *,                          // optional in TS129 229
                route_Record := *,                        // optional in TS129 229
                aVP_Type := *                             // optional in TS129 229
            }

            template (present) LIR_Body_AVP mw_LIR_basic 
            modifies mw_LIR_Body_dummy := {
				vendor_Specific_Application_Id :=?,       // mandatory in TS129 229
				auth_Application_Id := *,                 // not in TS129 229
				auth_Session_State := ?,                  // mandatory in TS129 229
				origin_Host := ?,                         // mandatory in TS129 229
				origin_Realm := ?,                        // mandatory in TS129 229
				destination_Realm := ?,                   // mandatory in TS129 229
				sIP_AOR := *,                             // not in TS129 229
				destination_Host := *,                    // optional in TS129 229
                originating_Request := *,                 // optional in TS129 229
				supported_Features := *,                  // optional in TS129 229
				public_Identity := ?,                     // mandatory in TS129 229
                user_Authorization_Type := *,             // optional in TS129 229
				session_Priority := *,                    // optional in TS129 229
				proxy_Info := *,                          // optional in TS129 229
				route_Record := *,                        // optional in TS129 229
				aVP_Type := *                             // optional in TS129 229
            }
            
            template LIA_Body_AVP mw_LIA_basic
            modifies mw_LIA_Body_dummy := {
				vendor_Specific_Application_Id := ?,      // mandatory TS129 229
				auth_Application_Id := *,                 // not in TS129 229
				result_Code := *,                         // optional in TS129 229
				experimental_Result := *,                 // optional in TS129 229
				auth_Session_State := ?,                  // mandatory in TS129 229
				origin_Host := ?,                         // mandatory in TS129 229
				origin_Realm := ?,                        // mandatory in TS129 229
                sIP_Server_URI := *,                      // optional in TS129 229
                sIP_Server_Capabilities := *,             // optional in TS129 229
				auth_Grace_Period := *,                   // not in TS129 229
				authorization_Lifetime := *,              // not in TS129 229
				redirect_Host := *,                       // not in TS129 229
				redirect_Host_Usage := *,                 // not in TS129 229
				redirect_Max_Cache_Time := *,             // not in TS129 229
				supported_Features := *,                  // optional in TS129 229
                server_Name := *,                         // optional in TS129 229
                server_Capabilities := *,                 // optional in TS129 229
                wildcarded_Public_Identity := *,          // optional in TS129 229
				failed := *,                              // optional in TS129 229
				proxy_Info := *,                          // optional in TS129 229
				route_Record := *,                        // optional in TS129 229
				aVP_Type := *                             // optional in TS129 229
            }

			template (present) MAR_Body_AVP mw_MAR_basic 
			modifies mw_MAR_Body_dummy := {
				vendor_Specific_Application_Id :=?,       // mandatory in TS129 229
				auth_Application_Id := *,                 // not in TS129 229
				auth_Session_State := ?,                  // mandatory in TS129 229
				origin_Host := ?,                         // mandatory in TS129 229
				origin_Realm := ?,                        // mandatory in TS129 229
				destination_Realm := ?,                   // mandatory in TS129 229
				sIP_AOR := *,                             // not in TS129 229
				sIP_Method := *,                          // not in TS129 229
				destination_Host := *,                    // optional in TS129 229
				user_Name := ?,                           // mandatory in TS129 229
				supported_Features := *,                  // optional in TS129 229
				public_Identity := ?,                     // mandatory in TS129 229
				sIP_Server_URI := *,                      // optional in TS129 229
				sIP_Number_Auth_Items := ?,               // mandatory in TS129 229
				sIP_Auth_Data_Item := ?,                  // mandatory in TS129 229
				server_Name := ?,                         // mandatory in TS129 229
				failed := *,                              // optional in TS129 229
				proxy_Info := *,                          // optional in TS129 229
				route_Record := *,                        // optional in TS129 229
				aVP_Type := *                             // optional in TS129 229
			}
            
			template MAA_Body_AVP mw_MAA_basic
			modifies mw_MAA_Body_dummy := {
				vendor_Specific_Application_Id := ?,      // mandatory TS129 229
				auth_Application_Id := *,                 // not in TS129 229
				result_Code := *,                         // optional in TS129 229
				experimental_Result := *,                 // optional in TS129 229
				auth_Session_State := ?,                  // mandatory in TS129 229
				origin_Host := ?,                         // mandatory in TS129 229
				origin_Realm := ?,                        // mandatory in TS129 229
				user_Name := *,                           // optional in TS129 229
				supported_Features := *,                  // optional in TS129 229
				public_Identity := *,                     // optional in TS129 229
				sIP_AOR := *,                             // not in TS129 229
				sIP_Number_Auth_Items := *,               // optional in TS129 229
				sIP_Auth_Data_Item := *,                  // optional in TS129 229
				auth_Grace_Period := *,                   // not in TS129 229
				authorization_Lifetime := *,              // not in TS129 229
				redirect_Host := *,                       // not in TS129 229
				redirect_Host_Usage := *,                 // not in TS129 229
				redirect_Max_Cache_Time := *,             // not in TS129 229
				failed := *,                              // optional in TS129 229
				proxy_Info := *,                          // optional in TS129 229
				route_Record := *,                        // optional in TS129 229
				aVP_Type := *                             // optional in TS129 229
			}

            template (present) RTR_Body_AVP mw_RTR_basic 
            modifies mw_RTR_Body_dummy := {
				vendor_Specific_Application_Id :=?,       // mandatory in TS129 229
				auth_Application_Id := *,                 // not in TS129 229
				auth_Session_State := ?,                  // mandatory in TS129 229
				origin_Host := ?,                         // mandatory in TS129 229
				origin_Realm := ?,                        // mandatory in TS129 229
                destination_Host := ?,                    // mandatory in TS129 229
                destination_Realm := ?,                   // mandatory in TS129 229
                sIP_Deregistration_Reason := *,           // not in TS129 229
                user_Name := ?,                           // mandatory in TS129 229
                sIP_AOR := *,                             // not in TS129 229
                associated_Identities := *,               // optional in TS129 229
				supported_Features := *,                  // optional in TS129 229
				public_Identity := *,                     // optional in TS129 229
                deregistration_Reason := ?,               // mandatory in TS129 229
				proxy_Info := *,                          // optional in TS129 229
				route_Record := *,                        // optional in TS129 229
				aVP_Type := *                             // optional in TS129 229
            }
            
            template RTA_Body_AVP mw_RTA_basic
            modifies mw_RTA_Body_dummy := {
				vendor_Specific_Application_Id := ?,      // mandatory TS129 229
				auth_Application_Id := *,                 // not in TS129 229
				result_Code := *,                         // optional in TS129 229
				experimental_Result := *,                 // optional in TS129 229
				auth_Session_State := ?,                  // mandatory in TS129 229
				origin_Host := ?,                         // mandatory in TS129 229
				origin_Realm := ?,                        // mandatory in TS129 229
                authorization_Lifetime := *,              // not in TS129 229
				auth_Grace_Period := *,                   // not in TS129 229
				redirect_Host := *,                       // not in TS129 229
				redirect_Host_Usage := *,                 // not in TS129 229
				redirect_Max_Cache_Time := *,             // not in TS129 229
                associated_Identities := *,               // optional in TS129 229
				supported_Features := *,                  // optional in TS129 229
                identity_with_Emergency_Registration := *,  //optional in TS129 229
				failed := *,                              // optional in TS129 229
				proxy_Info := *,                          // optional in TS129 229
				route_Record := *,                        // optional in TS129 229
				aVP_Type := *                             // optional in TS129 229
            }

            template (present) PPR_Body_AVP mw_PPR_basic 
            modifies mw_PPR_Body_dummy := {
				vendor_Specific_Application_Id :=?,       // mandatory in TS129 229
				auth_Application_Id := *,                 // not in TS129 229
				auth_Session_State := ?,                  // mandatory in TS129 229
				origin_Host := ?,                         // mandatory in TS129 229
				origin_Realm := ?,                        // mandatory in TS129 229
				destination_Host := ?,                    // mandatory in TS129 229
				destination_Realm := ?,                   // mandatory in TS129 229
				user_Name := ?,                           // mandatory in TS129 229
                sIP_User_Data := *,                       // not in TS129 229
                sIP_Accounting_Information := ?,          // not in TS129 229
				authorization_Lifetime := *,              // not in TS129 229
				auth_Grace_Period := *,                   // not in TS129 229
				supported_Features := *,                  // optional in TS129 229
                user_Data := *,                           // optional in TS129 229
                charging_Information := *,                // optional in TS129 229
                sIP_Auth_Data_Item := *,                  // optional in TS129 229
				proxy_Info := *,                          // optional in TS129 229
				route_Record := *,                        // optional in TS129 229
				aVP_Type := *                             // optional in TS129 229
            }
            
            template PPA_Body_AVP mw_PPA_basic
            modifies mw_PPA_Body_dummy := {
				vendor_Specific_Application_Id := ?,      // mandatory TS129 229
				auth_Application_Id := *,                 // not in TS129 229
				result_Code := *,                         // optional in TS129 229
				experimental_Result := *,                 // optional in TS129 229
				auth_Session_State := ?,                  // mandatory in TS129 229
				origin_Host := ?,                         // mandatory in TS129 229
				origin_Realm := ?,                        // mandatory in TS129 229
				redirect_Host := *,                       // not in TS129 229
				redirect_Host_Usage := *,                 // not in TS129 229
				redirect_Max_Cache_Time := *,             // not in TS129 229
				supported_Features := *,                  // optional in TS129 229
				failed := *,                              // optional in TS129 229
				proxy_Info := *,                          // optional in TS129 229
				route_Record := *,                        // optional in TS129 229
				aVP_Type := *                             // optional in TS129 229
            }
        } // end of group CxDxBasic_templates_receive