Subject: [AAA-WG]: Issue: DCC Service-Identifier AVP in command level

From: "Harri Hakala (TU/LMF)" <[email-masked]>
Date: Mon, 8 Dec 2003 14:04:34 +0100

Service-Identifier AVP in command level
Submitter name: Harri Hakala
Submitter email address: [email-masked]
Date first submitted: 8.12.2003
Reference: 
Document: Diameter CCA-01
Comment type: T
Priority: 2
Section: 
Rationale/Explanation of issue:

We introduced last time (cca-01) the Service-Identifier AVP for multiple services
in a single credit control session. This AVP is used within Requested-Service Unit AVP.
Reading the description of the Service-Identifier AVP one can get easily impression that
the AVP can be used to identify the given service for ordinary credit control sessions
as well, and not only in case of multiple services in a single credit control session. 
Actually, this is something what would be very useful for all credit control sessions.
Therefore we propose to lift Service-Identifier AVP to the CCR command level as well.

Proposed changed:

Section 3.1, Credit-Control-Request (CCR) Command
ADD Service-Identifier AVP to the CCR command, i.e.:
Message Format      
         <Credit-Control-Request> ::= < Diameter Header: 272, REQ, PXY > 
                                      < Session-Id > 
                                      { Origin-Host } 
                                           .
                                           . 
                                           .
                                      [ Service-Identifier ]
                                           .
                                           .
                                           .

Section 8, Credit Control AVPs  
ADD:
                                          +---------------------+  
                                          |    AVP Flag rules   |  
                                          |----+-----+----+-----|----+  
                   AVP  Section           |    |     |SHLD| MUST|    |  
Attribute Name     Code Defined Data Type |MUST| MAY | NOT|  NOT|Encr|  
------------------------------------------|----+-----+----+-----|----|  
Service-Identifier 439  8.40    UTF8String| M  |  P  |    |  V  | Y  |  

10.1 Credit Control AVP Table 
ADD:
                              +-----------+  
                              |  Command  | 
                              |   Code    | 
                              |-----+-----+  
Attribute Name                | CCR | CCA | 
------------------------------|-----+-----+  
Service-Identifier            | 0-1 | 0   |