<?xml version="1.0" encoding="UTF-8"?>
<!--
      File : MtasComDetails.xml
      No.  : 4/190 04-AVA 901 18 Uen
      Date : 2014-11-28
      Rev  : C

 Copyright (c) 2009 Ericsson AB - All rights reserved.
 The Copyright to the computer program(s) herein is the property of
 Ericsson AB.
 The program(s) may be used and/or copied with the written permission
 from Ericsson AB or in accordance with the terms and conditions 
 stipulated in the agreement/contract under which the program(s) have 
 been supplied.

 The contents of this document are subject to revision without notice due
 to continued progress in methodology, design and manufacturing.
 Ericsson AB shall have no liability for any errors or damage of any kind
 resulting from the use of modified versions of this document.

 DESCRIPTION:
  This is an xml specification of the MTAS Communication Details Diameter interface as defined in
  the source document.

 SOURCE DOCUMENT:
   No. : 14/155 19-AVA 901 18 Uen
   Rev : C

 REVISION HISTORY:
 Rev    Date            Author      Action
 A      2013-04-18      estukar     MTAS 13B
                                    Document based on 4/190 04-CRA 119 2107
                                    New AVP: UHTZ-Offset for Time Zone in Charging
 B      2014-04-14      erudhes     Approved for 14B PRA
                                    Added new SSID value 802 ORIGINATING_PERMANENT_MCID
 C      2014-11-28      ebojian     Added AS-Type AVP

 CHANGES:
 The following has been changed due to new version of the source document:

 DEVIATIONS:
 The following has been changed, compared to the source document:

