Commit 0b9477bc authored by rennoch's avatar rennoch
Browse files

new group due to CDIV (STF369)

parent e2089c8a
Loading
Loading
Loading
Loading
+118 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@
 *					Rule_deactivated, Sidebars_by_val_type, Simservs, SimservType,
 *					Terminating_identity_presentation, Uri_type, Uris_type, User_roles_type,
 *   				User_languages_type, User_type, Users_type
 *   
 *   			new group CDIV added by STF369
 */

module LibSip_XMLTypes
@@ -643,4 +645,120 @@ group TIP_R_Types{
		enumerated {presentation_restricted, presentation_not_restricted} default_behaviour optional
	}
} /* end group TIP_R_Types */

group CDIV{

/*
	*	@desc		This module provides the XML type system for communication diversion. (ETSI TS 124504, V8.4.0)
	*				The types have been generated automatically, followed by manual modifications (STF369):
	*				- application of enumerated for: Diversion_reason_info_type
	*				- addition of value restriction: Comm_div_ntfy_trigger_criteria_type
	*				- additional type renaming (upper first letter): all types in group			
	*/

  type record Comm_div_ntfy_trigger_criteria_type {
    XSDAUX.anyAttributes anyAttributes,
    Time_range_selection_criteria_type notification_time_selection_criteria optional,
    Presence_status_selection_criteria_type presence_status_selection_criteria optional,
    XSDAUX.integerXSD notification_buffer_interval (-infinity .. 86400) optional,
    record of anytype any_1 optional
  }

  type record Comm_div_info_type {
    XSDAUX.anyURI entity,
    Comm_div_subs_info_type comm_div_subs_info optional,
    Comm_div_ntfy_info_type comm_div_ntfy_info optional,
    record of anytype any_1 optional
  }

  type record Comm_div_selection_criteria_type {
    XSDAUX.anyAttributes anyAttributes,
    User_selection_criteria_type originating_user_selection_criteria optional,
    XSDAUX.anyURI diverting_user_selection_criteria optional,
    XSDAUX.anyURI diverted_to_user_selection_criteria optional,
    Time_range_selection_criteria_type diversion_time_selection_criteria optional,
    Diversion_reason_selection_criteria_type diversion_reason_selection_criteria optional,
    record of anytype any_1 optional
  }

  type record User_selection_criteria_type {
    XSDAUX.anyAttributes anyAttributes,
    record of User_info_type user_info optional
  }

  type record Comm_div_info_selection_criteria_type {
    XSDAUX.anyAttributes anyAttributes,
    XSDAUX.booleanXSD disable_originating_user_info optional,
    XSDAUX.booleanXSD disable_diverting_user_info optional,
    XSDAUX.booleanXSD disable_diverted_to_user_info optional,
    XSDAUX.booleanXSD disable_diversion_time_info optional,
    XSDAUX.booleanXSD disable_diversion_reason_info optional,
    XSDAUX.booleanXSD disable_diversion_rule_info optional,
    record of anytype any_1 optional
  }

  type record Time_range_selection_criteria_type {
    XSDAUX.anyAttributes anyAttributes,
    record of Time_range_type time_range optional
  }

  type record Comm_div_subs_info_type {
    XSDAUX.anyAttributes anyAttributes,
    Comm_div_selection_criteria_type comm_div_selection_criteria optional,
    Comm_div_ntfy_trigger_criteria_type comm_div_ntfy_trigger_criteria optional,
    Comm_div_info_selection_criteria_type comm_div_info_selection_criteria optional,
    record of anytype any_1 optional
  }

  type Comm_div_info_type comm_div_info; 

  type record of Diversion_reason_info_type Diversion_reason_info_types; 

  type record Time_range_type {
    XSDAUX.anyAttributes anyAttributes,
    XSDAUX.dateTime start_time,
    XSDAUX.dateTime end_time
  }

  type record Diversion_reason_selection_criteria_type {
    XSDAUX.anyAttributes anyAttributes,
    Diversion_reason_info_types diversion_reason_info
  }

  type record User_info_type {
    XSDAUX.anyAttributes anyAttributes,
    XSDAUX.string user_name optional,
    XSDAUX.anyURI user_URI
  }

  type record Diversion_rule_info_type {
    XSDAUX.anyAttributes anyAttributes,
    XSDAUX.string diversion_rule
  }

  type record Presence_status_info_type {
    XSDAUX.anyAttributes anyAttributes,
    XSDAUX.string presence_status
  }

  type enumerated Diversion_reason_info_type {int404(404),int486(486),int408(408),int302(302),int487(487),int480(480),int503(503)}; 

  type record Comm_div_ntfy_info_type {
    XSDAUX.anyAttributes anyAttributes,
    User_info_type originating_user_info optional,
    XSDAUX.anyURI diverting_user_info optional,
    XSDAUX.anyURI diverted_to_user_info optional,
    XSDAUX.dateTime diversion_time_info optional,
    Diversion_reason_info_type diversion_reason_info optional,
    Diversion_rule_info_type diversion_rule_info optional,
    record of anytype any_1 optional
  }

  type record Presence_status_selection_criteria_type {
    XSDAUX.anyAttributes anyAttributes,
    record of Presence_status_info_type presence_status_info optional
  }

} /* end group CDIV */

} /* end module SipIsup_SIP_XMLTypes */