Commit d90e545e authored by pintar's avatar pintar
Browse files

ACR_CB types added

parent 1fcd2d08
Loading
Loading
Loading
Loading
+114 −6
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
 *   				User_languages_type, User_type, Users_type
 *   
 *   			new group CDIV added by STF369
 *   			new group ACR_CD added by STF38
 */

module LibSip_XMLTypes
@@ -38,7 +39,10 @@ group XmlTypes {
		Mcid mcid,							// if there is XML Mcid
		PSTN_transit pstnTransit,			// if there is XML PSTN data
		Simservs simservs,					// if there is XML simservs (Oip/r Tip/r ...) 
		Comm_div_info cdivn				// if there is XML CDIVN document
		Comm_div_info cdivn,				// if there is XML CDIVN document
		Incoming_communication_barring icb, // if there is XML ICB document
		Outgoing_communication_barring	ocb	// if there is XML OCB document
		
	};

}
@@ -762,4 +766,108 @@ group CDIV{

} /* end group CDIV */

group ACR_CB{
	
	group mainACR_CB{
		type record Outgoing_communication_barring {
			Ruleset ruleset1 optional
		}

		type allow_action_type Allow; 

		type XSDAUX.booleanXSD allow_action_type; 

		type record Incoming_communication_barring {
			Ruleset ruleset2 optional
		}
	}
	
	group importedXML_ietf{
		type record RuleType {
			XSDAUX.ID id,
			ConditionsType conditions optional,
			Allow actions optional,
			ExtensibleType transformations optional
    	}
    
    	type record SphereType {
			XSDAUX.string value_
    	}
    
    	type record IdentityType {
			record length (1 .. infinity) of union {
				OneType one,
				ManyType many
			} choice
    	}
    
    	type record Ruleset {
			record of RuleType rule optional
    	}
    
    	type record ValidityType {
			record of record {
				XSDAUX.dateTime from_,
				XSDAUX.dateTime until
			} choice
    	}
    
    	type record ManyType {
    		XSDAUX.string domain optional,
    		record of union {
				ExceptType except_,
				record length (0 .. 1) of anytype any_1
    		} choice
    	}
    
    	type record OneType {
			XSDAUX.string id,
			XSDAUX.string scheme optional,
			anytype any_1 optional
    	}
    
    	type record ExtensibleType {
			record of anytype any_1 optional
    	}
    
    	type record ConditionsType {
			record length (1 .. infinity) of union {
				record length (0 .. 1) of IdentityType identity,
				record length (0 .. 1) of SphereType sphere,
				record length (0 .. 1) of ValidityType validity,
				record length (0 .. 1) of record of anytype any_1
			} choice
    	}
    
    	type record ExceptType {
			XSDAUX.string domain optional,
			XSDAUX.string id optional,
			XSDAUX.string scheme optional
    	}
	}
	
	group importedXML_oma{
		type EmptyType other_identity; 

		type record External_list {
			record of AnchorType entry optional
		}

		type record EmptyType {
		}

		type EmptyType anonymous_request; 

		type record AnchorType {
			XSDAUX.anyURI anc optional,
			XSDAUX.anyAttributes anyAttributes
		}
	}
	
	
	
	
	
}// end group ACR/CB

} /* end module SipIsup_SIP_XMLTypes */