-->
<!-- Protocol header -->
<Protocol xmlns:xsi="<http://www.w3.org/2001/XMLSchema-instance>" id="Diameter customer, country" spec="RFC3588" name="Diameter" version="1.0" xsi:noNamespaceSchemaLocation="file:/$CLASSES/cmg/stdapp/diameter/validation/Diameter_addon_schema.xsd">
   <!---->
   <!-- Supported Vendor Identities -->
   <SupportedVendorId vendorId="10415" comment="3GPP"/>
   <SupportedVendorId vendorId="193" comment="Ericsson"/>
   <!---->
   <!-- AVP Declaration -->
   <AVP_Def name="Accounting-Record-Number" code="485" type="Unsigned32" mandatoryFlag="true"/>
   <AVP_Def name="Accounting-Record-Type" code="480" type="Enumerated" mandatoryFlag="true">
      <EnumValue value="1" comment="EVENT_RECORD"/>
   </AVP_Def>
   <AVP_Def name="Acct-Application-Id" code="259" type="Unsigned32" mandatoryFlag="true"/>
   <AVP_Def name="AS-Type" code="1433" type="Enumerated" vendorId="193" mandatoryFlag="false">
      <EnumValue value="0" comment="MMTel Telephony AS"/>
      <EnumValue value="1" comment="Redirection AS"/>
      <EnumValue value="2" comment="Scheduled Conference AS"/>
      <EnumValue value="3" comment="SCC AS"/>
      <EnumValue value="4" comment="Parlay X AS"/>
      <EnumValue value="5" comment="ST AS"/>
   </AVP_Def>
   <AVP_Def name="Called-Party-Address" code="832" type="UTF8String" vendorId="10415" mandatoryFlag="true"/>
   <AVP_Def name="Communication-Details" code="1184" type="Grouped" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Communication-Timestamp" code="1185" type="Time" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Contact-Header" code="1148" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Destination-Realm" code="283" type="DiameterIdentity" mandatoryFlag="true"/>
   <AVP_Def name="Ericsson-Service-Information" code="285" type="Grouped" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Event-Timestamp" code="55" type="Time" mandatoryFlag="true"/>
   <AVP_Def name="Experimental-Result" code="297" type="Grouped" mandatoryFlag="true"/>
   <AVP_Def name="Experimental-Result-Code" code="298" type="Unsigned32" mandatoryFlag="true"/>
   <AVP_Def name="From-Header" code="1153" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="History-Info-Header" code="1150" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="IMS-Information" code="876" type="Grouped" vendorId="10415" mandatoryFlag="true"/>
   <AVP_Def name="MMT-Information" code="1061" type="Grouped" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Node-Functionality" code="862" type="Enumerated" vendorId="10415" mandatoryFlag="true">
      <EnumValue value="6" comment="AS"/>
   </AVP_Def>
   <AVP_Def name="Origin-Host" code="264" type="DiameterIdentity" mandatoryFlag="true"/>
   <AVP_Def name="Origin-Realm" code="296" type="DiameterIdentity" mandatoryFlag="true"/>
   <AVP_Def name="P-Asserted-Identity-Header" code="1186" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Privacy-Header" code="1188" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Referred-By-Header" code="1151" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Request-URI" code="1187" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Result-Code" code="268" type="Unsigned32" mandatoryFlag="true"/>
   <AVP_Def name="Served-User-Address" code="1183" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Service-Context-Id" code="461" type="UTF8String" mandatoryFlag="true"/>
   <AVP_Def name="Service-Information" code="873" type="Grouped" vendorId="10415" mandatoryFlag="true"/>
   <AVP_Def name="Session-Id" code="263" type="UTF8String" mandatoryFlag="true"/>
   <AVP_Def name="Supplementary-Service-Action" code="1131" type="Enumerated" vendorId="193" mandatoryFlag="false">
      <EnumValue value="0" comment="USE_OF_SERVICE"/>
      <EnumValue value="107" comment="SSC_INVOCATION"/>
   </AVP_Def>
   <AVP_Def name="Supplementary-Service-Identity" code="1130" type="Enumerated" vendorId="193" mandatoryFlag="false">
      <EnumValue value="130" comment="DYNAMIC_BLACK_LIST"/>
      <EnumValue value="131" comment="MALICIOUS_COMMUNICATION_REJECTION"/>
      <EnumValue value="800" comment="PERMANENT_MCID"/>
      <EnumValue value="801" comment="TEMPORARY_MCID"/>
      <EnumValue value="802" comment="ORIGINATING_PERMANENT_MCID"/>
   </AVP_Def>
   <AVP_Def name="Supplementary-Service-Information" code="1129" type="Grouped" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="To-Header" code="1149" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="UHTZ-Offset" code="1388" type="UTF8String" vendorId="193" mandatoryFlag="false"/>
   <AVP_Def name="Vendor-Id" code="266" type="Unsigned32" mandatoryFlag="true"/>
   <!---->
   <!-- ACR Event -->
   <Request name="Event">
      <Condition key="Accounting-Record-Type" value="1"/>
      <AVP name="Session-Id"/>
      <AVP name="Origin-Host"/>
      <AVP name="Origin-Realm"/>
      <AVP name="Destination-Realm"/>
      <AVP name="Accounting-Record-Type"/>
      <AVP name="Accounting-Record-Number"/>
      <AVP name="Acct-Application-Id"/>
      <AVP name="Event-Timestamp"/>
      <AVP name="Service-Context-Id"/>
      <AVP name="Service-Information">
         <AVP name="IMS-Information">
            <AVP name="Node-Functionality"/>
            <AVP name="Called-Party-Address"/>
         </AVP>
      </AVP>
      <AVP name="Ericsson-Service-Information">
         <AVP name="AS-Type"/>
         <AVP name="MMT-Information">
            <AVP name="Served-User-Address"/>
            <AVP name="Supplementary-Service-Information" mapping="list" listSep="&#255;">
               <AVP name="Supplementary-Service-Identity"/>
               <AVP name="Supplementary-Service-Action"/>
            </AVP>
         </AVP>
         <AVP name="Communication-Details">
            <AVP name="Communication-Timestamp"/>
            <AVP name="P-Asserted-Identity-Header" mapping="list" listSep="&#255;"/>
            <AVP name="Request-URI"/>
            <AVP name="From-Header"/>
            <AVP name="To-Header"/>
            <AVP name="Contact-Header"/>
            <AVP name="History-Info-Header" mapping="list" listSep="&#255;"/>
            <AVP name="Privacy-Header"/>
            <AVP name="Referred-By-Header"/>
         </AVP>
         <AVP name="UHTZ-Offset"/>
      </AVP>
   </Request>
   <!---->
   <!-- ACA declaration -->
   <Response name="Answer">
      <AVP name="Session-Id"/>
      <AVP name="Result-Code"/>
      <AVP name="Experimental-Result">
         <AVP name="Vendor-Id"/>
         <AVP name="Experimental-Result-Code"/>
      </AVP>
      <AVP name="Origin-Host"/>
      <AVP name="Origin-Realm"/>
      <AVP name="Accounting-Record-Type"/>
      <AVP name="Accounting-Record-Number"/>
      <AVP name="Acct-Application-Id"/>
   </Response>
   <!---->
</Protocol>