IMS-R8-2009-03
DEFINITIONS IMPLICIT TAGS ::=

BEGIN

--EXPORTS everything

--IMPORTS

--RecordType, IPAddress, ManagementExtensions, NodeAddress, LocalSequenceNumber, SubscriptionID, TimeStamp, ServiceContextID
--FROM GenericChargingDataTypes {itu-t (0) identified-organization (4) etsi(0) mobileDomain (0) charging (5) genericChargingDataTypes (0) asn1Module (0) version1 (0)}  

------------------------------------------------------------------------------
--
--  IMS RECORDS
--
------------------------------------------------------------------------------

IMSRecord ::= CHOICE 
--
-- Record values 63-69, 82 are IMS specific, 101-150 for CS, 151-200 for ps, 201-250 for ims
--
{
	sCSCFRecord			[63] SCSCFRecord,
	pCSCFRecord			[64] PCSCFRecord,
	iCSCFRecord			[65] ICSCFRecord,
	mRFCRecord			[66] MRFCRecord,
	mGCFRecord			[67] MGCFRecord,
	bGCFRecord			[68] BGCFRecord,
	aTSRecord			[69] ATSRecord,
	iBCFRecord			[82] IBCFRecord,
	vCCASRecord                     [201] VCCASRecord,
	vIDEOASRecord                   [202] VideoASRecord,
	aLUCTSRecord                    [203] ALUCTSRecord,
	mEDIAXRecord                    [204] MediaXRecord,
	aGCFRecord                      [205] AGCFRecord,
	cONFERENCEASRecord              [206] ConferenceASRecord,
	rCSRecord                       [252] RCSRecord,
	sBCRecord                       [253] SBCRecord,
	cENTREXASRecord                 [254] CentrexASRecord
}

SCSCFRecord 	::= SET
{
	recordType				[0] RecordType OPTIONAL,                                                                 																																																										
	retransmission				[1] NULL OPTIONAL,                      		                																																																								
	sIP-Method				[2] SIP-Method OPTIONAL,        		                        																																																								
	role-of-Node				[3] Role-of-Node OPTIONAL,              		                																																																								
	nodeAddress				[4] NodeAddress OPTIONAL,       		                        																																																								
	session-Id				[5] Session-Id OPTIONAL,        		                        																																																								
	list-Of-Calling-Party-Address		[6] ListOfInvolvedParties OPTIONAL,                     																																																										
	called-Party-Address			[7] InvolvedParty OPTIONAL,                     		        																																																								
	privateUserID				[8] GraphicString OPTIONAL,             		                																																																								
	serviceRequestTimeStamp			[9] TimeStamp OPTIONAL,                         		        																																																								
	serviceDeliveryStartTimeStamp		[10] TimeStamp OPTIONAL,                                																																																										
	serviceDeliveryEndTimeStamp		[11] TimeStamp OPTIONAL,                        		        																																																								
	recordOpeningTime			[12] TimeStamp OPTIONAL,                		                																																																								
	recordClosureTime			[13] TimeStamp OPTIONAL,                		                																																																								
	interOperatorIdentifiers		[14] InterOperatorIdentifierlist OPTIONAL,      		        																																																								
	localRecordSequenceNumber		[15] LocalSequenceNumber OPTIONAL,              		        																																																								
	recordSequenceNumber			[16] INTEGER OPTIONAL,                          		        																																																								
	causeForRecordClosing			[17] CauseForRecordClosing OPTIONAL,            		        																																																								
	incomplete-CDR-Indication		[18] Incomplete-CDR-Indication OPTIONAL,        		        																																																								
	iMS-Charging-Identifier			[19] IMS-Charging-Identifier OPTIONAL,          		        																																																								
	list-Of-SDP-Media-Components		[21] SEQUENCE OF Media-Components-List OPTIONAL,        																																																										
	gGSNaddress				[22] NodeAddress OPTIONAL,      		                        																																																								
	serviceReasonReturnCode			[23] UTF8String OPTIONAL,                       		        																																																								
	list-Of-Message-Bodies			[24] SEQUENCE OF MessageBody OPTIONAL,          		        																																																								
	recordExtensions			[25] ManagementExtensions OPTIONAL,     		                																																																								
	expiresInformation			[26] INTEGER OPTIONAL,                  		                																																																								
	list-Of-Associated-URI			[27] ListOfInvolvedParties OPTIONAL,            		        																																																								
	event					[28] UTF8String OPTIONAL,       		                        																																																								
	accessNetworkInformation		[29] OCTET STRING OPTIONAL,                     		        																																																								
	serviceContextID			[30] ServiceContextID OPTIONAL,         		                																																																								
	list-of-subscription-ID			[31] SEQUENCE OF SubscriptionID OPTIONAL,       		        																																																								
	list-Of-Early-SDP-Media-Components 	[32] SEQUENCE OF Early-Media-Components-List OPTIONAL,  																																																										
	iMSCommunicationServiceIdentifier	[33] IMSCommunicationServiceIdentifier OPTIONAL,        																																																										
	numberPortabilityRouting		[34] NumberPortabilityRouting OPTIONAL,         		        																																																								
	carrierSelectRouting			[35] CarrierSelectRouting OPTIONAL, 
	ims-3gpp-Session-Priority           [36] INTEGER OPTIONAL,
	serviceRequestTimeStampFraction		[37] Milliseconds OPTIONAL,
	serviceDeliveryStartTimeStampFraction [38] Milliseconds OPTIONAL,
	serviceDeliveryEndTimeStampFraction	[39] Milliseconds OPTIONAL,	
	applicationServersInformation		[40] SEQUENCE OF ApplicationServersInformation OPTIONAL,																																																										
	requested-Party-Address			[41] InvolvedParty OPTIONAL,                    		        																																																								
	list-Of-Called-Asserted-Identity 	[42] ListOfInvolvedParties OPTIONAL,
	
	--SCSCF extension              																																																										
	duration                                [200] INTEGER OPTIONAL,
	onlineChargingType                      [201] Online-Charging-Type OPTIONAL,
        origin-Callee-Party-Address             [202] InvolvedParty OPTIONAL,
        dialled-Party-Address                   [203] InvolvedParty OPTIONAL,
        ringing-Duration                        [204] UnsignedInter32 OPTIONAL,
        session-Priority                        [205] Session-Priority OPTIONAL,
        carrier-Identification-Code             [206] GraphicString OPTIONAL,
        abnormal-Finish-Info                    [207] Abnormal-Finish-Info OPTIONAL,
        nP-Data                                 [208] NP-Data OPTIONAL,
        refer-To                                [209] UTF8String OPTIONAL,
        target                                  [210] UTF8String OPTIONAL,
        inner-error                             [265] INTEGER OPTIONAL,
        application-Servers-State               [266] INTEGER OPTIONAL,
        list-of-application-Servers-Abnormal    [267] SEQUENCE OF Application-Servers-Abnormal OPTIONAL,
        segment-Id                              [300] UnsignedInter32 OPTIONAL,
	private-ConnectTime                     [424] Private-ConnectTime OPTIONAL
}       

PCSCFRecord 	::= SET
{
	recordType				[0] RecordType OPTIONAL,                                            
	retransmission				[1] NULL OPTIONAL,                                         
	sIP-Method				[2] SIP-Method OPTIONAL,                                   
	role-of-Node				[3] Role-of-Node OPTIONAL,                                 
	nodeAddress				[4] NodeAddress OPTIONAL,                                  
	session-Id				[5] Session-Id OPTIONAL,                                   
	list-Of-Calling-Party-Address		[6] ListOfInvolvedParties OPTIONAL,                        
	called-Party-Address			[7] InvolvedParty OPTIONAL,  
	serviceRequestTimeStamp			[9] TimeStamp OPTIONAL,                                    
	serviceDeliveryStartTimeStamp		[10] TimeStamp OPTIONAL,                                   
	serviceDeliveryEndTimeStamp		[11] TimeStamp OPTIONAL,                                   
	recordOpeningTime			[12] TimeStamp OPTIONAL,                                   
	recordClosureTime			[13] TimeStamp OPTIONAL,                                   
	interOperatorIdentifiers		[14] InterOperatorIdentifierlist OPTIONAL,                 
	localRecordSequenceNumber		[15] LocalSequenceNumber OPTIONAL,                         
	recordSequenceNumber			[16] INTEGER OPTIONAL,                                     
	causeForRecordClosing			[17] CauseForRecordClosing OPTIONAL,                       
	incomplete-CDR-Indication		[18] Incomplete-CDR-Indication OPTIONAL,                   
	iMS-Charging-Identifier			[19] IMS-Charging-Identifier OPTIONAL,                     
	list-Of-SDP-Media-Components		[21] SEQUENCE OF Media-Components-List OPTIONAL,           
	gGSNaddress				[22] NodeAddress OPTIONAL,                                 
	serviceReasonReturnCode			[23] UTF8String OPTIONAL,                                  
	list-Of-Message-Bodies			[24] SEQUENCE OF MessageBody OPTIONAL,                     
	recordExtensions			[25] ManagementExtensions OPTIONAL,                        
	expiresInformation			[26] INTEGER OPTIONAL,                                     
	list-Of-Associated-URI			[27] ListOfInvolvedParties OPTIONAL,                       
	event					[28] UTF8String OPTIONAL,                                  
	accessNetworkInformation		[29] OCTET STRING OPTIONAL,                                
	serviceContextID			[30] ServiceContextID OPTIONAL,                            
	list-of-subscription-ID			[31] SEQUENCE OF SubscriptionID OPTIONAL,                  
	list-Of-Early-SDP-Media-Components 	[32] SEQUENCE OF Early-Media-Components-List OPTIONAL,     
	numberPortabilityRouting		[34] NumberPortabilityRouting OPTIONAL,                    
	carrierSelectRouting			[35] CarrierSelectRouting OPTIONAL, 
	ims-3gpp-Session-Priority           [36] INTEGER OPTIONAL,
	serviceRequestTimeStampFraction		[37] Milliseconds OPTIONAL,
	serviceDeliveryStartTimeStampFraction [38] Milliseconds OPTIONAL,
	serviceDeliveryEndTimeStampFraction	[39] Milliseconds OPTIONAL,		
	servedPartyIPAddress			[50] ServedPartyIPAddress OPTIONAL,
	
	--PCSCF extension       
	privateUserID				[8] GraphicString OPTIONAL,                            
	duration                                [200] INTEGER OPTIONAL,  
        ringing-Duration                        [204] UnsignedInter32 OPTIONAL,
        session-Priority                        [205] Session-Priority OPTIONAL,
        abnormal-Finish-Info                    [207] Abnormal-Finish-Info OPTIONAL,
        refer-To                                [209] UTF8String OPTIONAL,
        target                                  [210] UTF8String OPTIONAL,            
	locationInformation                     [240] Location-Information OPTIONAL,
	recordExtensions1			[241] ManagementExtensions OPTIONAL,
	recordExtensions2			[242] ManagementExtensions OPTIONAL,
	recordExtensions3			[243] ManagementExtensions OPTIONAL,
	inner-error                             [265] INTEGER OPTIONAL,
	charge-Category				[268] INTEGER OPTIONAL,
	onlineChargingType    [244] Online-Charging-Type OPTIONAL		--add by pkf38463 2011-01-22 DTS2010123003508
}

ICSCFRecord 	::= SET
{
	recordType			[0] RecordType OPTIONAL,                                       
	retransmission			[1] NULL OPTIONAL,                                    
	sIP-Method			[2] SIP-Method OPTIONAL,                              
	role-of-Node			[3] Role-of-Node OPTIONAL,                            
	nodeAddress			[4] NodeAddress OPTIONAL,                             
	session-Id			[5] Session-Id OPTIONAL,                              
	list-Of-Calling-Party-Address	[6] ListOfInvolvedParties OPTIONAL,                   
	called-Party-Address		[7] InvolvedParty OPTIONAL,                           
	serviceRequestTimeStamp		[9] TimeStamp OPTIONAL,                               
	interOperatorIdentifiers	[14] InterOperatorIdentifierlist OPTIONAL,            
	localRecordSequenceNumber	[15] LocalSequenceNumber OPTIONAL,                    
	causeForRecordClosing		[17] CauseForRecordClosing OPTIONAL,                  
	incomplete-CDR-Indication	[18] Incomplete-CDR-Indication OPTIONAL,              
	iMS-Charging-Identifier		[19] IMS-Charging-Identifier OPTIONAL,                
	serviceReasonReturnCode		[23] UTF8String OPTIONAL,                             
	recordExtensions		[25] ManagementExtensions OPTIONAL,                   
	expiresInformation		[26] INTEGER OPTIONAL,                                
	list-Of-Associated-URI		[27] ListOfInvolvedParties OPTIONAL,                  
	event				[28] UTF8String OPTIONAL,                             
	accessNetworkInformation	[29] OCTET STRING OPTIONAL,                           
	serviceContextID		[30] ServiceContextID OPTIONAL,                       
	numberPortabilityRouting	[34] NumberPortabilityRouting OPTIONAL,               
	carrierSelectRouting		[35] CarrierSelectRouting OPTIONAL, 
	ims-3gpp-Session-Priority           [36] INTEGER OPTIONAL,
	s-CSCF-Information		[61] S-CSCF-Information OPTIONAL,
	
	--ICSCF extension
        list-Of-Message-Bodies		 [24] SEQUENCE OF MessageBody OPTIONAL,
        list-of-subscription-ID		 [31] SEQUENCE OF SubscriptionID OPTIONAL,    
        abnormal-Finish-Info             [207] Abnormal-Finish-Info OPTIONAL
}

MRFCRecord 	::= SET
{
	recordType				[0] RecordType OPTIONAL,                                             
	retransmission				[1] NULL OPTIONAL,