You are on page 1of 96

HUAWEI UGW9811 V900R009C01

Gy Interface Specification

Issue Date

01 2011 10 !1

HUAWEI "ECH#$%$GIES C$&' %"D&

Copyri()t * Hua+ei "ec)no,o(ies Co&' %t-& 2011& A,, ri()ts reser.e-&


No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd.

"ra-e/ar0s an- 1er/issions


and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders.

#otice
The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. nless otherwise specified in the contract, all statements, information, and recommendations in this document are provided !A" #"! without warranties, guarantees or representations of any kind, either e$press or implied. The information in this document is sub%ect to change without notice. &very effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute the warranty of any kind, e$press or implied.

Huawei Technologies Co., Ltd.


Address' Huawei #ndustrial (ase (antian, Longgang "hen)hen *+,+-. /eople0s 1epublic of China 2ebsite' &mail' http'33www.huawei.com support4huawei.com

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

Contents

About This Document


Purpose
This do u,ent des ri-es the detailed spe ifi ation of (n referen e point i,ple,ented in $(&)*11!

Intended Audience
This do u,ent is intended for.

Poli y planning engineers Installation and o,,issioning engineers Te hni al support engineers

Symbol Conventions
The sy,-ols that ,ay -e found in this do u,ent are defined as follows! Symbol Description %lerts you to a high ris/ ha0ard that ould" if not a1oided" result in serious in2ury or death! %lerts you to a ,ediu, or low ris/ ha0ard that ould" if not a1oided" result in ,oderate or ,inor in2ury! %lerts you to a potentially ha0ardous situation that ould" if not a1oided" result in e3uip,ent da,age" data loss" perfor,an e deterioration" or unanti ipated results! Pro1ides a tip that ,ay help you sol1e a pro-le, or sa1e ti,e! Pro1ides additional infor,ation to e,phasi0e or supple,ent i,portant points in the ,ain te4t!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

ii

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

Contents

Change History
Changes -etween do u,ent issues are u,ulati1e! The latest do u,ent issue ontains all the hanges ,ade in earlier issues!

Issue 01 ( 011!10!"1#
Initial field trial release!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

iii

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

Contents

Contents
About This Document$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ii

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

i1

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Protocol De%inition

1$1 Protocol Architecture


The proto ol ar hite ture of the 5CC% (5ia,eter Credit Control %ppli ation) is as follows! Figure a.1 Proto ol %r hite ture of 5CC%

1$

Protocol &ormat
The ,essage ar hite ture of the 5ia,eter proto ol is shown in the following figure! These seg,ents are sent in the order of networ/ -yte! Figure a.1 6essage head for,at
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Version | Message Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | command f ags | !ommand-!ode | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | "## ication-$% |

1$ $1 'essage Head &ormat

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | &o#-'(-&o# $dentifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | )nd-to-)nd $dentifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | "V*s +++ +-+-+-+-+-+-+-+-+-+-+-+-+-

7ersion. This 7ersion field 6$+T -e set to 1 to indi ate 5ia,eter 7ersion 1! 6essage #ength. The 6essage #ength field is three o tets and indi ates the length of the 5ia,eter ,essage in luding the header fields! Co,,and flags. The Co,,and 8lags field is eight -its! The following -its are assigned.

Figure a.2 Co,,and 8lag


0 1 2 3 4 5 6 7 +-+-+-+-+-+-+-+-+ |, * ) - r r r r| +-+-+-+-+-+-+-+-+

9 9 9

:(e3uest) - If set" the ,essage is a re3uest! If leared" the ,essage is an answer! P(ro4ia-le) ;If set" the ,essage 6%< -e deputi0ed" relayed or redire ted! If leared" the ,essage 6$+T -e lo ally pro essed! '(rror) - If set" the ,essage ontains a proto ol error" and the ,essage will not onfor, to the %=>8 des ri-ed for this o,,and! 6essages with the ?'? -it set are o,,only referred to as error ,essages! This -it 6$+T >@T -e set in re3uest ,essa ges! T(Potentially re-trans,itted ,essage)- This flag is set after a lin/ failo1er pro edure" to aid the re,o1al of dupli ate re3uests! It is set when resending re3uests not yet a /nowledged" as an indi ation of a possi-le dupli ate due to a lin/ failure! This -it 6$+T -e leared when sending a re3uest for the first ti,e" otherwise the sender 6$+T set this flag! 5ia,eter agents only need to -e on erned a-out the nu,-er of re3uests they send -ased on a single re ei1ed re3uestA retrans,issions -y other entities need not -e tra /ed! 5ia,eter agents that re ei1e a re3uest with the T flag set" 6$+T /eep the T flag set in the forwarded re3uest! This flag 6$+T >@T -e set if an error answer ,essage (e!g!" a proto ol error) has -een re ei1ed for the earlier ,essage! It an -e set only in ases where no answer has -een re ei1ed fro, the ser1er for a re3uest and the re3uest is sent again! This flag 6$+T >@T -e set in answer ,essages! r(eser1ed) - these flag -its are reser1ed for future use" and 6$+T -e set to 0ero" and ignored -y the re ei1er!

Co,,and-Code. The Co,,and-Code field is three o tets" and is used in order to o,,uni ate the o,,and asso iated with the ,essage! The 2B--it address spa e is ,anaged -y I%>%! Co,,and-Code 1alues 1C"DDD"21B and 1C"DDD"21E (he4ade i,al 1alues 88888' -888888) are reser1ed for e4peri,ental use! %ppli ation-I5. %ppli ation-I5 is four o tets and is used to identify to whi h appli ation the ,essage is appli a-le for! The appli ation an -e an authenti ation appli ation" an a ounting appli ation or a 1endor spe ifi appli ation! +ee +e tion for the possi-le 1alues that the appli ation-id ,ay use!

The appli ation-id in the header 6$+T -e the sa,e as what is ontained in any rele1ant %7Ps
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td 2

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

ontained in the ,essage!

Hop--y-Hop Identifier. The Hop--y-Hop Identifier is an unsigned 32--it integer field (in networ/ -yte order) and aids in ,at hing re3uests and replies! The sender 6$+T ensure that the Hop--y-Hop identifier in a re3uest is uni3ue on a gi1en onne tion at any gi1en ti,e" and 6%< atte,pt to ensure that the nu,-er is uni3ue a ross re-oots! The sender of an %nswer ,essage 6$+T ensure that the Hop--y-Hop Identifier field ontains the sa,e 1alue that was found in the orresponding re3uest! The Hop--y-Hop identifier is nor,ally a ,onotoni ally in reasing nu,-er" whose start 1alue was rando,ly generated! %n answer ,essage that is re ei1ed with an un/nown Hop--y-Hop Identifier 6$+T -e dis arded! 'nd-to-'nd Identifier. The 'nd-to-'nd Identifier is an unsigned 32--it integer field (in networ/ -yte order) and is used to dete t dupli ate ,essages! $pon re-oot i,ple,entations 6%< set the high order 12 -its to ontain the low order 12 -its of urrent ti,e" and the low order 20 -its to a rando, 1alue! +enders of re3uest ,essages 6$+T insert a uni3ue identifier on ea h ,essage! The identifier 6$+T re,ain lo ally uni3ue for a period of at least B ,inutes" e1en a ross re-oots! The originator of an %nswer ,essage 6$+T ensure that the 'nd-to-'nd Identifier field ontains the sa,e 1alue that was found in the orresponding re3uest! The 'nd-to-'nd Identifier 6$+T >@T -e ,odified -y 5ia,eter agents of any /ind! The o,-ination of the @rigin-Host and this field is used to dete t dupli ates! 5upli ate re3uests +H@$#5 ause the sa,e answer to -e trans,itted" and 6$+T >@T affe t any state that was set when the original re3uest was pro essed! 5upli ate answer ,essages that are to -e lo ally onsu,ed +H@$#5 -e silently dis arded! %7Ps. %7Ps are a ,ethod of en apsulating infor,ation rele1ant to the 5ia,eter ,essage!

1$ $

'essage (ist
Figure a.1 6essage #ist of 5CC% Command )ame
Credit-Control-:e3uest Credit-Control-%nswer :e-%uth-:e3uest :e-%uth-%nswer %-ort-+ession-:e3uest %-ort-+ession-%nswer 5e1i e-&at hdog-:e3uest 5e1i e-&at hdog-%nswer 5is onne t-Peer-:e3uest 5is onne t-Peer-%nswer Capa-ilities-'4 hange-:e3uest Capa-ilities-'4 hange-%nswer

Acronym
CC: CC% :%: :%% %+: %+% 5&: 5&% 5P: 5P% C': C'%

Command Code
2D2 2D2 2E* 2E* 2DB 2DB 2*0 2*0 2*2 2*2 2ED 2ED

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

1$ $" A*P Head &ormat


The seg,ents in the %7P should -e sent in the order of networ/ -yte! The %7P head for,at is shown in the following figure! Figure a.1 %7P head for,at
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | "V* !ode | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V M * r r r r r| "V* Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Vendor-$% .o#t/ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | %ata +++ +-+-+-+-+-+-+-+-+

%7P Code

The %7P Code" o,-ined with the 7endor-Id field" identifies the attri-ute uni3uely! %7P nu,-ers 1 through 2EE are reser1ed for -a /ward o,pati-ility with :%5I$+" without setting the 7endor-Id field! %7P nu,-ers 2EC and a-o1e are used for 5ia,eter" whi h are allo ated -y I%>%!

%7P 8lags

The %7P 8lags field infor,s the re ei1er how ea h attri-ute ,ust -e handled! The ?r? (reser1ed) -its are unused and +H@$#5 -e set to 0! >ote that su-se3uent 5ia,eter appli ations 6%< define additional -its within the %7P Header" and an unre ogni0ed -it +H@$#5 -e onsidered an error! The ?P? -it indi ates the need for en ryption for end-to-end se urity! The ?6? =it" /nown as the 6andatory -it" indi ates whether support of the %7P is re3uired! If an %7P with the ?6? -it set is re ei1ed -y a 5ia,eter lient" ser1er" pro4y" or translation agent and either the %7P or its 1alue is unre ogni0ed" the ,essage 6$+T -e re2e ted! 5ia,eter :elay and redire t agents 6$+T >@T re2e t ,essages with unre ogni0ed %7Ps! %7Ps with the ?6? -it leared are infor,ational only and a re ei1er that re ei1es a ,essage with su h an %7P that is not supported" or whose 1alue is not supported" 6%< si,ply ignore the %7P! The ?7? -it" /nown as the 7endor-+pe ifi -it" indi ates whether the optional 7endor-I5 field is present in the %7P header! &hen set the %7P Code -elongs to the spe ifi 1endor ode address spa e! $nless otherwise noted" %7Ps will ha1e the following default %7P 8lags field settings. The ?6? -it 6$+T -e set! The ?7? -it 6$+T >@T -e set!

%7P #ength

The %7P #ength field is three o tets" and indi ates the nu,-er of o tets in this %7P in luding the %7P Code" %7P #ength" %7P 8lags" 7endor-I5 field (if present) and the %7P data! If a ,essage is re ei1ed with an in1alid attri-ute length" the ,essage +H@$#5 -e re2e ted!
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td B

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

1$ $+ A*P Data &ormats


The 5ata field is 0ero or ,ore o tets and ontains infor,ation spe ifi to the %ttri-ute! The for,at and length of the 5ata field is deter,ined -y the %7P Code and %7P #ength fields! The for,at of the 5ata field 6$+T -e one of the following -ase data types!

@ tet+tring

The data ontains ar-itrary data of 1aria-le length! $nless otherwise noted" the %7P #ength field 6$+T -e set to at least * (12 if the ?7? -it is ena-led)! %7P 7alues of this type that are not a ,ultiple of four-o tets in length is followed -y the ne essary padding so that the ne4t %7P (if any) will start on a 32--it -oundary!

Integer32

32 -it signed 1alue" in networ/ -yte order! The %7P #ength field 6$+T -e set to 12 (1C if the ?7? -it is ena-led)!

IntegerCB

CB -it signed 1alue" in networ/ -yte order! The %7P #ength field 6$+T -e set to 1C (20 if the ?7? -it is ena-led)!

$nsigned32

32 -it unsigned 1alue" in networ/ -yte order! The %7P #ength field 6$+T -e set to 12 (1C if the ?7? -it is ena-led)!

$nsignedCB

CB -it unsigned 1alue" in networ/ -yte order! The %7P #ength field 6$+T -e set to 1C (20 if the ?7? -it is ena-led)!

8loat32

This represents floating point 1alues of single pre ision as des ri-ed -y I''' DEB-1)*E! The 32--it 1alue is trans,itted in networ/ -yte order! The %7P #ength field 6$+T -e set to 12 (1C if the ?7? -it is ena-led)!

8loatCB

This represents floating point 1alues of dou-le pre ision as des ri-ed -y I''' DEB-1)*E! The CB--it 1alue is trans,itted in networ/ -yte order! The %7P #ength field 6$+T -e set to 1C (20 if the ?7? -it is ena-led)!

(rouped

The 5ata field is spe ified as a se3uen e of %7Ps! 'a h of these %7Ps follows - in the order in whi h they are spe ified - in luding their headers and padding! The %7P #ength field is set to * (12 if the ?7? -it is ena-led) plus the total length of all in luded %7Ps" in luding their headers and padding! Thus the %7P length field of an %7P of type (rouped is always a ,ultiple of B!

%ddress

The %ddress for,at is deri1ed fro, the @ tet+tring %7P =ase 8or,at! It is a dis ri,inated union" representing" for e4a,ple a 32--it (IP1B) or 12*--it (IP1C) address" ,ost signifi ant o tet first! The first two o tets of the %ddress %7P represent the %ddressType" whi h ontains an %ddress 8a,ily defined in I%>%%58%6! The %ddressType is used to dis ri,inate the ontent and for,at of the re,aining o tets!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Ti,e

The Ti,e for,at is deri1ed fro, the @ tet+tring %7P =ase 8or,at! The string 6$+T ontain four o tets" in the sa,e for,at as the first four -ytes are in the >TP ti,esta,p for,at! This represents the nu,-er of se onds sin e 0h on 1 Fanuary 1)00 with respe t to the Coordinated $ni1ersal Ti,e ($TC)! @n Ch 2*, 1Cs $TC" D 8e-ruary 203C the ti,e 1alue will o1erflow! +>TP des ri-es a pro edure to e4tend the ti,e to 210B!This pro edure 6$+T -e supported -y all 5I%6'T': nodes!

$T8*+tring

The $T8*+tring for,at is deri1ed fro, the @ tet+tring %7P =ase 8or,at! This is a hu,an reada-le string represented using the I+@GI'C I+ 10CBC-1 hara ter set" en oded as an @ tet+tring using the $T8-* transfor,ation for,at des ri-ed in :8C 22D)!

5ia,eterIdentity

The 5ia,eterIdentity for,at is deri1ed fro, the @ tet+tring %7P =ase 8or,at! 5ia,eterIdentity H 8I5> 5ia,eterIdentity 1alue is used to uni3uely identify a 5ia,eter node for purposes of dupli ate onne tion and routing loop dete tion! The ontents of the string 6$+T -e the 8I5> of the 5ia,eter node! If ,ultiple 5ia,eter nodes run on the sa,e host" ea h 5ia,eter node 6$+T -e assigned a uni3ue 5ia,eterIdentity! If a 5ia,eter node an -e identified -y se1eral 8I5>s" a single 8I5> should -e pi /ed at startup" and used as the only 5ia,eterIdentity for that node" whate1er the onne tion it is sent on!

'nu,erated

'nu,erated is deri1ed fro, the Integer32 %7P =ase 8or,at! The definition ontains a list of 1alid 1alues and their interpretation and is des ri-ed in the 5ia,eter appli ation introdu ing the %7P!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Inter%ace Description
$1 ,nline Charging &rame-or.
Figure a.1 @nline harging fra,ewor/

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

/asic principles
%s des ri-ed in 3(PP" there are two su--fun tions for online harging that affe t online harging. rating and unit deter,ination! =oth rating and unit deter,ination an -e i,ple,ented entrali0ed" i!e! on the @C+" or de entrali0ed" that is" on the (&!

$nit deter,ination refers to the al ulation of the nu,-er of non-,onetary units (ser1i e units" data 1olu,e" ti,e and e1ents) that shall -e assigned prior to starting ser1i e deli1ery! :ating refers to the al ulation of a pri e out of the non-,onetary units al ulated -y the unit deter,ination fun tion!

8or Huawei (&" only entrali0ed ,ode is supported" and (& fo us on pa /et inspe tions and ategorise and ontrol traffi flows a ording to harging rules either fro, lo al onfiguration or poli y ser1er(i!e! PC:8" %%%" et ) +o -asi -eha1ior on @C+ and (& is des ri-ed -elow. @C+ deter,ines the nu,-er of non-,onetary units that a ertain ser1i e user an onsu,e -ased on a rating group G ser1i e identifier re ei1ed fro, the (& %fter he /ing the ser1i e user?s a ount -alan e" the @C+ returns the nu,-er of granted units to the (&! (& is then responsi-le for the super1ision of ser1i e deli1ery! Parti ularly" the (& shall li,it ser1i e deli1ery to the orresponding nu,-er of granted units!

$" Charging 'odes


In 3(PP" in order to perfor, e1ent harging 1ia (y" the s enarios -etween the in1ol1ed entities $'-%" @C+ and (& need to -e defined! There are three intera ti1e ,odes -etween (& and @C+ for online harging an -e deployed for different s enarios .

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

$"$1 Immediate 0vent Charging


Figure a.1 @nline harging I'C ,ode

In I'C ,ode" (& identify harging e1ent first and then forwards the harging e1ent to the @C+A Then @C+ deter,ines the 1alue of the re3uested resour e usage and debits this 1alue fro, the su-s ri-er a ount immediately and response the resour e usage to (& to authorise this harging e1ent re3uest! (& e4e utes the resour e usage a ording to the user re3uest and the @C+ authorisation! %fter o,pletion of the resour e usage" if the ser1i e a ess failed" (& infor,s @C+ a ordingly a-out the failure to refund the orresponding 3uota to the su-s ri-er a ount immediately

01ceptions and abnormal cases


If @C+ re2e ts the resour e re3uest! In this ase" the (& should disallows the ser1i e a ess!!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

$"$

0vent Charging -ith 2eservation


Figure a.1 @nline harging s'C$: ,ode
GW OCS

1! +er1i e :e3uest Reserve Units Operation 2! CC: (I>ITI%#J:'I$'+T" :+$) 3! Perfor , Charging Control B! CC% (I>ITI%#J:'I$'+T" (+$" K7TL)

E! +er1i e 5eli1ery Debit Units Operation

C! CC: (T':6I>%TI@>J:'I$'+T" $+$) D!! Perfor, Charging Control *! CC% (T':6I>%TI@>J:'I$'+T" CI)

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Figure a.2 @nline harging e'C$: ,ode

In 'C$: ,ode" (& identify harging e1ent first and then forwards the harging e1ent to the @C+A Then @C+ deter,ines the 1alue of the re3uested resour e usage and reserves this 1alue fro, the su-s ri-er a ountA The @C+ response the resour e usage to (& to authorise this harging e1ent re3uest! (& e4e utes the resour e usage a ording to the user re3uest and the @C+ authorisation! %fter o,pletion (or failure) of the resour e usage" the (& infor,s the @C+ a ordingly a-out the o,pletion or failureA In line with the result report fro, the (&" the @C+ either debits the reser1ed a,ount fro, the su-s ri-er a ount (su ess)" or it refund the unused a,ount -a / to the su-s ri-er a ount (failure)!

01ceptions and abnormal cases3


If @C+ re2e ts the resour e re3uest! In this ase" the (& should disallows the ser1i e a ess!! 8or 'C$: ,ode" 3(PP defination hanges -etween 200E and 200C releases! In old defination" 'C$: ,ode has CC-$pdate intera tion" whi h was delete in new :elease in 200C!
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td E

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Huawei (& supports -oth /inds of 'C$: ,ode and it ould -e onfigured lo ally! %nd nor,ally refered the old 'C$: ,ode with CC-$pdate intera tion as e'C$: (enhan ed'C$:) ,ode" and the new 'C$: without CC-$pdate intera tion as s'C$:(standard'C$:)!

$"$" Session charging -ith 2eservation


Figure a.1 @nline harging +C$: ,ode

In +C$: ,ode +ession -ased online harging always in1ol1es reservation within the redit ontrol pro edure (+C$:)" as there is no way for the @C+ to predi t the a,ount of resour e usage that o urs during the user session! To -egin with" the (& forward generates a harging hargea-le e1ent that orresponds to the resour e usage re3uest and ,aps onto the user session" and forwards it to the @C+! In the @C+" the online harging session is started and a ertain a,ount 3uota reser1ed fro, the user su-s ri-er a ount! This a,ount is deter,ined -y the @C+ -ased on the infor,ation reported with the harging e1ent and on lo al onfiguration" i!e! operator poli y! 8urther harging e1ents are sent fro, the (& to the @C+ upon the dete tion of further hargea-le e1ents within the session !e!g! the e4piry of in inter1als onfigured on the (& or instru ted -y the @C+" or when the authorised 3uota e4pires" or when session hara teristi s
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td C

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

hange (e!g! hange of Io+ of a P5P onte4t)! The @C+ then furnishes a new 3uota to the (& as re3uired" or re2e ts the harging e1ent" e!g! due to e4haust of redit on the su-s ri-er a ount! %s des ri-ed a-o1e a-out the three ,odes of online harging" +C$: is the -asi online harging ,ode ,ostly used for 1olu,e G ti,e -ased harging" whi h intera ti1e with @C+ in a single 5CC session!'C$: G I'C is an additional ,ode to handle e1ent -ased harging" whi h intera ti1e with @C+ in another 5CC session different with +C$: session! 8or e1ent -ased harging" I'C ,ode is re o,,ended -e ause of sa1ing lots of signaling nor,ally ( ,ost ser1i e a ess ould -e su ess and sa1es signaling for refund 3uota)!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"

Inter%ace De%inition

"$1 'essage &ormat De%inition


In the following state,ent" MNOM ,eans that it is o,pulsory and should -e in the -eginning of the ,essage" MPQM ,eans that it is o,pulsory" MKLM ,eans that it is optional" and MRKLM ,eans that the option an -e repeated! 6 Co,pulsory C Condition optional @6 Co,pulsory option defined -y the operator @C Condition optional option defined -y the operator

"$1$1 Credit!Control!2e4uest (CC2#


The Credit-Control-:e3uest ,essage (CC:) is indi ated -y the o,,and- ode field -eing set to 2D2 and the ?:? -it -eing set in the Co,,and 8lags field! It is used -etween the 5ia,eter redit- ontrol lient and the redit- ontrol ser1er to re3uest redit authori0ation for a gi1en ser1i e! 6essage for,at.
0!redit-!ontro -,e12est3 445 0 %iameter &eader4 2726 ,)76 *89 3 0:ession-$d3 ;<rigin-&ost= ;<rigin-,ea m= ;%estination-,ea m= ;"2th-"## ication-$d= ;:er>ice-!onte?t-$d= ;!!-,e12est--(#e= ;!!-,e12est-@2m'er= A,e12ested-"ctionB A%estination-&ostB ACser-@ameB A<rigin-:tate-$dB A)>ent--imestam#B DA:2'scri#tion-$dB A-ermination-!a2seB AM2 ti# e-:er>ices-$ndicatorB DAM2 ti# e-:er>ices-!redit !ontro B

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation


ACser-)12i#ment-$nfoB A:er>ice-$nformationB DA"V*B

3 Interfa e 5efinition

The P+-Infor,ation %7P is shown -elow.


:er>ice-$nformation 44 5 0 "V* &eader4 8733 A *:-$nformation B A 3E**-!harging-$d B A 3E**-*%*--(#e B DA *%*-"ddress B A 3E**-E*,:-@egotiated-7o:-*rofi e B A :E:@-"ddress B A EE:@-"ddress B A !E-"ddress B A 3E**-$M:$-M!!-M@! B A 3E**-EE:@- M!!-M@! B A 3E**-@:"*$ B A !a ed-:tation-$d B A 3E**-:ession-:to#-$ndicator B A 3E**-:e ection-Mode B A 3E**-!harging-!haracteristics B A 3E**-:E:@-M!!-M@! B A 3E**-M:--imeFone B A !harging-,2 e-Gase-@ame B A 3E**-Cser-Location-$nfo B A 3E**-,"---(#e B A *:-H2rnish-!harging-$nformation B A *%*-!onte?t--(#e B A *%@-!onnection-$%B A :er>ing-@ode--(#eB A :tart--ime B A :to#--ime B

"$1$

Credit!Control!Ans-er (CCA#
The Credit-Control-%nswer ,essage (CC%) is indi ated -y the o,,and- ode field -eing set to 2D2 and the ?:? -it -eing leared in the Co,,and 8lags field! It is used -etween the reditontrol ser1er and the 5ia,eter redit- ontrol lient to a /nowledge a Credit-Control-:e3uest o,,and! 6essage 8or,at.
0!redit-!ontro -"nsIer3 445 0 %iameter &eader4 2726 *89 3 0:ession-$d3 ;,es2 t-!ode= ;<rigin-&ost= ;<rigin-,ea m= ;"2th-"## ication-$d= ;!!-,e12est--(#e= ;!!-,e12est-@2m'er= A!!-:ession-Hai o>erB DAM2 ti# e-:er>ices-!redit-!ontro B

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation


A!redit-!ontro -Hai 2re-&and ingB A%irect-%e'iting-Hai 2re-&and ingB A:er>ice-$nformationB AVa idit(--imeB DA"V*B

3 Interfa e 5efinition

"$1$" 2e!Auth!2e4uest (2A2#


The :e-%uth-:e3uest (:%:)" indi ated -y the Co,,and-Code set to 2E* and the ,essage flags? ?:? -it set" ,ay -e sent -y any ser1er to the a ess de1i e that is pro1iding session ser1i e" to re3uest that the user -e re-authenti ated andGor re-authori0ed! 6essage 8or,at.
0,e-"2th-,e12est3 445 0 %iameter &eader4 2586 ,)76 *89 3 0 :ession-$d 3 ; <rigin-&ost = ; <rigin-,ea m = ; %estination-,ea m = A %estination-&ost B ; "2th-"## ication-$d = ; ,e-"2th-,e12est--(#e = A Cser-@ame B A E-:-C-*oo -$dentifier B A <rigin-:tate-$d B A ,ating-Ero2# B A:er>ice-$dentifierB DA "V* B

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!

"$1$+ 2e!Auth!Ans-er(2AA#
The :e-%uth-%nswer (:%%)" indi ated -y the Co,,and-Code set to 2E* and the ,essage flags? ?:? -it lear" is sent in response to the :%:! The :esult-Code %7P 6$+T -e present" and indi ates the disposition of the re3uest! % su essful :%% ,essage 6$+T -e followed -y an appli ation-spe ifi authenti ation andGor authori0ation ,essage! 6essage 8or,at.
0,e-"2th-"nsIer3 445 0 %iameter &eader4 2586 *89 3 0 :ession-$d 3 ; ,es2 t-!ode = ; <rigin-&ost = ; <rigin-,ea m = A Cser-@ame B A <rigin-:tate-$d B DA "V* B

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td 3

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$1$5 Abort!Session!2e4uest(AS2#
The %-ort-+ession-:e3uest (%+:)" indi ated -y the Co,,and-Code set to 2DB and the ,essage flags? ?:? -it set" ,ay -e sent -y any ser1er to the a ess de1i e that is pro1iding session ser1i e" to re3uest that the session identified -y the +ession-Id -e stopped! 6essage 8or,at.
0"'ort-:ession-,e12est3 445 0 %iameter &eader4 2746 ,)76 *89 3 0 :ession-$d 3 ; <rigin-&ost = ; <rigin-,ea m = ; %estination-,ea m = ; %estination-&ost = ; "2th-"## ication-$d = A Cser-@ame B A <rigin-:tate-$d B DA "V* B

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!

"$1$6 Abort!Session!Ans-er(ASA#
The %-ort-+ession-%nswer (%+%)" indi ated -y the Co,,and-Code set to 2DB and the ,essage flags? ?:? -it lear" is sent in response to the %+:! The :esult-Code %7P 6$+T -e present" and indi ates the disposition of the re3uest! If the session identified -y +ession-Id in the %+: was su essfully ter,inated" :esult-Code is set to 5I%6'T':J+$CC'++! If the session is not urrently a ti1e" :esult-Code is set to 5I%6'T':J$>U>@&>J+'++I@>JI5! If the a ess de1i e does not stop the session for any other reason" :esult-Code is set to 5I%6'T':J$>%=#'JT@JC@6P#<! 6essage 8or,at.
0 "'ort-:ession-"nsIer3 445 0 %iameter &eader4 2746 *89 3 0 :ession-$d 3 ; ,es2 t-!ode = ; <rigin-&ost = ; <rigin-,ea m = A Cser-@ame B A <rigin-:tate-$d B DA "V* B

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!

"$1$7 Device!8atchdog!2e4uest(D82#
The 5e1i e-&at hdog-:e3uest (5&:)" indi ated -y the Co,,and-Code set to 2*0 and the Co,,and 8lags? ?:? -it set" is sent to a peer when no traffi has -een e4 hanged -etween two peers (see +e tion E!E!3)! $pon dete tion of a transport failure" this ,essage 6$+T >@T -e sent to an alternate peer! 6essage 8or,at.
0%e>ice-Jatchdog-,e12est3 445 0 %iameter &eader4 2806 ,)7 3

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation


; <rigin-&ost = ; <rigin-,ea m = A <rigin-:tate-$d B

3 Interfa e 5efinition

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!

"$1$9 Device!8atchdog!Ans-er(D8A#
The 5e1i e-&at hdog-%nswer (5&%)" indi ated -y the Co,,and-Code set to 2*0 and the Co,,and 8lags? ?:? -it leared" is sent as a response to the 5e1i e-&at hdog-:e3uest ,essage! 6essage 8or,at.
0%J"3 445 0 %iameter &eader4 280 3 ; ,es2 t-!ode = ; <rigin-&ost = ; <rigin-,ea m = A <rigina -:tate-$d B

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!

"$1$: Disconnect!Peer!2e4uest(DP2#
The 5is onne t-Peer-:e3uest (5P:)" indi ated -y the Co,,and-Code set to 2*2 and the Co,,and 8lags? ?:? -it set" is sent to a peer to infor, its intentions to shutdown the transport onne tion! $pon dete tion of a transport failure" this ,essage 6$+T >@T -e sent to an alternate peer! 6essage 8or,at.
0%*,3 445 0 %iameter &eader4 2826 ,)7 3 ; <rigin-&ost = ; <rigin-,ea m = ; %isconnect-!a2se =

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!

"$1$10 Disconnect!Peer!Ans-er(DPA#
The 5is onne t-Peer-%nswer (5P%)" indi ated -y the Co,,and-Code set to 2*2 and the Co,,and 8lags? ?:? -it leared" is sent as a response to the 5is onne t-Peer-:e3uest ,essage! $pon re eipt of this ,essage" the transport onne tion is shutdown! 6essage 8or,at.
0%*"3 445 0 %iameter &eader4 282 3 ; ,es2 t-!ode = ; <rigin-&ost = ; <rigin-,ea m =

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td E

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$1$11 Capabilities!01change!2e4uest (C02#


The Capa-ilities-'4 hange-:e3uest (C':)" indi ated -y the Co,,and-Code set to 2ED and the Co,,and 8lags? ?:? -it set" is sent to e4 hange lo al apa-ilities! $pon dete tion of a transport failure" this ,essage 6$+T >@T -e sent to an alternate peer! 6essage 8or,at.
0!),3 445 0 %iameter &eader4 2576 ,)7 3 ; <rigin-&ost = ; <rigin-,ea m = 1D; &ost-$*-"ddress = ; Vendor-$d = ; *rod2ct-@ame = A <rigin-:tate-$d B DA "2th-"## ication-$d B DA Vendor-:#ecific-"## ication-$d B A HirmIare-,e>ision B A $n'and-:ec2rit(-$d B DA "V* B

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!

"$1$1

Capabilities!01change!Ans-er (C0A#
The Capa-ilities-'4 hange-%nswer (C'%)" indi ated -y the Co,,and-Code set to 2ED and the Co,,and 8lags? ?:? -it leared" is sent in response to a C': ,essage! 6essage 8or,at.
0!)"3 445 0 %iameter &eader4 257 3 ; ,es2 t-!ode = ; <rigin-&ost = ; <rigin-,ea m = 1D; &ost-$*-"ddress = ; Vendor-$d = ; *rod2ct-@ame = A <rigin-:tate-$d B DA :2##orted-Vendor-$d B DA "2th-"## ication-$d B A HirmIare-,e>ision B DA "V* B

8or the spe ifi definitions" refer to :8C 3E** S5ia,eter =ase Proto olT!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$

A*P De%inition
A*P name %7P ode %7P type A1# A((re(ate- 2a3 4itrate D% +565 nsigned7-

"$ $1 AP)!Aggregated!'a1!/itrate!D(

Note' The A/N8Aggregated89a$8(itrate8:L A;/ <A;/ code +565= is of type nsigned7-, and it indicates the ma$imum aggregate bit rate in bits per seconds for the downlink direction across all non8>(1 bearers related with the same A/N.

"$ $

Allocation!2etention!Priority
A*P name %7P ode %7P type A,,ocation Retention 1riority +576 >rouped

Note' The Allocation81etention8/riority A;/ <A;/ code +576= is of type >rouped, and it is used to indicate the priority of allocation and retention, the pre8emption capability and pre8emption vulnerability for the ":? if provided within the @o"8 #nformation8A;/ or for the &/" default bearer if provided within the :efault8&/"8 (earer8@o" A;/. A;/ ?ormat' Allocation81etention8/riority ''A B A;/ Header' +576 C D/riority8LevelE F/re8emption8CapabilityG F/re8emption8;ulnerabilityG

"$ $" AP)!Aggregated!'a1!/itrate!;(


A*P name %7P ode %7P type A1# A((re(ate- 2a3 4itrate U% +56+ nsigned7-

Note' The A/N8Aggregated89a$8(itrate8 L A;/ <A;/ code +56+= is of type nsigned7-, and it indicates the ma$imum aggregate bit rate in bits per seconds for the uplink direction across all non8>(1 bearers related with the same A/N.

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $+ Auth!Application!Id
A*P name %7P ode %7P type Auth!Application!Id 2E* $nsigned32 0 1 K>%+:'IL 2 K5I%66IPL 3 04ffffffff B

>ote. The only I5 for re-authenti ationGauthori0ation!

5ia,eter Co,,on 6essages >%+:'I 6o-ile-IP 5ia,eter =ase % ounting :elay 5CC%

"$ $5 /ase!Time!Interval
A*P name %7P ode %7P type /ase!Time!Interval 12CE $nsigned32

>ote. The Base-Time-Interval %7P (%7P ode 12CE) is of type $nsigned32! It ontains the length of the -ase ti,e inter1al" for ontrolling the onsu,ption of ti,e 3uota" in se onds!

"$ $6 /earer!Identi%ier
A*P name %7P ode %7P type 4earer I-entifier +5-5 Hctet"tring

Note' The (earer8#dentifier A;/ <A;/ code +5-5= is of type Hctet"tring, and it indicates the bearer to which specific information refers. 2hen present within a CC81eIuest :iameter command, subseIuent A;/s within the CC81eIuest refer to the specific bearer identified by this A;/. The bearer identifier of an #/ CAN bearer shall be uniIue within the corresponding #/ CAN session. The bearer identifier shall be selected by the /C&?.

"$ $7 CC!2e4uest!Type
A*P name %7P ode
Issue 01 (2011-10-31)

CC!2e4uest!Type B1C
Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td *

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name %7P type

CC!2e4uest!Type 'nu,erated

>ote. The reason for sending CC: ,essage! It is an enu,eration type and should appear in the CC: ,essage! The following 1alues are defined in the CC-:e3uest %7P. I>ITI%#J:'I$'+T 1 %n Initial re3uest is used to initiate a redit- ontrol session" and ontains redit ontrol infor,ation that is rele1ant to the initiation! $P5%T'J:'I$'+T 2 %n $pdate re3uest ontains redit- ontrol infor,ation for an e4isting redit- ontrol session! $pdate redit- ontrol re3uests +H@$#5 -e sent e1ery ti,e a redit- ontrol re-authori0ation is needed at the e4piry of the allo ated 3uota or 1alidity ti,e! T':6I>%TI@>J:'I$'+T 3 % Ter,ination re3uest is sent to ter,inate a redit- ontrol session and ontains redit- ontrol infor,ation rele1ant to the e4isting session! '7'>TJ:'I$'+T B %n '1ent re3uest is used when there is no need to ,aintain any redit- ontrol session state in the redit- ontrol ser1er! This re3uest ontains all infor,ation rele1ant to the ser1i e" and is the only re3uest of the ser1i e! The reason for the '1ent re3uest is further detailed in the :e3uested-% tion %7P! The :e3uested-% tion %7P 6$+T -e in luded in the CreditControl-:e3uest ,essage when CC-:e3uest-Type is set to '7'>TJ:'I$'+T!

"$ $9 CC!2e4uest!)umber
A*P name %7P ode %7P type CC!2e4uest!)umber B1E $nsigned32

>ote. The CC-:e3uest->u,-er %7P (%7P Code B1E) is of type $nsigned32 and identifies this re3uest within one session! %s +ession-Id %7Ps are glo-ally uni3ue" the o,-ination of +ession-Id and CC-:e3uest->u,-er %7Ps is also glo-ally uni3ue and an -e used in ,at hing redit- ontrol ,essages with onfir,ations! +et the 1alue to 0 for a redit- ontrol re3uest of type I>ITI%#J:'I$'+T and '7'>TJ:'I$'+T and to set the 1alue to 1 for the first $P5%T'J:'I$'+T" to 2 for the se ond" and so on until the 1alue for T':6I>%TI@>J:'I$'+T is one ,ore than for the last $P5%T'J:'I$'+T!

"$ $: CC!Time
A*P name %7P ode %7P type
Issue 01 (2011-10-31)

CC!Time B20 $nsigned32


Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td )

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

CC!Time

>ote. This %7P defines the re3uested" allo ated or used ti,e in the unit of se ond!

"$ $10 CC!Total!,ctets


A*P name %7P ode %7P type CC!Total!,ctets B21 $nsignedCB

>ote. Total re3uested" allo ated or used -ytes! This 1alue is not related to the dire tion (sending or re ei1ing)!

"$ $11 CC!Input!,ctets


A*P name %7P ode %7P type CC!Input!,ctets B12 $nsignedCB

>ote. :e3uested" allo ated or used uplin/ -ytes (sent -y the user)!

"$ $1

CC!,utput!,ctets
A*P name %7P ode %7P type CC!,utput!,ctets B1B $nsignedCB

>ote. :e3uested" allo ated or used downlin/ -ytes (re ei1ed -y the user)!

"$ $1" CC!Service!Speci%ic!;nits


A*P name %7P ode %7P type CC!Service!Speci%ic!;nits B1D $nsignedCB

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

10

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

CC!Service!Speci%ic!;nits

>ote. :e3uested" allo ated or used units (e1ents identified and ounted -y the (&)!

"$ $1+ CC!;nit!Type


A*P name %7P ode %7P type CC!;nit!Type BEB 'nu,erated

The CC-$nit-Type %7P (%7P Code BEB) is of type 'nu,erated and spe ifies the type of units onsidered to -e pooled into a redit pool! The following 1alues are supported for the CC-$nit-Type %7P. TI6' T@T%#-@CT'T+ 0 2

"$ $15 Credit!Control!&ailure!Handling


A*P name %7P ode %7P type Credit!Control!&ailure!Handling B2D 'nu,erated

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

11

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

Credit!Control!&ailure!Handling

>ote. when the CC ,essage sent fro, the lient to the ser1er fails te,porarily -e ause of networ/ failure" CC lient uses the infor,ation in this %7P to de ide how to do! &hen CC ser1er annot harge in the ser1i e -e ause of different ser1i e logi " it an o,,and the lient to end the ser1i e i,,ediately or swit h to the stand-y ser1er! The following 1alues are defined -y this %7P. T':6I>%T' 0 &hen the Credit-Control-8ailure-Handling %7P is set to T':6I>%T'" the ser1i e 6$+T only -e granted for as long as there is a onne tion to the redit- ontrol ser1er! If the reditontrol lient does not re ei1e any Credit-Control-%nswer ,essage within the T4 ti,er" the redit- ontrol re3uest is regarded as failed" and the end user?s ser1i e session is ter,inated! This is the default -eha1ior if the %7P isn?t in luded in the reply fro, the authori0ation or redit- ontrol ser1er! C@>TI>$' 1 &hen the Credit-Control-8ailure-Handling %7P is set to C@>TI>$'" the redit- ontrol lient +H@$#5 re-send the re3uest to an alternati1e ser1er in the ase of transport or te,porary failures" pro1ided that a failo1er pro edure is supported in the redit- ontrol ser1er and the redit- ontrol lient" and that an alternati1e ser1er is a1aila-le! @therwise" the ser1i e +H@$#5 -e granted" e1en if redit- ontrol ,essages an?t -e deli1ered! :'T:<J%>5JT':6I>%T' 2 &hen the Credit-Control-8ailure-Handling %7P is set to :'T:<J%>5JT':6I>%T'" the redit- ontrol lient +H@$#5 re-send the re3uest to an alternati1e ser1er in the ase of transport or te,porary failures" pro1ided that a failo1er pro edure is supported in the reditontrol ser1er and the redit- ontrol lient" and that an alternati1e ser1er is a1aila-le! @therwise" the ser1i e +H@$#5 not -e granted when the redit- ontrol ,essages an?t -e deli1ered!

"$ $16 C<!Address


A*P name %7P ode %7P type C<!Address *BC IP%ddress

>oteA Charging (ateway IP address!

"$ $17 CC!Session!&ailover


A*P name %7P ode %7P type CC!Session!&ailover B1* 'nu,erated

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

12

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

CC!Session!&ailover

>ote. It indi ates whether the %7P an transfer the CC ,essage strea, to the stand-y ser1er in a CC session pro ess! If the CC ser1er supports failo1er syste," the CC ,essage strea, an -e transferred to the stand-y CC ser1er in ase of o,,uni ation failure! If the na,e of the se ondary CC ser1er an -e got fro, ho,e 5ia,eter %%% ser1er" this na,e an -e the address of the stand-y ser1er! 8ailo1er is not ne essary in appli ation -e ause it re3uires that CC session ,essage ,ust -e /ept on the stand-y ser1er! The following 1alues are defined in CC-+ession-8ailo1er %7P. 8%I#@7':J>@TJ+$PP@:T'5 0 &hen the CC-+ession-8ailo1er is onfigured as 8%I#@7':J>@TJ+$PP@:T'5" CC ,essage strea, annot -e transferred to the stand-y destination in ase of o,,uni ation failure! &hen the authori0ed answer of the CC ser1er does no in lude CC-+ession-8ailo1er %7P" -y default the CC ser1er does not support failo1er! 8%I#@7':J+$PP@:T'5 1 &hen the CC-+ession-8ailo1er is onfigured as 8%I#@7':J+$PP@:T'5" CC ,essage strea, is transferred to the stand-y destination in ase of o,,uni ation failure! 6eanwhile ,essage related to CC session needs to -e transferred fro, the failure ser1er to the stand-y ser1er!

"$ $19 Called!Station!Id


A*P name %7P ode %7P type Called!Station!Id 30 $T8*+tring

>ote. In ludes the %P> na,e that the user is onne ted to! In the ((+>" it an identify -oth the e4ternal networ/ and the ser1i e type!

"$ $1: Charging!2ule!/ase!)ame


A*P name %7P ode %7P type Charging!2ule!/ase!)ame 100B $T8*+tring

>ote. The Charging-:ule-=ase->a,e %7P (%7P ode 100B) is of type $T8*+tring" and it indi ates the na,e of a pre defined group of PCC rules residing at the PC'8!

"$ $ 0 Destination!Host
A*P name %7P ode
Issue 01 (2011-10-31)

Destination!Host 2)3
Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td 13

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name %7P type

Destination!Host 5ia,eterIdentity

>ote. 5e1i e I5 on the destination end! The glo-al networ/ allo ates it entrally! 5ifferent 5ia,eter peers should -e uni3ue! It should appear in the re3uest ,essage -ut annot appear in the response ,essage! '4a,ple. o s001!huawei! o,!

"$ $ 1 Direct!Debiting!&ailure!Handling
A*P name %7P ode %7P type Direct!Debiting!&ailure!Handling B2* 'nu,erated

>ote. This %7P will only -e used in I'C ,ode! The redit- ontrol lient uses infor,ation in this %7P to de ide what to do if sending redit- ontrol ,essages (:e3uested-% tion %7P set to 5I:'CTJ5'=ITI>() to the redit- ontrol ser1er has -een" for instan e" te,porarily pre1ented due to a networ/ pro-le,! T':6I>%T'J@:J=$88': 0

&hen the 5ire t-5e-iting-8ailure-Handling %7P is set to T':6I>%T'J@:J=$88':" the ser1i e 6$+T -e granted for as long as there is a onne tion to the redit- ontrol ser1er! If the redit- ontrol lient does not re ei1e any Credit-Control-%nswer ,essage within the T4 ti,er" the redit- ontrol re3uest is regarded as failed! The lient +H@$#5 ter,inate the ser1i e if it an deter,ine fro, the failed answer that units ha1e not -een de-ited! This is the default -eha1ior if the %7P isn?t in luded in the reply fro, the authori0ation ser1er! C@>TI>$' 1

&hen the 5ire t-5e-iting-8ailure-Handling %7P is set to C@>TI>$'" the ser1i e +H@$#5 -e granted" e1en if redit- ontrol ,essages an?t -e deli1ered" and the re3uest should -e deleted!

"$ $

Destination!2ealm
A*P name %7P ode %7P type Destination!2ealm 2*3 5ia,eterIdentity

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

1B

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

Destination!2ealm

>ote. Ho,e field of the de1i e on the destination end! This attri-ute annot appear in the response ,essage!

'4a,ple. huawei! o,!

"$ $ " 0vent!Timestamp


A*P name %7P ode %7P type 0vent!Timestamp EE Ti,e

>ote. Ti,e sta,p! Count in se ond fro, 1)00 00.00 $TC Fanuary 1st!

"$ $ + 0vent!Charging!TimeStamp
A*P name %7P ode %7P type 0vent!Charging!TimeStamp 12E* Ti,e

>ote. The '1ent-Charging-Ti,e+ta,ps %7P (%7P ode 12E*) is of type Ti,e" and it holds the ti,esta,p of the e1ent reported in the CC-+er1i e-+pe ifi -$nits %7P when e1ent -ased harging applies!

"$ $ 5 0nvelope
A*P name %7P ode %7P type 0nvelope 12CC (rouped

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

1E

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

0nvelope

>ote. This %7P reports the start and end ti,e of one ti,e en1elope using the 'n1elope-+tartTi,e and 'n1elope-'nd-Ti,e %7Ps! 'n1elope ..H N %7P Header. 12CCO P 'n1elope-+tart-Ti,e Q K 'n1elope-'nd-Ti,e L K CC-Total-@ tets L K CC-Input-@ tets L K CC-@utput-@ tets L K CC-+er1i e-+pe ifi -$nits L RK %7P L

"$ $ 6 0nvelope!Start!Time
A*P name %7P ode %7P type 0nvelope!Start!Time 12C) Ti,e

>ote. This %7P is set to the ti,e of the pa /et of user data whi h aused the ti,e en1elope to start!

"$ $ 7 0nvelope!0nd!Time
A*P name %7P ode %7P type 0nvelope!0nd!Time 12CD Ti,e

>ote. This %7P is set to the ti,e of the end of the ti,e en1elope!

"$ $ 9 0nvelope!2eporting
A*P name %7P ode %7P type 0nvelope!2eporting 12C* 'nu,erated

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

1C

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

0nvelope!2eporting

>ote. This %7P is used in the CC% (I>ITI%#) to indi ate whether the lient shall report the start and end of ea h ti,e en1elope" in those ases in whi h 3uota is onsu,ed in en1elopes! It an ta/e the 1alues. 5@J>@TJ:'P@:TJ'>7'#@P'+ :'P@:TJ'>7'#@P'+ :'P@:TJ'>7'#@P'+J&ITHJ7@#$6' :'P@:TJ'>7'#@P'+J&ITHJ'7'>T+ :'P@:TJ'>7'#@P'+J&ITHJ7@#$6'J%>5J'7'>T+ (3) (B) (0) (1) (2)

If this %7P is not in luded in the CC% (I>ITI%#) then the lient shall not report the indi1idual en1elopes!

"$ $ : 01ponent
A*P name %7P ode %7P type 01ponent B2) Integer32

>ote. '4ponent %7P is of type Integer32 (%7P Code B2)) and ontains the e4ponent 1alue to -e applied for the 7alue-5igit %7P within the $nit-7alue %7P! The '4ponent %7P should always -e 0ero" or should -e a-sent within the $nit-7alue %7P!

"$ $"0 &ilter!Id


A*P name %7P ode %7P type &ilter!Id 11 $T8*+tring

>ote. The 8ilter-Id %7P (%7P Code 11) is of type $T8*+tring and ontains the na,e of the filter list for this user!

"$ $"1 &inal!;nit!Indication


A*P name %7P ode %7P type &inal!;nit!Indication B30 (rouped

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

1D

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

&inal!;nit!Indication

>ote. It indi ated in the CC% ,essage or %% answers the nu,-er of the final units in luded in (ranted-+er1i e-$nit! &hen these units are used up" the 5CC lient e4e utes the a tions designated in 8inal-$nit-% tion! If ,ultiple ser1i e types are re ei1ed in CC%" the ser1i e unit type that is first used up auses the 5CC lient to e4e ute the designated a tions! %t the first interwor/ing" if 8inal-$nit-% tion is :'5I:'CT or :'+T:ICTJ%CC'++" CC% or %% answer ,ay not in lude (ranted-+er1i e-$nit" and this indi ates that 5CC lient e4e utes the designated a tions i,,ediately! If the ho,e ser1i e pro1ider?s poli y pro1ision is to end the ser1i e" the ser1er should return proper te,porary failure to a ti1ate the a tion designated -y the poli y! 8inal-$nit-% tion defines the a tion e4e uted -y ser1i e pro essing node when the user a ount -alan e is not enough to pay for the ser1i e harge! If 8inal-$nit-Indi ation e4ists" 8inal-$nit-% tion ,ust also e4ist! If 8inal-$nit-% tion is onfigured as T':6I>%T'" other %7Ps in the 8inal-$nit-Indi ation %7P group ,ust not appear! If 8inal-$nit-% tion is onfigured as :'5I:'CT" :edire t-+er1er ,ust appear! If users are allowed to a ess to other ser1i es that annot -e got through :edire t-+er1er designating address" :estri tion-8ilter-:ule or 8ilter-Id an -e porta-le in the CC% ,essage! If 8inal-$nit-% tion is onfigured as :'+T:ICTJ%CC'++" the default -eha1ior onfigured in ((+> will ta/e effe t! 8ilter-Id %7P an -e used to refer to the IP filter list esta-lished on a ess de1i e -y other non-5CC appli ation" for e4a,ple" ho,e onfiguration and other entity onfiguration! 8inal-$nit-Indi ation %7P is an %7P group! The %=>8 gra,,ars are as follows. 8inal-$nit-Indi ation ..H N %7P Header. B30 O P 8inal-$nit-% tion Q RK :estri tion-8ilter-:ule L RK 8ilter-Id LK :edire t-+er1er L

"$ $"

&inal!;nit!Action
A*P name %7P ode %7P type &inal!;nit!Action BB) 'nu,erated

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

1*

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

&inal!;nit!Action

>ote. It indi ates the a tion when the user a ount -alan e is not enough to pay for the ser1i e harge! 8inal-$nit-% tion defines following 1alues. T':6I>%T' 0 5CC lient ,ust end ser1i e session! This is the default pro essing when 5CC user ter,inal re ei1es a 8inal-$nit-% tion that is not supported! :'5I:'CT 1 The ser1i e pro essing unit ,ust redire t the user to the address that is designated in :edire t-+er1er-%ddress! :'+T:ICTJ%CC'++ 2 The default -eha1ior onfigured in ((+> will ta/e effe t!

"$ $"" <!S!;!Pool!2e%erence


A*P name %7P ode %7P type <!S!;!Pool!2e%erence BED (rouped

>@T'. The (-+-$-Pool-:eferen e %7P (%7P Code BED) is of type (rouped! It is used in the Credit-Control-%nswer ,essage" and asso iates the (ranted-+er1i e-$nit %7P within the 6ultiple-+er1i es-Credit-Control %7P within whi h it appears with a redit pool within the session! The (-+-$-Pool-Identifier %7P spe ifies the redit pool fro, whi h redit is drawn for this unit type! It should -e an unsigned integer within the range fro, 0 to 2V32-2! The CC-$nit-Type %7P spe ifies the type of units for whi h redit is pooled! It an only -e T@T%#-@CT'T+ or TI6'! The $nit-7alue %7P spe ifies the ,ultiplier" whi h on1erts -etween ser1i e units of type CC-$nit-Type and a-stra t ser1i e units within the redit pool (and thus to ser1i e units of any other ser1i e or rating group asso iated with the sa,e pool)! The $nit-7alue %7P should -e within the range fro, 1 to 2V32-1! @nly 3uotas of the sa,e unit type an -e lin/ed to one redit pool" for e4a,ple the 1olu,e 3uotas ould -e pooled in one pool" while the ti,e 3uota should -e allo ated to a different pool! If ti,e 3uotas are pooled in one redit pool" the 3uota onsu,ption ,e hanis, of the ser1i es should -e the sa,e" The (-+-$-Pool-:eferen e %7P is defined as follows. (-+-$-Pool-:eferen e..H N %7P Header. BED O P (-+-$-Pool-Identifier Q P CC-$nit-Type Q P $nit-7alue Q

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

1)

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $"+ <!S!;!Pool!Identi%ier


A*P name %7P ode %7P type <!S!;!Pool!Identi%ier BE3 $nsigned32

>ote. The (-+-$-Pool-Identifier %7P is of type $nsigned32 and identifies a redit pool within the session" The (-+-$-Pool-Identifier %7P should -e an unsigned integer within the range fro, 0 to 2V32-2! The (-+-$-Pool-Identifier %7P set to 2V32-1 would -e treated as an in1alid %7P!

"$ $"5 <<S)!Address


A*P name %7P ode %7P type >ote. ((+> IP address! <<S)!Address *BD IP%ddress

"$ $"6 <ranted!Service!;nit


A*P name %7P ode %7P type <ranted!Service!;nit B31 (rouped

(ranted-+er1i e-$nit in ludes the nu,-er of the units that allow 5CC lient to pro1ide ser1i e to ter,inal users! &hen these units are used up" the 55C lient ,ust apply for new 3uota fro, the 5CC ser1er or stop pro1iding ser1i e to the ter,inal users! The 5CC lient needs not distinguish all unit types! In the CC% answers when the lient re ei1es a unit type that annot -e distinguished or supported" the CC% is regarded as error" and 5CC lient ,ust a-ort the session -y sending a CC: ,essage in whi h the Ter,ination-Cause is 5I%6'T':J=%5J%>+&':! (ranted-+er1i e-$nit %7P is an %7P group! The %=>8 gra,,ars are as follows. (ranted-+er1i e-$nit ..H N %7P Header. B31 O K Tariff-Ti,e-Change L K CC-Ti,e L K CC-Total-@ tets L K CC-Input-@ tets L K CC-@utput-@ tets L RK %7P L

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

20

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $"7 <uaranteed =/itrate!D(


A*P name %7P ode %7P type Guarantee- 54itrate D% +5-* nsigned7-

Note' The >uaranteed8(itrate8:L A;/ <A;/ code +5-*= is of type nsigned7-, and it indicates the guaranteed bitrate in bits per second for a downlink service data flow. The bandwidth contains all the overhead coming from the #/8layer and the layers above, e.g. #/, :/, 1T/ and 1T/ payload.

"$ $"9 <uaranteed =/itrate!;(


A*P name %7P ode %7P type Guarantee- 54itrate U% +5-J nsigned7-

Note' The >uaranteed K(itrate8 L A;/ <A;/ code +5-J= is of type nsigned7-, and it indicates the guaranteed bitrate in bits per second for an uplink service data flow. The bandwidth contains all the overhead coming from the #/8layer and the layers above, e.g. #/, :/, 1T/ and 1T/ payload.

"$ $": 'a1!2e4uested!/and-idth!;(


A*P name %7P ode %7P type 2a3 Re6ueste- 4an-+i-t) U% *+J nsigned7-

Note' The 9a$K(andwidth8 L A;/ <A;/ code *+J= is of type nsigned7-, and it indicates the ma$imum reIuested bandwidth in bits per second for an uplink #/ flow. The bandwidth contains all the overhead coming from the #/8layer and the layers above, e.g. #/, :/, 1T/ and 1T/ payload.

"$ $+0 'a1!2e4uested!/and-idth!D(


A*P name %7P ode %7P type 2a3 Re6ueste- 4an-+i-t) D% *+* nsigned7-

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

21

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

2a3 Re6ueste- 4an-+i-t) D%

Note' The 9a$81eIuested8(andwidth8:L A;/ <A;/ code *+*= is of type nsigned7-, and it indicates the ma$imum bandwidth in bits per second for a downlink #/ flow. The bandwidth contains all the overhead coming from the #/8layer and the layers above, e.g. #/, :/, 1T/ and 1T/ payload.

"$ $+1 'ultiple!Services!Indicator


A*P name %7P ode %7P type 'ultiple!Services!Indicator BEE 'nu,erated

>ote. 6ultiple ser1i es Indi ator! It is used to indi ate whether the 5CC lient has the apa-ility to deal with ,ultiple ser1i es independently in a (su-) session! @,itting this %7P ,eans not supporting ,ultiple ser1i es! If the 5CC ser1er does not support independent ,ultiple ser1i e redit ontrol" then this %7P should -e regarded as in1alid! 8or the sa,e session" the lient only needs to use this %7P in the first 3uery! The following 1alues are defined in the 6ultiple-+er1i es-Indi ator %7P. 6$#TIP#'J+':7IC'+J>@TJ+$PP@:T'5 6$#TIP#'J+':7IC'+J+$PP@:T'5 1 0 The lient does not support independent ,ultiple ser1i e redit ontrol in one (su-) session! The lient supports independent ,ultiple ser1i e redit ontrol in one (su-) session!

"$ $+

'ultiple!Services!Credit!Control
A*P name %7P ode %7P type 'ultiple!Services!Credit!Control BEC (rouped

>ote. It ontains the related %7P of ,ultiple ser1i e independent redit ontrol! 'a h instan e ontains one or ,ore ser1i es" or a unit related with :ating-(roup! The +er1i e-Identifier and the :ating-(roup %7P are used to asso iate the granted units to a gi1en ser1i e or rating group! If only the :ating-(roup %7P is present" the 6ultiple+er1i es-Credit-Control %7P relates to all the ser1i es that -elong to the spe ified rating group! >ote. :ating (roup is ,andatory for 6ultiple-+er1i es-Credit-Control! The :e3uested-+er1i e-$nit %7P 6%< ontain the a,ount of re3uested ser1i e units or the re3uested ,onetary 1alue! It 6$+T -e present in the initial interrogation and within the inter,ediate interrogations in whi h new 3uota is re3uested! If the redit- ontrol lient does not in lude the :e3uested-+er1i e-$nit %7P in a re3uest o,,and" -e ause for instan e" it has deter,ined that the end-user ter,inated the ser1i e" the ser1er 6$+T de-it the used a,ount fro, the userWs a ount -ut 6$+T >@T return a new 3uota in the orresponding answer! The 7alidity-Ti,e" :esult-Code" and 8inal-$nit-Indi ation %7Ps 6%< -e present in
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td 22

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

'ultiple!Services!Credit!Control

an answer o,,and for the gra eful ser1i e ter,ination! &hen -oth the Tariff-Ti,e-Change and Tariff-Change-$sage %7Ps are present" the ser1er 6$+T in lude two separate instan es of the 6ultiple-+er1i es-Credit-Control %7P with the (ranted-+er1i e-$nit %7P asso iated to the sa,e rating-group! &here the two 3uotas are asso iated to the sa,e pool or to different pools! The Tariff-Change-$sage %7P 6$+T >@T -e in luded in re3uest o,,ands to report used units -efore" and after tariff ti,e hange the $sed-+er1i e-$nit %7P 6$+T -e used! % ser1er not i,ple,enting the independent redit- ontrol of ,ultiple ser1i es fun tionality 6$+T treat the 6ultiple-+er1i es-Credit-Control %7P as an in1alid %7P! The (-+-$-Pool-:eferen e %7P allows the ser1er to spe ify a (-+-$-Pool-Identifier identifying a redit pool within whi h the units of the spe ified type are onsidered pooled! If a (-+-$-Pool-:eferen e %7P is present" then a tual ser1i e units of the spe ified type 6$+T also -e present! 8or e4a,ple" if the (-+-$-Pool-:eferen e %7P spe ifies $nit-Type TI6'" then the CC-Ti,e %7P 6$+T -e present! 6ultiple-+er1i es-Control %7P is an %7P group! The spe ifi %=>8 gra,,ars are as follows! 6ultiple-+er1i es-Credit-Control ..H N %7P Header. BECO K(ranted-+er1i e-$nitL K:e3uested-+er1i e-$nitL RK$sed-+er1i e-$nitL P:ating-(roupQ K+er1i e-IdentifierL R K (-+-$-Pool-:eferen e L K7alidity-Ti,eL K:esult-CodeL K8inal-$nit-Indi ationL KTi,e-Iuota-Threshold L K7olu,e-Iuota-Threshold L K$nit-Iuota-Threshold L K Iuota-Holding-Ti,e L K Iuota-Consu,ption-Ti,e L RK :eporting-:eason L KTriggerL K P+-8urnish-Charging-Infor,ation L RK 'n1elope L KTariff-Ti,e-ChangeL K 'n1elope-:eporting L K Ti,e-Iuota-6e hanis, L

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

23

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $+" ,rigin!Host


A*P name %7P ode %7P type ,rigin!Host 2CB 5ia,eterIdentity

>ote. 5e1i e I5 of the start end! The glo-al networ/ allo ates it entrally! 5ifferent 5ia,eter peers should -e uni3ue! '4a,ple. +CP001!huawei! o,!

"$ $++ ,rigin!2ealm


A*P name %7P ode %7P type '4a,ple. huawei! o,! ,rigin!2ealm 2)C 5ia,eterIdentity

>ote. Ho,e filed of the de1i e on the start end!

"$ $+5 ,rigin!State!Id


A*P name %7P ode %7P type ,rigin!State!Id 2D* $nsigned32

>ote. The original I5 sent -y the 5ia,eter lient to the ser1er! It is a ,onotoni ally in reasing integer! The lient an set the restart ti,e as the @rigin-+tate-Id 1alue to ,a/e sure that this 1alue is in reasing after the restart! &hen the 5ia,eter ser1er re ei1es the @rigin-+tate-Id fro, the sa,e 5ia,eter lient" the 5ia,eter ser1er should ter,inate all the sessions whose @rigin-+tate-Ids are less than this 1alue fro, the lient!

"$ $+6 PD)!Connection!Id


A*P name %7P ode %7P type PD)!Connection!Id 20E0 $nsigned32

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

2B

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

PD)!Connection!Id

>ote. The P5>-Conne tion-Id ontains the harging identifier to identify different re ords -elonging to sa,e P5> onne tion! This field in ludes Charging Id of first IP-C%> -earer a ti1ated within the P5> onne tion! Together with P-(& address this uni3uely identifies the P5> onne tion!

"$ $+7 PDP!Address


A*P name %7P ode %7P type PDP!Address 122D IP%ddress

>ote. P5P onte4t address! It orresponds to the networ/ layer address of the P5P onte4t of an 6+! It ,ay -e Ip1B or Ip1C! 8or different P5P types" the P5P-%ddress is allo ated with te,porary or per,anent 1alue (for dyna,i or stati addresses respe ti1ely)!

"$ $+9 PDP!Conte1t!Type


A*P name %7P ode %7P type The 1alues for re3uested are. 0 1 P:I6%:< +'C@>5%:< PDP!Conte1t!Type 12BD 'nu,erated

>ote. The PDP-Context-Type indi ates the type of a P5P onte4t!

This %7P shall only -e present in the CC: Initial!

"$ $+: Pre!emption!Capability


A*P name %7P ode %7P type 1re e/ption Capa7i,ity +56L &numerated

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

2E

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

1re e/ption Capa7i,ity

Note' The /re8emption8Capability A;/ <A;/ code +56L= is of type &numerated. The A;/ defines whether a service data flow can get resources that were already assigned to another service data flow with a lower priority level. The following values are defined' /1&8&9/T#HNMCA/A(#L#TNM&NA(L&: <5= This value indicates that the service data flow is allowed to get resources that were already assigned to another service data flow with a lower prioriy level. /1&8&9/T#HNMCA/A(#L#TNM:#"A(L&: <+= This value indicates that the service data flow is not allowed to get resources that were already assigned to another service data flow with a lower prioriy level. This is the default value applicable if this A;/ is not supplied.

"$ $50 Pre!emption!*ulnerability


A*P name %7P ode %7P type 1re e/ption Vu,nera7i,ity +56, &numerated

Note' The /re8emption ;ulnerability A;/ <A;/ code +56,= is of type &numberated. The A;/ defines whether a service data flow can lose the resources assigned to it in order to admit a service data flow with higher priority level. The following values are defined' /1&8&9/T#HNM; LN&1A(#L#TNM&NA(L&: <5= This value indicates that the resources assigned to the service data flow can be pre8 empted and allocated to a service data flow with a higher priority level. This is the default value applicable if this A;/ is not supplied. /1&8&9/T#HNM; LN&1A(#L#TNM:#"A(L&: <+= This value indicates that the resources assigned to the service data flow shall not be pre8empted and allocated to a service data flow with a higher priority level.

"$ $51 Priority!(evel


A*P name %7P ode %7P type 1riority %e.e, +56J nsigned7-

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

2C

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

1riority %e.e,

Note' The /riority8Level A;/ <A;/ code +56J= is of type nsigned 7-. The A;/ is used for deciding whether a bearer establishment or modification reIuest can be accepted or needs to be re%ected in case of resource limitations <typically used for admission control of >(1 traffic=. The A;/ can also be used to decide which e$isting bearers to pre8empt during resource limitations. The priority level defines the relative importance of a resource reIuest. ;alues + to +* are defined, with value + as the highest level of priority. ;alues + to , should only be assigned for services that are authori)ed to receive prioriti)ed treatment within an operator domain. ;alues . to +* may be assigned to resources that are authori)ed by the home network and thus applicable when a & is roaming.

"$ $5

PS!In%ormation
A*P name %7P ode %7P type PS!In%ormation *DB (rouped

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

2D

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

PS!In%ormation

>ote. P+ 5o,ain ser1i e infor,ation group! P+-Infor,ation %7P is an %7P group! The spe ifi %=>8 gra,,ars are as follows. P+-Infor,ation .. H N %7P Header. 20200O K3(PP-Charging-IdL K P5>-Conne tion-I5 L K3(PP-P5P-TypeL RKP5P-%ddressL KIo+-Infor,ationL K+(+>-%ddressL K((+>-%ddressL KC(-%ddressL K +er1ing->ode-Type L K3(PP-I6+I-6CC-6>CL K3(PP-((+>- 6CC-6>CL K3(PP->+%PIL KCalled-+tation-IdL K3(PP-+ession-+top-Indi atorL K3(PP-+ele tion-6odeL K3(PP-Charging-Chara teristi sL K3(PP-+(+>-6CC-6>CL K3(PP-6+-Ti,eXoneL KCharging-:ule-=ase->a,eL K3(PP-$ser-#o ation-InfoL K3(PP-:%T-TypeL KP+-8urnish-Charging-Infor,ationL KP5P-Conte4t-TypeL

K P5>-Conne tion-I5L K +er1ing->ode-TypeL K +tart-Ti,e L K +top-Ti,e L

"$ $5" PS!&urnish!Charging!In%ormation


A*P name %7P ode %7P type PS!&urnish!Charging!In%ormation *CE (rouped

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

2*

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

PS!&urnish!Charging!In%ormation

>ote. This %7P purpose is to add online harging session spe ifi infor,ation" re ei1ed 1ia the :o referen e point" onto the :f referen e point in order to fa ilitate its in lusion in C5:s! This infor,ation ele,ent ,ay -e re ei1ed in a CC% ,essage 1ia the :o referen e point! In situations where online and offline harging are a ti1e in parallel" the infor,ation ele,ent is transparently opied into an %C: to -e sent on the :f referen e point! It has the following %=>8 gra,,ar. P+-8urnish-Charging-Infor,ation .. H N %7P Header. *CEO P 3(PP-Charging-Id Q P P+-8ree-8or,at-5ata Q K P+-%ppend-8ree-8or,at-5ata L >ote. In Huawei $(&)*11 the total length of P+-8ree-8or,at-5ata ,ust -e less than C3 -ytes!

"$ $5+ >oS!Class!Identi%ier


A*P name %7P ode %7P type 8oS C,ass I-entifier +5-, &numerated

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

2)

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

8oS C,ass I-entifier

Note' @o"8Class8#dentifier A;/ <A;/ code +5-,= is of type &numerated, and it identifies a set of #/8CAN specific @o" parameters that define the authori)ed @o", e$cluding the applicable bitrates and A1/ for the #/8CAN bearer or service flow. The following values are defined' @C#M+ <+= This value shall be used to indicate standardi)ed characteristics associated with standardi)ed @C# value + from 7>// T" -7.-57 FLG. @C#M- <-= This value shall be used to indicate standardi)ed characteristics associated with standardi)ed @C# value - from 7>// T" -7.-57 FLG. @C#M7 <7= This value shall be used to indicate standardi)ed characteristics associated with standardi)ed @C# value 7 from 7>// T" -7.-57 FLG. @C#M6 <6= This value shall be used to indicate standardi)ed characteristics associated with standardi)ed @C# value 6 from 7>// T" -7.-57 FLG. @C#M* <*= This value shall be used to indicate standardi)ed characteristics associated with standardi)ed @C# value * from 7>// T" -7.-57 FLG. @C#MJ <J= This value shall be used to indicate standardi)ed characteristics associated with standardi)ed @C# value J from 7>// T" -7.-57 FLG. @C#ML <L= This value shall be used to indicate standardi)ed characteristics associated with standardi)ed @C# value L from 7>// T" -7.-57 FLG. @C#M, <,= This value shall be used to indicate standardi)ed characteristics associated with standardi)ed @C# value , from 7>// T" -7.-57 FLG. @C#M. <.= This value shall be used to indicate standardi)ed characteristics associated with standardi)ed @C# value . from 7>// T" -7.-57 FLG.

The @C# values 5, +5 K -** are divided for usage as follows'


5' 1eserved +58+-L' 1eserved +-,8-*6' Hperator specific -**' 1eserved

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

30

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $55 >oS!In%ormation


A*P name %7P ode %7P type >oS!In%ormation 101C (rouped

>ote. The Io+-Infor,ation %7P (%7P ode 101C) is of type (rouped" and it defines the Io+ infor,ation for resour es re3uested -y the $'" an IP-C%> -earer" PCC rule" ICI or %P>! &hen this %7P is sent fro, the PC'8 to the PC:8" it indi ates the re3uested Io+ infor,ation asso iated with resour es re3uested -y the $'" an IP C%> -earer or the su-s ri-ed Io+ infor,ation at %P> le1el! &hen this %7P is sent fro, the PC:8 to the PC'8" it indi ates the authori0ed Io+ for. - an IP C%> -earer (when appearing at CC% or :%: o,,and le1el or - a ser1i e flow (when in luded within the PCC rule) or - a ICI (when appearing at CC% or :%: o,,and le1el with the Io+-Class-Identifier %7P and the 6a4i,u,-:e3uested-=andwidth-$# %7P andGor the 6a4i,u,-:e3uested=andwidth-5# %7P) or - an %P> (when appearing at CC% or :%: o,,and le1el with %P>-%ggregate-6a4=itrate-5# and %P>-%ggregate-6a4-=itrate-5#)! The Io+ lass identifier identifies a set of IP-C%> spe ifi Io+ para,eters that define Io+" e4 luding the appli a-le -itrates and %:P! It is appli a-le -oth for uplin/ and downlin/ dire tion! The 6a4-:e3uested-=andwidth-$# defines the ,a4i,u, -it rate allowed for the uplin/ dire tion! The 6a4-:e3uested-=andwidth-5# defines the ,a4i,u, -it rate allowed for the downlin/ dire tion! The (uaranteed-=itrate-$# defines the guaranteed -it rate allowed for the uplin/ dire tion! The (uaranteed-=itrate-5# defines the guaranteed -it rate allowed for the downlin/ dire tion! The %P>-%ggregate-6a4-=itrate-$# defines the total -andwidth usage for the uplin/ dire tion of non-(=: ICIs at the %P>! This %7P applies to all a ess types e4 ept 3(PP(P:+ a ess! The %P>-%ggregate-6a4-=itrate-5# defines the total -andwidth usage for the downlin/ dire tion of non-(=: ICIs at the %P>! This %7P applies to all a ess types e4 ept 3(PP(P:+ a ess! The =earer Identifier %7P shall -e in luded as part of the Io+-Infor,ation %7P if the Io+ infor,ation refers to an IP C%> -earer initiated -y the $' and the PC:8 perfor,s the -earer -inding! The =earer Identifier %7P identifies this -earer! +e1eral Io+-Infor,ation %7Ps for different =earer Identifiers ,ay -e pro1ided per o,,and! &hen the Io+-Infor,ation %7P is pro1ided within the CC: o,,and along with the :'+@$:C'J6@5I8IC%TI@>J:'I$'+T e1ent trigger" the Io+-infor,ation %7P in ludes only the Io+-Class-Identifier %7P and (uaranteed-=itrate-$# andGor (uaranteed=itrate-5# %7Ps! The %llo ation-:etention-Priority %7P is an indi ator of the priority of allo ation and retention for the +er1i e 5ata 8low! If the Io+-Infor,ation %7P has -een supplied pre1iously -ut is o,itted in a 5ia,eter
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td 31

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

>oS!In%ormation

,essage or %7P" the pre1ious infor,ation re,ains 1alid! If the Io+-Infor,ation %7P has not -een supplied fro, the PC:8 to the PC'8 pre1iously and is o,itted in a 5ia,eter ,essage or %7P" no enfor e,ent of the authori0ed Io+ shall -e perfor,ed! %7P 8or,at. Io+-Infor,ation ..H N %7P Header. 101C O K Io+-Class-Identifier L K 6a4-:e3uested-=andwidth-$# L K 6a4-:e3uested-=andwidth-5# L K (uaranteed-=itrate-$# L K (uaranteed-=itrate-5# L K =earer-Identifier L K %llo ation-:etention-PriorityL K %P>-%ggregate-6a4-=itrate-$#L K %P>-%ggregate-6a4-=itrate-5#L R K%7PL

"$ $56 >uota!Holding!Time


A*P name %7P ode %7P type >uota!Holding!Time *D1 $nsigned32

>ote. Iuota o upan y ti,e! The unit is se ond! The lient should start the 3uota holding ti,er when 3uota onsu,ption ends! &hen data o,,uni ation ends ti,ing" for e4a,ple" o,,uni ation e3uip,ent renews ti,ing after ea h data pa /et is sent" no 3uota-related 1olu,e o urs in the ti,e period that is defined in %7P" CC lient should regard this 3uota as e4pired! This optional %7P is only used in the CC% o,,and and is in luded in 6ultiple-+er1i eCredit-Control %7P group! This %7P is also used in distri-uting ti,e 3uota and 1olu,e 3uota! If the 1alue of Iuota-Holding-Ti,e is 0" the 3uota holding ti,er syste, is not used! If Iuota-Holding-Ti,e %7P does not appear" the lient uses the default 1alue of the lo al onfiguration!

"$ $57 >uota!Consumption!Time


A*P name %7P ode %7P type >uota!Consumption!Time **1 $nsigned32

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

32

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

>uota!Consumption!Time

>ote. Iuota onsu,ption ti,e! The unit is se ond! 8or so,e data appli ation -ase on ti,e harging" its traffi ,ay not -e ontinuous! &hen the traffi interruption is aused -y the fa tors that are not related to users" for e4a,ple" the ser1er is -usy and annot reply te,porarily" users ,ay o,plain the harging for this no traffi ti,e! To pro1ide -etter usto,er e4perien e" the arrier an use harging ,ethod -ased on ti,e period for dis ontinuous traffi ! &hen the data pa /et in the user a ess line stops transfer for so,e ti,e" lient does not al ulate this ti,e period into ser1i e ti,e! It is indi ated -y Iuota onsu,ption ti,e! %s an optional fun tion" the 5ia,eter ser1er an o,,and the lient to stop al ulating user 3uota onsu,ption when data pa /et stops transfer for so,e ti,e or after the session ends! This is reali0ed through Iuota-Consu,ption-Ti,e %7P arried in CC% ,essage! The idle ti,e after the data pa /et stops transfer and -efore Iuota-Consu,ption-Ti,e arri1es ,ust -e al ulated into user 3uota onsu,ption! The al ulation of user 3uota onsu,ption resu,es on e data pa /et resu,es to transfer! If data on the user a ess line is still allowed to transfer during CC:GCC% ,essage e4 hange pro ess" and Iuota-Consu,ption-Ti,e arried -y the new 3uota got fro, the e4 hange is the sa,e with that of the original 3uota" the CC:GCC% e4 hange ti,e is also possi-ly al ulated in the waiting ti,e of 3uota onsu,ption ti,e! 8or e4a,ple" if the data pa /et transfer on the user a ess line has stopped for fi1e se onds (suppose ICT is ten se onds)" and CC% is got two se onds late" then ICT ti,er will e4pire three se onds later (if no data pa /et is transferred after re ei1ing CC%)! %nd the later fi1e se ond of the ICT will -e al ulated in to user?s new 3uota onsu,ption" e1en if no a tual data pa /et is transferred during this period that is after new 3uota is re ei1ed! If Iuota-Consu,ption-Ti,e arried -y the new 3uota is different fro, that of the original 3uota" or data on the user line is not allowed to transfer during CC:GCC% infor,ation e4 hange pro ess" the ICT ti,er will -e stopped! The new 3uota onsu,ption is al ulated when ne4t data strea, that ,eets the harging rules starts! If the 1alue of Iuota-Consu,ption-Ti,e %7P is 0" or Iuota-Consu,ption-Ti,e %7P is not arried in CC%" the 3uota onsu,ption starts ontinuous al ulation fro, the ,o,ent 3uota is got!

"$ $59 2ating!<roup


A*P name %7P ode %7P type 2ating!<roup B32 $nsigned32

>ote. :ating group I5! %ll the ser1i es of the sa,e :ating type is in the sa,e :ating group! The re3uested :ating group an -e identified uni3uely through the o,-ination of +er1i eConte4t-Id and :ating-(roup %7P! :ating-(roup an orrespond to one or ,ore +er1i e-Identifers" whi h ,eans it ontains ,ultiple rate pa /ets of ,ultiple ser1i es! $sually" it is used for the harging re3uest -ased on session in the P+ do,ain!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

33

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $5: 2e%und!In%ormation


A*P name %7P ode %7P type 2e%und!In%ormation 2022 @ tet+tring

>ote. The :efund-Infora,tion %7P is of type @ tet+tring and it on1eys rele1ant infor,ation for the @C+ appli ation relati1e to refund ,e hanis,! &hen refund ,e hanis, is i,ple,ented in the @C+ this %7P ,ay -e in luded in the CC% of the pre1ious I'C! This %7P ,ust -e used -y the CT8 in ase of a refund s enario and thus ,ust -e in luded in the CC: for refund if pre1iously re ei1ed in CC% for I'C!

"$ $60 2e4uested!Action


A*P name %7P ode %7P type 2e4uested!Action B3C 'nu,erated

>ote. The :e3uested-% tion %7P (%7P Code B3C) is of type 'nu,erated and ontains the re3uested a tion -eing sent -y Credit-Control-:e3uest o,,and where the CC-:e3uest-Type is set to '7'>TJ:'I$'+T! The following 1alues are defined for the :e3uested-% tion %7P. 5I:'CTJ5'=ITI>( 0 This indi ates a re3uest to de rease the end userWs a ount a ording to infor,ation spe ified in the :e3uested-+er1i e-$nit %7P andGor +er1i e-Identifier %7P (additional rating infor,ation ,ay -e in luded in ser1i e-spe ifi %7Ps or in the +er1i ePara,eter-Info %7P)! The (ranted-+er1i e-$nit %7P in the CreditControl-%nswer o,,and ontains the de-ited units! :'8$>5J%CC@$>T 1

This indi ates a re3uest to in rease the end userWs a ount a ording to infor,ation spe ified in the :e3uested-+er1i e-$nit %7P andGor +er1i e-Identifier %7P (additional rating infor,ation ,ay -e in luded in ser1i e-spe ifi %7Ps or in the +er1i ePara,eter-Info %7P)! The (ranted-+er1i e-$nit %7P in the CreditControl-%nswer o,,and ontains the refunded units!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

3B

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $61 2esult!Code


A*P name %7P ode %7P type 2esult!Code 2C* $nsigned32

>ote. This %7P shows whether a spe ifi re3uest is e4e uted su essfully or error o urs! %ll 5ia,eter replies defined in the I'T8 appli ation should in lude :esult-Code! If the host that onfigures the :esult-Code %7P is not one that is designated in @rigin-Host %7P" an unsu essful :esult-Code %7P should in lude 'rror-:eporting-Host %7P! The :esult-Code data in ludes a 32 -it address spa e ,anaged -y I>%> to show an error! The error ode types pro1ided -y the 5ia,eter are as follows and the error types is distinguished -y the thousands digit. - 1444 (Infor,ation) - 2444 (+u eed) - 3444 (Proto ol error) - B444 (Te,porary failure) - E444 (Per,anent failure) The type that annot -e distinguished (the first one is e4 luded in the definition) ,ust -e defined as per,anent failure! 8or the 1alue definition of this field" refer to Chapter E!B (+pe ifi ation %ppendi4)!

"$ $6

2eporting!2eason
A*P name %7P ode %7P type 2eporting!2eason *D2 'nu,erated

>ote. +pe ifies the reason for usage reporting for one or ,ore types of 3uota for a parti ular ategory! &hen the CC: reports the redit use situation" the :eporting-:eason an o ur dire tly in the 6ultiple-+er1i es-Credit-Control %7P" or in the $sed-+er1i e-$nits %7P within a Credit Control :e3uest o,,and reporting redit usage! It shall not -e used at o,,and le1el! It shall always and shall only -e sent when usage is -eing reported! :eporting-:eason has the following definitions. TH:'+H@#5 0 This 1alue is used to indi ate that the reason for usage reporting of the parti ular 3uota type indi ated in the $sed-+er1i e-$nits %7P where it appears is that the threshold has -een rea hed! IHT 1 This 1alue is used to indi ate that the reason for usage reporting of all 3uota types of the 6ultiple-+er1i e-Credit-Control %7P where its appears is that the 3uota holding ti,e spe ified in a pre1ious CC% o,,and has -een hit (i!e! the 3uota has -een unused for that period of ti,e)! 8I>%# 2 This 1alue is used to indi ate that the reason for usage reporting of all 3uota types of the
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td 3E

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

2eporting!2eason onte4t

6ultiple-+er1i e-Credit-Control %7P where its appears is that a nor,al P5P ter,ination has happened! I$@T%J'YH%$+T'5 3

This 1alue is used to indi ate that the reason for usage reporting of the parti ular 3uota type indi ated in the $sed-+er1i e-$nits %7P where it appears is that the 3uota has -een e4hausted! 7%#I5IT<JTI6' B This 1alue is used to indi ate that the reason for usage reporting of all 3uota types of the 6ultiple-+er1i e-Credit-Control %7P where its appears is that the redit authori0ation lifeti,e pro1ided in the 7alidity-Ti,e %7P has e4pired! @TH':JI$@T%JT<P' E This 1alue is used to indi ate that the reason for usage reporting of the parti ular 3uota type indi ated in the $sed-+er1i e-$nits %7P where it appears is that" for a ,ulti-di,ensional 3uota" one rea hed a trigger ondition and the other 3uota is -eing reported! :%TI>(JC@>5ITI@>JCH%>(' C This 1alue is used to indi ate that the reason for usage reporting of all 3uota types of the 6ultiple-+er1i e-Credit-Control %7P where its appears is that a hange has happened in so,e of the rating onditions that were pre1iously ar,ed (through the Trigger-Type %7P" e!g! Io+" :adio % ess Te hnology"Z)! The spe ifi ondition that has hanged is indi ated in an asso iated Trigger-Type %7P! 8@:C'5J:'%$TH@:I+%TI@> D This 1alue is used to indi ate that the reason for usage reporting of all 3uota types of the 6ultiple-+er1i e-Credit-Control %7P where its appears is that it is there has -een a +er1er initiated re-authori0ation pro edure" i!e! re eipt of :%: o,,and! P@@#J'YH%$+T'5 * This 1alue is used to indi ate that the reason for usage reporting of the parti ular 3uota type indi ated in the $ser-+er1i e-$nits %7P where it appears is that granted units are still a1aila-le in the pool -ut are not suffi ient for a rating group using the pool! The 1alues IHT" 8I>%#" 7%#I5IT<JTI6'" 8@:C'5J:'%$TH@:I+%TI@>" :%TI>(JC@>5ITI@>JCH%>(' apply for all 3uota types and are used dire tly in the 6ultiple-+er1i es-Credit-Control %7P" whereas the 1alues TH:'+H@#5" I$@T%J'YH%$+T'5 and @TH':JI$@T%JT<P' apply to one parti ular 3uota type and shall o ur only in the $sed-+er1i e-$nits %7P! The 1alue P@@#J'YH%$+T'5 apply to all 3uota types using the redit pool and o urs in the $sed-+er1i e-$nits %7P!&hen the 1alue :%TI>(JC@>5ITI@>JCH%>(' is used" the Trigger-Type %7P shall also -e in luded to indi ate the spe ifi e1ent whi h aused the re-authori0ation re3uest!

"$ $6" 2e4uested!Service!;nit


A*P name %7P ode %7P type 2e4uested!Service!;nit B3D (rouped

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

3C

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

2e4uested!Service!;nit

>ote. :e3uested ser1i e unit or total a,ount! :e3uested-+er1i e-$nit ,ust -e ontained in the first or ,iddle CC: re3uest! If the 5CC lient (for e4a,ple. test that the ter,inal user ter,inates the ser1i e) does not ontain :e3uested-+er1i e-$nit in the re3uest" then the 5CC ser1er should dedu t the used a,ount for, the userWs a ount! In addition" new 3uota annot -e returned in the response! :eply with 7alidity-Ti,e" :esult-Code and 8inal-$nit-Indi ation to ter,inate the ser1i e elegantly! :e3uested-+er1i e-$nit %7P is an %7P group! The spe ifi %=>8 gra,,ars are as follows! :e3uested-+er1i e-$nit ..H N %7P Header. B3D O K CC-Ti,e L K CC-Total-@ tets L K CC-+er1i e-+pe ifi -$nits L

"$ $6+ 2edirect!Server


A*P name %7P ode %7P type 2edirect!Server B3B (rouped

>ote. It in ludes the address infor,ation of the redire t ser1er" for e4a,ple" HTTP :edire t +er1er and +IP :edire t +er1er! &hen the user a ount -alan e is not enough to pay for the ser1i e harge" the user is redire ted to the redire t ser1er! &hen 8inal-$nit-% tion is onfigured as :'5I:'CT" :edire t-+er1er ,ust -e spe ified! :edire t-+er1er %7P is an %7P group! The %=>8 gra,,ars are as follows. :edire t-+er1er ..H N %7P Header. B3B O P :edire t-%ddress-Type Q P :edire t-+er1er-%ddress Q

"$ $65 2edirect!Address!Type


A*P name %7P ode %7P type 2edirect!Address!Type B33 'nu,erated

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

3D

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

2edirect!Address!Type

>ote. It defines the address types pro1ided in :edire t-+er1er-%ddress! The 1alues defined -y address types are as follows. Ip1B %ddress Ip1C %ddress 0 1 The address type is Ip1B for, defined in KIp1BL! The address type is Ip1C for, defined in KIp1C%ddrL! The address for,at an -e the preferred for, or alternate for, defined in KIp1C%ddrL! I,ple,entation onstru tion ,ust support preferred for, and should support alternate for,! $:# +IP $:I 2 3 The address type is $:# for, defined in K$:#L! The address type is +IP $:I for, defined in K+IPL!

"$ $66 2edirect!server!Address


A*P name %7P ode %7P type 2edirect!Server!Address B3E $T8*+tring

>ote. It defines the address infor,ation of the redire t ser1er" for e4a,ple" HTTP :edire t +er1er and +IP :edire t +er1er! &hen the user a ount -alan e is not enough to pay for the ser1i e harge" the user is redire ted to this address!

"$ $67 2estriction!&ilter!2ule


A*P name %7P ode %7P type 2estriction!&ilter!2ule 3B3 IP8ilter:ule

>ote. The :estri tion-8ilter-:ule %7P (%7P Code B3*) is of type IP8ilter:ule and pro1ides filter rules orresponding to ser1i es that are to re,ain a essi-le e1en if there are no ,ore ser1i e units granted! The a ess de1i e has to onfigure the spe ified filter rules for the su-s ri-er and 6$+T drop all the pa /ets not ,at hing these filters! Xero" one" or ,ore su h %7Ps 6%< -e present in a Credit-Control-%nswer ,essage or in an %% answer ,essage!

"$ $69 Service!Conte1t!Id


A*P name %7P ode
Issue 01 (2011-10-31)

Service!Conte1t!Id BC1
Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td 3*

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name %7P type

Service!Conte1t!Id $T8*+tring

>ote. The +er1i e-Conte4t-Id ontains a uni3ue identifier of the 5ia,eter Credit Control ser1i e spe ifi do u,ent that applies to the re3uest! This is an identifier allo ated -y the ser1i e pro1iderGoperator" -y the ser1i e ele,ent ,anufa turer or -y a standardi0ation -ody and 6$+T uni3uely identify a gi1en 5ia,eter Credit Control ser1i e spe ifi do u,ent! 8or,at. Se4tensionsT!6>C!6CC!T:eleaseT!Tser1i e- onte4tT S[T Sdo,ainT The 3(PP spe ifi 1alues for Sser1i e- onte4tT S[T Sdo,ainT are. 8or P+ harging. 322E1[3gpp!org The S:eleaseT indi ates the 3(PP :elease the ser1i e spe ifi do u,ent is -ased upon e!g! C for :elease C! %s a ,ini,u," :elease Sser1i e- onte4tT S[T Sdo,ainT shall -e used! If the ,ini,u, is used all operator onfigura-le para,eters (@ and @,) are optional! The 6>C!6CC identifies the operator i,ple,enting the ser1i e spe ifi do u,ent" whi h is used to deter,ine the spe ifi re3uire,ents for the operator onfigura-le para,eters! The Se4tensionsT is operator spe ifi do u,ent! infor,ation to any e4tensions in a ser1i e spe ifi

"$ $6: Service!Identi%ier


A*P name %7P ode %7P type Service!Identi%ier B3) $nsigned32

>ote. The +er1i e-Identifier %7P is of type $nsigned32 (%7P Code B3)) and ontains the identifier of a ser1i e! The spe ifi ser1i e the re3uest relates to is uni3uely identified -y the o,-ination of +er1i e-Conte4t-Id and +er1i e-Identifier %7Ps!

"$ $70 Service!In%ormation


A*P name %7P ode %7P type Service!In%ormation *D3 (rouped

>ote. +er1i e infor,ation group! 5efining this %7P is to allow the lient to deli1er spe ifi additional ser1i e infor,ation! +er1i e-Infor,ation %7P is an %7P group! The spe ifi %=>8 gra,,ars are as follows. +er1i e-Infor,ation .. H N %7P Header. 20100O RK +u-s ription-Id L K P+-Infor,ation L

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

3)

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $71 Serving!)ode!Type


A*P name %7P ode %7P type Serving!)ode!Type 20BD Enumerated

>ote. The Serving-Node-Type %7P (%7P Code 20BD) is of type 'nu,erated and identifies the type of +er1ing >ode! It ,ay ta/e the following 1alues. 0 +(+> 1 P6IP+(&
2 (TP+(&

3 eP5( B h+(& E 66'

"$ $7

Session!Id
A*P name %7P ode %7P type (ra,,ar. N5ia,eterIdentityOANhigh 32 -itsOANlow 32 -itsOKANoptional 1alueOL '4a,ple for +P$5 -oard! Nhigh 32 -itsO. +ession reate ti,e in $TC for,at (se onds fro, 1)00)! Nlow 32 -itsO. +lot and CP$ nu,-er fro, 0\B0)E! Noptional 1alueO. +e3uen e nu,-er! The a-o1e fields are separated with MAM! '4a,ple. ggsn1)A3BBDB0BDB)AE2)A10 '4a,ple for +P$' -oard! Session!Id 2C3 $T8*+tring

>ote. +ession I5" uni3uely identifying on e 5CC session pro ess!

"$ $7" S<S)!Address


A*P name %7P ode %7P type
Issue 01 (2011-10-31)

S<S)!Address 122* IP%ddress


Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td B0

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

S<S)!Address

>ote. +(+> IP address! This %7P an -e used to identify the P#6> of the +(+> to whi h the user logs on!

"$ $7+ Start!Time


A*P name %7P ode %7P type Start!Time 20B1 Ti,e

>ote. The +tart-Ti,e %7P is of type Ti,e and holds the ti,e in $TC for,at whi h represents the start of a user session at the +-(&GP-(&!

"$ $75 Stop!Time


A*P name %7P ode %7P type Stop!Time 20B2 Ti,e

>ote. The +top-Ti,e %7P is of type Ti,e and holds the ti,e in $TC for,at whi h represents the ter,ination of a user session at the +-(&GP-(&!

"$ $76 Tari%%!Change!;sage


A*P name %7P ode %7P type Tari%%!Change!;sage BE2 'nu,erated

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

B1

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

Tari%%!Change!;sage

>ote. It defines whether the used unit is -efore or after the rate swit ho1er" or spans different rates when rate swit ho1er happens in a report s hedule! If this %7P is negle ted" it shows that no rate swit ho1er happens! &hen the response ,essage is 6ultiple-+er1i e-Credit-Control %7P" this %7P defines whether the allo ated unit is used -efore or after the rate swit ho1er! In the response ,essage" if this %7P is negle ted" it shows that uni3ue 3uota ,e hanis, is used! The following 1alues are defined in the Tariff-Change-$sage %7P. $>ITJ='8@:'JT%:I88JCH%>(' 0 &hen present in the 6ultiple-+er1i es-Credit-Control %7P" this 1alue indi ates the a,ount of the units allo ated for use -efore a tariff hange o urs! &hen present in the $sed+er1i e-$nit %7P" this 1alue indi ates the a,ount of resour e units used -efore a tariff hange had o urred! $>ITJ%8T':JT%:I88JCH%>(' 1 &hen present in the 6ultiple-+er1i es-Credit-Control %7P" this 1alue indi ates the a,ount of the units allo ated for use after a tariff hange o urs! &hen present in the $sed-+er1i e$nit %7P" this 1alue indi ates the a,ount of resour e units used after tariff hange had o urred! $>ITJI>5'T':6I>%T' 2 The used unit ontains the a,ount of units that straddle the tariff hange (e!g!" the ,etering pro ess reports to the redit- ontrol lient in -lo /s of n o tets" and one -lo / straddled the tariff hange)! This 1alue is to -e used only in the $sed-+er1i e-$nit %7P!

"$ $77 Tari%%!Time!Change


A*P name %7P ode %7P type Tari%%!Time!Change BE1 Ti,e

>ote. The harging rate swit ho1er syste, is optional to -oth the lient and the ser1er" and is not used in the ser1i e -ased on ontinuous ti,e! If the lient does not support the harging rate swit ho1er syste," the CC% answer ,essage in luding Tariff-Ti,e-Change is regarded as failure! Then the lient ends redit CC session and shows the ter,ination ause is 5I%6'T':J=%5J%>+&': in Ter,ination-Cause %7P! Ignoring this %7P ,eans harging rate swit ho1er report is not needed!

"$ $79 Termination!Cause


A*P name %7P ode %7P type Termination!Cause 2)E 'nu,erated

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

B2

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

Termination!Cause

>ote. It used to indi ate the reason for the session ter,ination of the 5ia,eter lient! The following 1alues are defined. 5I%6'T':J#@(@$T The user initiated dis onne t! 5I%6'T':J+':7IC'J>@TJP:@7I5'5 2 This 1alue is used when the user dis onne ted prior to the re eipt of the authori0ation answer ,essage! 5I%6'T':J=%5J%>+&': 3 This 1alue indi ates that the authori0ation answer re ei1ed -y the a ess de1i e was not pro essed su essfully! 5I%6'T':J%56I>I+T:%TI7' B The user was not granted a ess" or was dis onne ted" due to ad,inistrati1e reasons" su h as the re eipt of a %-ort-+ession-:e3uest ,essage! 5I%6'T':J#I>UJ=:@U'> 5I%6'T':J%$THJ'YPI:'5 5I%6'T':J$+':J6@7'5 5I%6'T':J+'++I@>JTI6'@$T E C D * The o,,uni ation to the user was a-ruptly dis onne ted! The userWs a ess was ter,inated sin e its authori0ed session ti,e has e4pired! The user is re ei1ing ser1i es fro, another a ess de1i e! The userWs session has ti,ed out" and ser1i e has -een ter,inated! 1

"$ $7: Time!>uota!Threshold


A*P name %7P ode %7P type Time!>uota!Threshold *C* $nsigned32

>ote. It in ludes threshold 1alue al ulated -y se ond! &hen 6ultiple-+er1i es-CreditControl in ludes (ranted-+er1i e-$nits and (ranted-+er1i e-$nits in ludes CC-Ti,e (the 3uota distri-uted is ti,e 3uota)" 6ultiple-+er1i es-Credit-Control ,ay in lude Ti,e-IuotaThreshold! &hen Ti,e-Iuota-Threshold is re ei1ed" 5CC lient will send CC: reauthori0ation to apply for new 3uota if the 3uota left is lower than the threshold 1alue defined -y Ti,eIuota-Threshold! 5uring the reauthori0ation pro ess" 5CC lient allows users to ontinue to use the ser1i e until the original 3uota is used up!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

B3

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $90 Time!>uota!'echanism


A*P name %7P ode %7P type Time!>uota!'echanism 12D0 (rouped

>ote. This %7P It has the following synta4. Ti,e-Iuota-6e hanis, ..H N %7P Header. 12D0O P Ti,e-Iuota-Type Q P =ase-Ti,e-Inter1al Q The @C+ ,ay in lude this %7P in a 6ultiple-+er1i es-Credit-Control %7P" when granting ti,e 3uota!

"$ $91 Time!>uota!Type


A*P name %7P ode %7P type Time!>uota!Type 12D1 'nu,erated

>ote. This %7P is used to indi ate whi h ti,e 3uota onsu,ption ,e hanis, shall -e used for the asso iated :ating (roup! It has the following 1alues. 5I+C:'T'JTI6'JP':I@5 C@>TI>$@$+JTI6'JP':I@5 (0) (1)

"$ $9

Trigger
A*P name %7P ode %7P type Trigger 12CB (rouped

>ote. The Trigger %7P is of type (rouped and holds the trigger types! The presen e of the Trigger %7P without any Trigger-Type %7P in a CC% allows @C+ to disa-le all the triggers! The presen e of the Trigger %7P in the CC: identifies the e1ent(s) triggering the CC:! It has the following %=>8 gra,,ar. NTriggerO..H N %7P Header. 12CB O R K Trigger-Type L

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

BB

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $9" Trigger!Type


A*P name %7P ode %7P type Trigger!Type *D0 'nu,erated

>ote. It is used to indi ate a re-authori0ation ti,e type! &hen Trigger-Type appears in the CC% o,,and" it indi ates the e1ent whi h auses that the 5CC lient re-applies 3uota! &hen the e1ent whi h does not -e in luded in Trigger %7P" the lient should not reauthori0e to apply new 3uota! Trigger-Type ,ust -e used :%TI>(JC@>5ITI@>JCH%>('! CH%>('JI>J+(+>JIPJ%55:'++ when the :eporting-:eason in CC: is

The following 1alues are defined in Trigger-Type. 1 It shows that the +(+> IP address hanges so that the 5CC lient re3uests new authority 3uota! CH%>('JI>JI@+ 2 It shows that the Io+ negotiated -y the ter,inal user hanges so that the 5CC lient re3uests new authority 3uota! CH%>('JI>J#@C%TI@> 3 It shows that the ter,inal user lo ation hanges so that the 5CC lient re3uests new authority 3uota! CH%>('JI>J:%T B It shows that the radio a ess te hni3ues hange so that the 5CC lient re3uests new authority 3uota!

"$ $9+ ;nit!>uota!Threshold


A*P name %7P ode %7P type ;nit!>uota!Threshold 122C $nsigned32

>ote. It in ludes threshold 1alue al ulated -y unit! &hen 6ultiple-+er1i es-Credit-Control in ludes (ranted-+er1i e-$nits and (ranted-+er1i e-$nits in lude CC-+er1i e-+pe ifi $nits (the 3uota distri-uted is unit 3uota)" 6ultiple-+er1i es-Credit-Control ,ay in lude $nit-Iuota-Threshold! &hen $nit-Iuota-Threshold is re ei1ed" 5CC lient will send CC: reauthori0ation to apply for new 3uota if the 3uota left is lower than the threshold 1alue defined -y $nit -IuotaThreshold! 5uring the reauthori0ation pro ess" 5CC lient allows users to ontinue to use the ser1i e until the original 3uota is used up!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

BE

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $95 ;nit!*alue


A*P name %7P ode %7P type ;nit!*alue BBE (rouped

>ote. The $nit-7alue %7P spe ifies the units as de i,al 1alue! The $nit-7alue is a 1alue with an e4ponent! The 1alue part should -e within the range fro, 1 to 2V32-1!The a-sen e of the e4ponent part 6$+T -e interpreted as an e4ponent e3ual to 0ero! If the e4ponent part is present" it should -e 0ero! The $sed-+er1i e-$nit %7P is of type (rouped" and is defined as follows. $nit-7alue ..H N %7P Header. BBE O P 7alue-5igits Q K '4ponent L

"$ $96 ;sed!Service!;nit


A*P name %7P ode %7P type ;sed!Service!;nit BBC (rouped

>ote. The nu,-er of total used units tested after the ser1i e is a ti1ated (if ,iddle harging ti,e is adopted" then the nu,-er is ounted fro, the end of the test of last ti,e)! $sed-+er1i e-$nit %7P is an %7P group! The spe ifi %=>8 gra,,ars are as follows! $sed-+er1i e-$nit ..H N %7P Header. BBCO K :eporting-:eason L K Tariff-Change-$sage L K CC-Ti,e L K CC-Total-@ tets L K CC-Input-@ tets L K CC-@utput-@ tets L K CC-+er1i e-+pe ifi -$nits L RK '1ent-Charging-Ti,e+ta,p L

"$ $97 ;ser!04uipment!In%o


A*P name %7P ode %7P type ;ser!04uipment!In%o BE* (rouped

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

BC

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

;ser!04uipment!In%o

>ote. $ser de1i e infor,ation! $ser-'3uip,ent-Info is an %7P group! The spe ifi %=>8 gra,,ars are as follows! $ser-'3uip,ent -;Info ..H N%7P Header. BE*O P$ser-'3uip,ent-Info-TypeQ P$ser- '3uip,ent-Info-7alueQ

"$ $99 ;ser!04uipment!In%o!Type


A*P name %7P ode %7P type ;ser!04uipment!In%o!Type BE) 'nu,erated

>ote. This field deter,ines the type of the identifier! The used 1alue is 0 for the international ,o-ile e3uip,ent identifier and software 1ersion a ording to 3(PP T+ 23!003!

"$ $9: ;ser!04uipment!In%o!*alue


A*P name %7P ode %7P type ;ser!04uipment!In%o!*alue BC0 @ tet+tring

>ote. This field ontains the user I6'I+7! I6'I+7 supports -oth =C5 type and $T8*+ting type -y the ontrol of software para,eter =<T'33 =IT1 and =IT2. =it1 0 =it2 0 5es ription I6'I7 filled as =C5 ode! I6'I7 filled as $T8* string" for length 1E I6'I7" the last two -ytes was filled I6'I7 filled as $T8* string" for length 1E I6'I7" only the 1E 1alid -its will -e

1 0 -y 88! 0 1 filled!

"$ $:0 ;ser!)ame


A*P name %7P ode %7P type ;ser!)ame 1 $T8*+tring

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

BD

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

;ser!)ame

>ote. The $ser->a,e %7P (%7P Code 1) K:%5I$+L is of type $T8*+tring" whi h ontains the $ser->a,e" in a for,at onsistent with the >%I spe ifi ation K>%IL!

"$ $:1 *alidity!Time


A*P name %7P ode %7P type *alidity!Time BB* $nsigned32

>ote. This %7P is sent fro, the 5CC ser1er to the 5CC lient and in ludes 1alid ti,e of the distri-uted ser1i e unit" re orded -y se onds! The 1alid ti,e is re orded fro, the ti,e the lient re ei1es CC% ,essage in luding 7alidity-Ti,e! If the allo ated ser1i e units are not used up in the 1alid ti,e" the 5CC lient ,ust send a CC: re3uest to the ser1er to apply for 3uota! 7alidity-Ti,e is also used to end the ser1i e elegantly! It is used to indi ate how long the user an use the networ/ resour e after the 5CC lient -egins a spe ifi a tion" for e4a,ple" :'5I:'CT or :'+T:ICTJ%CC'++! &hen the 1alid ti,e e4pires" the 5CC lient will send new interwor/ing to the ser1er! The 7alidity-Ti,e %7P on o,,and le1el is not defined -y 3(PP -ut in rf B00C! &hen this %7P is re ei1ed the 5CC lient starts a 1alidity ti,er! It is not stopped when the 5CC lient reports 3uota for a single 6+CC! If the 1alidity ti,er e4pires the 5CC lient has to report 3uota for all 6+CCs!

"$ $:

*alue!Digits
A*P name %7P ode %7P type *alue!Digits BBD IntegerCB

>ote. The 7alue-5igits %7P is of type IntegerCB (%7P Code BBD) and ontains the signifi ant digits of the nu,-er! The 7alue-5igits %7P should -e within the range fro, 1 to 2V32-1!

"$ $:" *olume!>uota!Threshold


A*P name %7P ode %7P type
Issue 01 (2011-10-31)

*olume!>uota!Threshold *C) $nsigned32


Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td B*

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

*olume!>uota!Threshold

>ote. It in ludes threshold 1alue al ulated -y -yte! &hen 6ultiple-+er1i es-Credit-Control in ludes (ranted-+er1i e-$nits and (ranted-+er1i e-$nits in lude CC-Total-@ tets" CCInput-@ tets or CC-@utput-@ tets (the 3uota distri-uted is 1olu,e 3uota)" 6ultiple+er1i es-Credit-Control ,ay in lude 7olu,e-Iuota-Threshold! &hen 7olu,e-Iuota-Threshold is re ei1ed" 5CC lient will send CC: reauthori0ation to apply for new 3uota if the 3uota left is lower than the threshold 1alue defined -y 7olu,eIuota-Threshold! 5uring the reauthori0ation pro ess" 5CC lient allows users to ontinue to use the ser1i e until the original 3uota is used up!

"$ $:+ "<PP!Charging!Id


A*P name %7P ode %7P type "<PP!Charging!Id 2 $nsigned32

>ote. Charging I5! The o,-ination of 3(PP-Charging-Id and ((+>-%ddress an -e used to identify the harging re ords of all the related +(+> and ((+> of a P5P onte4t! Charging I5 is generated -y the ((+> during P5P onte4t a ti1ation" and is sent to the +(+> whi h sends the Conte4t re3uest! =e ause the ((+> allo ates Charging I5 independently" different ((+>s ,ay allo ate the sa,e Charging I5" whi h needs to -e identified -y the ser1er a ording to the ((+> address and the start ti,e sta,p of the harging re ord!

"$ $:5 "<PP!PDP!Type


A*P name %7P ode %7P type 'nu,eration type. Ip1B Ip1C PPP 0 1 2 "<PP!PDP!Type 3 'nu,erated

>ote. P5P onte4t type" su h as Ip1B" Ip1C or PPP!

"$ $:6 "<PP!<P2S!)egotiated!>os!Pro%ile


A*P name %7P ode %7P type
Issue 01 (2011-10-31)

"<PP!<P2S!)egotiated!>os!Pro%ile E $T8*+tring
Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td B)

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

"<PP!<P2S!)egotiated!>os!Pro%ile

>ote. >egotiated Io+! It should -e onsistent with the re3uested Io+ 1ersion! This a1p is repla ed -y Io+-Infor,ation sin e 3(pp 32!2)) *D0!

"$ $:7 "<PP!I'SI!'CC!')C


A*P name %7P ode %7P type "<PP!I'SI!'CC!')C * $T8*+tring

>ote. The 6o-ile Country Code (6CC) and 6o-ile >etwor/ Code (6>C) ,essages e4tra ted fro, the I6+I!

"$ $:9 "<PP!<<S)!'CC!')C


A*P name %7P ode %7P type 0<PP!<<S)!'CC!')C ) $T8*+tring

>ote. The 6CC and 6>C of the ((+>!

"$ $:: "<PP!)SAPI


A*P name %7P ode %7P type "<PP!)SAPI 10 @ tet+tring

>ote. The identifi ation of the ser1i e a ess point to the networ/ layer! In the 6+" the >%+PI is used to identify P5P-+%P! =etween the +(+> and the ((+>" the >%+PI is used to identify the P5P onte4t that is asso iated with a P5P address!

"$ $100 "<PP!Session!Stop!Indicator


A*P name %7P ode %7P type "<PP!Session!Stop!Indicator 11 =it+tring

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

E0

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P name

"<PP!Session!Stop!Indicator

>ote. +ession a-ort identifi ation! It identifies a session is o1er when the session is released and is used in CC: (final)!

"$ $101 "<PP!Selection!'ode


A*P name %7P ode %7P type >ote. +ele tion ,ode! It is re ei1ed fro, the Create P5P Conte4t :e3uest 6essage! The 1alues allowed -y the ((+>. 0 6+ or networ/ pro1ided %P>" su-s ri-ed 1erified 1 6+ pro1ided %P>" su-s ription not 1erified 2 >etwor/ pro1ided %P>" su-s ription not 1erified "<PP!Selection!'ode 12 $T8*+tring

"$ $10

"<PP!Charging!Characteristics
A*P name %7P ode %7P type "<PP!Charging!Charateristics 13 $nsigned32

>ote. Charging hara teristi s! It is re ei1ed fro, the Create P5P Conte4t :e3uest 6essage!

"$ $10" "<PP!S<S)!'CC!')C


A*P name %7P ode %7P type "<PP!S<S)!'CC!')C 1* $T8*+tring

>ote. The P#6> identifi ation of the +(+>!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

E1

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$ $10+ "<PP!'S!Time?one


A*P name %7P ode %7P type "<PP!'S!Time?one 23 @ tet+tring

>ote. Ti,e 0one of the ter,inal!

"$ $105 "<PP!;ser!(ocation!In%o


A*P name %7P ode %7P type "<PP!;ser!(ocation!In%o 22 @ tet+tring

>ote. $ser lo ation identifi ation!

"$ $106 "<PP!2AT!Type


A*P name %7P ode %7P type "<PP!2AT!Type 21 @ tet+tring

>ote. :adio a ess te hni3ues! :adio side para,eters!

"$" A*P &lag De%ination


"$"$1 /asic A*Ps %rom I0T&
Figure a.1 %7Ps fro, I'T8 A*P )ame A*P Cod e % t-%ppli ation-Id %uth-%ppli ation-Id Called-+tation-Id
Issue 01 (2011-10-31)

A*P &lag 2ules 6ust 6 6 6 6ay P P P +hould not 6ust not 7 7 7 6ay 'n r! > > >
E2

2E) 2E* 30

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

CC-Input-@ tets CC-@utput-@ tets CC-:e3uest->u,-er CC-:e3uest-Type CC-+er1i e-+pe ifi -$nits CC-+ession-8ailo1er CC-Ti,e CC-Total-@ tets CC-$nit-Type Credit-Control-8ailure-Handling 5estination-Host 5estination-:eal, 5ire t-5e-iting-8ailure-Handling '1ent-Ti,esta,p '4ponent 8ailed-%7P 8ilter-Id 8inal-$nit-% tion 8inal-$nit-Indi ation (ranted-+er1i e-$nit (-+-$-Pool-Identifier (-+-$-Pool-:eferen e 6ultiple-+er1i es-Credit-Control 6ultiple-+er1i es-Indi ator @rigin-Host @rigin-:eal, @rigin-+tate-Id Pro4y-Info Pro4y-Host Pro4y-+tate :ating-(roup :edire t-%ddress-Type
Issue 01 (2011-10-31)

B12 B1B B1E B1C B1D B1* B20 B21 BEB B2D 2)3 2*3 B2* EE B2) 2D) 11 BB) B30 B31 BE3 BED BEC BEE 2CB 2)C 2D* 2*B 2*0 33 B32 B33

6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6

P"6 P P P P P P P P P P P P P P P P P P P P P P P P P P P P

7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 P"7 P"7 P"7 7 7

< < < < < < < < < < > > < > > > < < < < < < < < > > > > > > < <
E3

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

:edire t-+er1er :edire t-+er1er-%ddress :e3uested-% tion :e3uested-+er1i e-$nit :estri tion-8ilter-:ule :esult-Code :oute-:e ord +er1i e-Conte4t-Id +er1i e-Identifier +ession-Id +u-s ription-Id +u-s ription-Id-5ata +u-s ription-Id-Type Tariff-Change-$sage Tariff-Ti,e-Change $nit-7alue $sed-+er1i e-$nit $ser-'3uip,ent-Info $ser-'3uip,ent-Info-Type $ser-'3uip,ent-Info-7alue $ser->a,e 7alue-5igits 7alidity-Ti,e 7endor-Id 7endor-+pe ifi -%ppli ation-Id

B3B B3E B3C B3D B3* 2C* 2*2 BC1 B3) 2C3 BB3 BBB BE0 BE2 BE1 BBE BBC BE* BE) BC0 1 BBD BB* 2CC 2C0

6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 -

P P P P P P P P P P P P P P P P P"6 P"6 P"6 P P P -

7 7 7 7 7 7 P"7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 -

< < < < < > > < < < < < < < < < < < < < < < < -

&hen %7Ps are applied in different site" the flag rules ,ay -e defined differently a ording to @peratorWs re3uire,ent!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

EB

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$"$

"<PP Speci%ic A*Ps


Figure a.2 3(PP +pe ifi %7Ps A*P )ame A*P Cod e % ess->etwor/-Charging-Identifier-7alue % ess->etwor/-Infor,ation %8-Charging-Identifier =ase-Ti,e-Inter1al C(-%ddress Charging-:ule-=ase->a,e 'n1elope 'n1elope-+tart-Ti,e 'n1elope-'nd-Ti,e 'n1elope-:eporting '1ent-Charging-Ti,e+ta,p ((+>-%ddress P5P-%ddress P5P-Conte4t-Type P+-%ppend-8ree-8or,at-5ata P+-8ree-8or,at-5ata P+-8urnish-Charging-Infor,ation P+-Infor,ation Iuota-Consu,ption-Ti,e Iuota-Holding-Ti,e :eporting-:eason +er1i e-Infor,ation +(+>-%ddress Ti,e-Iuota-6e hanis, Ti,e-Iuota-Threshold Ti,e-Iuota-Type E03 12C3 E0E 12CE *BC 100B 12CC 12C) 12CD 12C* 12E* *BD 122D 12BD *CD *CC *CE *DB **1 *D1 *D2 *D3 122* 12D0 *C* 12D1 A*P &lag 2ules 6ust 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 6ay P P P P P P P P P P P P P P P P P P P P P P P P P P +hould not 6ust not 6ay 'n r! < > < > < < > > > > > > < > > > > > > > > > > > > >

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

EE

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

A*P )ame Trigger Trigger-Type $nit-Iuota-Threshold 7olu,e-Iuota-Threshold 3(PP-Charging-Chara teristi s 3(PP-Charging-Id 3(PP-((+>- 6CC-6>C 3(PP-(P:+->egotiated-Io+-Profile 3(PP-I6+I-6CC-6>C 3(PP-6+-Ti,eXone 3(PP->+%PI 3(PP-P5P-Type 3(PP-:%T-Type 3(PP-+ele tion-6ode 3(PP-+ession-+top-Indi ator 3(PP-+(+>-6CC-6>C 3(PP-$ser-#o ation-Info

A*P Cod 12CB e *D0 122C *C) 13 2 ) E * 23 10 3 21 12 11 1* 22

A*P &lag 2ules 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 7"6 P P P P P P P P P P P P P P P P P > > > > < < < < < < < < < < < < <

&hen %7Ps are applied in different site" the flag rules ,ay -e defined differently a ording to @peratorWs re3uire,ent!

"$+ Tra%%ic Control /ehaviour on CCA 2esult Codes


"$+$1 2esult Codes on Command (evel
8or o,,and le1el result odes" ea h result ode (e4 ept 2001 and 2002 )-eha1ior ould -e spe ifi ly onfigured for ite,s -elow.

Ter,inate with CC:-T. to tear down the P5P onte4t and send CC:-T! Ter,inate without CC:-T. to tear down the P5P onte4t and not to send CC:-T! @ffline. to allow the P5P as offline ser1i e and generate the offline (C5: if
Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td EC

Issue 01 (2011-10-31)

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

onfigured

8ailo1er. to ta/e failure handling a ording to CC8H onfiguration! =lo /. to -lo / all su-s ri-er ser1i es (in luding su-se3uently re3uested ser1i es and ser1i es for whi h 3uota has -een allo ated) :edire t. to redire t all su-s ri-er ser1i es (in luding su-se3uently re3uested ser1i es and ser1i es for whi h 3uota has -een allo ated)

%ll other result odes whi h are not spe ially onfigured and not 2001G 2002 will -eha1e as Co,,and le1el default -eha1ior! Figure a. Co,,and le1el result ode a tion! CCA 2esult code on command level 5I%6'T':J+$CC'++ (2001) 5I%6'T':J#I6IT'5J+$CC'++ (2002) +pe ifi result ode Tra%%ic /ehaviour 5epends on 6+CC result ode 5epends on 6+CC result ode =eha1iour Configura-le for Ter,inate with CC:-T Ter,inate without CC:-T @ffline 8ailo1er %ll other result odes 5efault =eha1iour Comment

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

ED

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Figure a.! #ist of typi al result ode

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

E*

CCA 2esult code on command level H$%&'I $(&)*11 (y Interfa 5I%6'T':J6$#TIJ:@$>5J e +pe ifi ation %$TH(1001) 5I%6'T':J+$CC'++ (2001) 5I%6'T':J#I6IT'5J+$CC'++ (2002) 5I%6'T':JC@66%>5J $>+$PP@:T'5 (3001) 5I%6'T':J$>%=#'JT@J5'#I7' : (3002) 5I%6'T':J:'%#6J>@TJ +':7'5(3003) 5I%6'T':JT@@J=$+< (300B) 5I%6'T':J#@@PJ5'T'CT'5 (300E) 5I%6'T':J:'5I:'CTJ I>5IC%TI@>(300C) 5I%6'T':J%PP#IC%TI@>J$>+$ PP@:T'5 (300D) 5I%6'T':JI>7%#I5JH5:J=IT+ (300*) 5I%6'T':JI>7%#I5J%7PJ=IT+ (300)) 5I%6'T':J$>U>@&>JP'': (3010) 5I%6'T':J%$TH'>TIC%TI@>J: 'F'CT'5(B001) 5I%6'T':J@$TJ@8J+P%C' (B002) 5I%6'T':J'#'CTI@>J#@+T(B00 3) 5I%6'T':J'>5J$+':J +':7IC'J5'>I'5(B010) 5I%6'T':JC:'5ITJC@>T:@#J> @TJ%PP#IC%=#' (B011) 5I%6'T':JC:'5ITJ#I6ITJ:'%C H'5 (B012) 5I%6'T':J%7PJ$>+$PP@:T'5( E001) 5I%6'T':J$>U>@&>J+'++I@> JI5 (E002)

Tra%%ic /ehaviour 5efault =eha1iour 5epends on result ode 5epends on result ode 6+CC 6+CC

,rigin

Comme nt 3 Interfa e 5efinition :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8C3E* * :8CB00 C :8CB00 C :8CB00 C :8C3E* * :8C3E* * :8C3E* * %fter P5P onte4t E) a ti1ation pro edure! $sed Iuota ,ust -e

5efault =eha1iour 8ailo1er 5efault =eha1iour 8ailo1er 8ailo1er 5efault =eha1iour 5efault =eha1iour 5efault =eha1iour 5efault =eha1iour 8ailo1er 5efault =eha1iour 8ailo1er 5efault =eha1iour 5efault =eha1iour >o redit ontrol 5efault =eha1iour 5efault =eha1iour Ter,inate P5P no CC: with

5I%6'T':J%$TH@:IX%TI@>J:' Ter,inate P5P F'CT'5(E003) Huawei Proprietary and Confidential CC: Issue 01 (2011-10-31) Copyright Huawei Te hnologies Co!" #td

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$+$

2esult Codes on 'SCC (evel


8or 6+CC le1el result odes" ea h result ode (e4 ept 2001 and 2002 )-eha1ior ould -e spe ifi ly onfigured for ite,s -elow.

=lo /. to -lo / the ser1i e -ut /eep the P5P onte4t! It is default 1alue! @ffline. to allow the ser1i e as offline ser1i e and generate the offline (C5: if onfigured :edire t. to redire t -rowsing ser1i es to onfigured we- ser1er! Ter,inate. to Tear down the P5P onte4t

%ll other result odes whi h are not spe ially onfigured and not 2001G 2002 will -eha1e as 6+CC le1el default -eha1ior! Figure a." 6+CC le1el result ode CCA 2esult code in 'SCC 5I%6'T':J+$CC'++ (2001) 5I%6'T':J#I6IT'5J+$CC '++ (2002) +pe ifi result ode Tra%%ic /ehaviour %llow Traffi %llow Traffi =eha1iour Configura-le for =lo / @ffline :edire t Ter,inate %ll other result odes 5efault =eha1iour '4 ept STer,inateT" all -eha1oir will -e done only on the ser1i e traffi s of the :ating (roup indi ated in the 6+CC! Comment

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

C0

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

"$+$" &inal ;nit Action on 'SCC (evel


Figure a.# 8inal $nit % tion on 6+CC le1el CCA 2esult code in 'SCC 5I%6'T':J+$CC'++ (2001) &inal!;nit! Action Ter,inate Tra%%ic =lo / Comment Traffi is -lo /ed when 3uota is e4hausted :edire tion is done when the 3uota is e4hausted :estri t-% ess is done when 3uota is e4hausted

:edire t

:edire tion

:estri t-% ess

:estri t% ess =lo / :edire tion :estri t% ess 5efault =eha1iour 5efault =eha1iour 5efault =eha1iour

5I%6'T':JC:'5ITJ#I6IT J:'%CH'5 (B012)

Ter,inate :edire t :estri t-% ess

%ll other result odes

Ter,inate :edire t :estri t-% ess

"$+$+ De%ault /ehaviour


The default -eha1iour an -e onfigured separately for Co,,and le1el and 6+CC le1el result odes lo ally on ((+>! Co,,and le1el result ode

Ter,inate with CC:-T. to tear down the P5P onte4t and send CC:-T! It is default 1alue! Ter,inate without CC:-T. to tear down the P5P onte4t and not to send CC:-T! @ffline. to allow the P5P as offline ser1i e and generate the offline (C5: if onfigured 8ailo1er. to ta/e failure handling a ording to CC8H onfiguration!

8or 6+CC le1el result ode not spe ifi ally onfigured" 6+CC le1el default -eha1iors -elow ould -e onfigured.

=lo /. to -lo / the ser1i e -ut /eep the P5P onte4t! It is default 1alue! :edire t. to redire t -rowsing ser1i es to onfigured we- ser1er!
Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td C1

Issue 01 (2011-10-31)

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

@ffline. to allow the ser1i e as offline ser1i e and generate the offline (C5: if onfigured Ter,inate. to Tear down the P5P onte4t

"$5 8or. &lo"$5$1 Signalling &loFigure a.1 Initial =alan e Che / ] %uthenti ation

Figure a.2 7olu,e =ased Charging

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

C2

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Figure a. Ti,e =ased Charging

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

C3

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Figure a.! :edire tion when =alan e '4hausted ] :e harge >otifi ation

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

CB

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Figure a." P5P $pdate +ignalling 8low

Figure a.# Charging 8low =ased on +ession

1$ The user sends a ser1i e re3uest to the ((+>! %fter the ((+> re ei1es the re3uest" it sends a CC: re3uest to the @C+! The CC: ,essage in ludes the Credit-Control %7P whi h is used to des ri-e the redit ontrol apa-ility and the other %7Ps whi h are used to des ri-e the authori0ation and authenti ation situation!
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td CE

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

$ The @C+ arries out rating for this re3uest and reser1es the apital in the user a ount! Then it sends a reply ,essage CC% to the CC: re3uest! The reply ,essage in ludes the (ranted+er1i e-$nit %7P(s) and ,ay-e also in ludes the other %7Ps of redit ontrol des ription! In addition" the @C+ ,ay set the 7alidity-Ti,e" and the %7P used to deal with ,essage deli1ery failure is possi-le to -e in luded" su h as Credit-Control-8ailure-Handling %7P and 5ire t5e-iting-8ailure-Handling %7P! "$ %fter the ((+> re ei1es the CC%" it authori0es the ter,inal users to use the orresponding ser1i e! %t the sa,e ti,e" the i,,ediate redit ontrol re3uest is generated! +$ &hen the reser1ed apital of the user is to -e used up or e4pire" the ((+> sends new reser1ation re3uest to the @C+ again! The @C+ on e again reser1es apital fro, the user a ount" returns the orresponding li,its to the ((+>! Then the ((+> updates the reser1ation apital of the user! 5$ &hen the user a ount is used up or the ena-led ser1i e is to end" the ((+> sends a ,essage of ter,inating redit ontrol ser1i e to the @C+! +et the orresponding CC-:e3uest-Type %7P as T':6I>%TI@>J:'I$'+T! The ,essage should ontain the '1ent-Ti,esta,p %7P for identifying the ser1i e end ti,e and the $sed-+er1i e-$nit %7P used -y the a tual ser1i e! The @C+ needs to return the rest reser1ed apital to the user a ount and dedu t the ost! Figure a.1 Charging =ased on Tariff Changes

1$ The user sends the P5P Conte4t re3uest! 6$ The ((+> sends the CC: Initial infor,ation" as/ing the @C+ to set up ontrol onne tion! 7$ The @C+ replies the CC% Initial infor,ation whi h ontains :esult Code +u ess! 9$ The P5P Conte4t is set up su essfully! :$ The user sends the at 1 ser1i e re3uest! 10$ The ((+> sends the CC: $pdate infor,ation whi h ontains :ating (roupH1!
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td CC

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

11$ The @C+ arries out rating" ounting the traffi 3uota! 1 $ The @C+ replies the CC% $pdate infor,ation to allo ate the 3uota" and infor,s the ((+> of the idle ti,e ti,er and the ,ini,u, 3uota threshold! 1"$ The user used traffi rea hes the ,ini,u, 3uota threshold! 1+$ The ((+> sends the CC: $pdate" reporting the used 3uota! The report reason is that the used traffi rea hes the ,ini,u, 3uota threshold! 15$ The @C+ arries out rating" a ounting the used traffi 3uota! The @C+ tests the on o,ing tariff swit h ti,e! Here" T+- urrent ti,e is less than 7T! The @C+ an pro1ide the a1aila-le 3uota -efore and after the tariff swit h ti,e! 16$ The @C+ replies the CC% $pdate infor,ation to re-allo ate the 3uota an return the tariff swit h ti,e of the para,eter! 17$ The user used traffi rea hes the ,ini,u, 3uota threshold! 19$ The ((+> reports the used traffi -efore and after the tariff swit h ti,e! 1:$ The @C+ arries out rating" a ounting the used traffi 3uota -efore and after the tariff swit h ti,e! 0$ The @C+ replies the CC% $pdate infor,ation to re-allo ate the 3uota! Figure a.1 :e-%uthori0ation 8low #aun hed -y +er1er

The @C+ an laun h the re-authenti ationGauthori0ation ser1i e -y sending a :e-%uth:e3uest (:%:)! 8or e4a,ple" for the pre-paid harging ser1i e" the initially authori0ed @C+ ,ay onfir, whether the user is still using this ser1i e! If the ser1i e supports reauthenti ationGauthori0ation" the a ess de1i e re ei1es the :%: infor,ation in whi h the +ession-I5 is the sa,e as the urrent a ti1ity session! @therwise" the a ess de1i e should send re-authenti ationGauthori0ation to the user!
Issue 01 (2011-10-31) Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td CD

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

1$ The @C+ sends the :e-%uth-:e3uest (:%:) ,essage to laun h a re-authenti ation flow! 1$ &hen the ((+> re ei1es the :%: infor,ation with so,e :(" it a epts the re3uest fro, the @C+" sends a :%% with result ode 2002 to the @C+ to infor, that the re-authenti ation has started" and then send CC: ,essage to re-auth 3uota of the :( indi ated in :%: ,essage! $ %fter the ((+> re ei1es the CC% ontaining (ranted-+er1i e-$nit" the redit ontrol session and the ser1i e ontinue with new 3uota granted fro, @C+! Figure a.1 %-ort +ession 8low #aun hed -y +er1er

The @C+ an laun h the a-ort session ser1i e -y sending an %-ort-+ession-:e3uest (%+:)! 8or e4a,ple" for the pre-paid harging ser1i e" the initially authori0ed @C+ ,ay onfir, that the user annot use this ser1i e any ,ore! If the ser1i e supports a-ort session" the a ess de1i e re ei1es the %+: infor,ation in whi h the +ession-I5 is the sa,e as the urrent a ti1ity session! @therwise" the a ess de1i e should send a-ort session to the user! 1$ The @C+ sends the %-ort-+ession-:e3uest (%+:) ,essage to laun h a a-ort session flow! "$ &hen the ((+> re ei1es the %+: infor,ation" it a epts the re3uest fro, the @C+" sends an %+% to the @C+ to infor, that the user an a-ort the ser1i e" sends an instru tion to the use to a-ort the ser1i e" and then sends CC:(Ter,inate) to the @C+ to report the rest traffi ! +$ The ((+> re ei1es CC%(Ter,inate)" and the session is o1er!

"$5$

Abnormal &lo+olutions &hen T4 Ti,er 5oes >ot :e ei1e CC% =efore It Ti,es @ut %fter the ((+> sends the CC: ,essage to the @C+ and onsu,es the redit 3uota of this user" -efore re ei1ing the CC% ,essage" the ((+> an support.

>ot -rea/ing the ser1i e -eing used -y the pre-paid harging users! (If this ,ethod is used" then the 3uota used -y the users during this period should -e re orded in (-C5: and the redit ontrol re3uest ,essage of the ne4t ti,e!) Pausing the ser1i e -eing used -y the pre-paid harging ser1i e until it re ei1es the CC% ,essage fro, the @C+ and is authori0ed! Ter,inating the ser1i e -eing used -y the pre-paid harging users!
Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td C*

Issue 01 (2011-10-31)

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

+wit ho1er 8low &hen the @C+ +er1er Is %-nor,al The ((+> an onfigure two a ti1eGstand-y @C+ ser1ers! &hen the a ti1e @C+ ser1er is a-nor,al" the ((+> an swit h to o,,uni ate with the stand-y @C+ ser1er! The ((+> e4 hanges the 5&:G5&% path ,onitoring ,essage with the @C+ ser1er on fi4ed ti,e to ,onitor the path situation -etween the,! %fter the ((+> sends the redit ontrol re3uest to the @C+ ser1er" if it does not re ei1e any response until ti,eout" the ((+> an use the ,ethods spe ified in the 5ia,eter proto ol to perfor, any of the follows a ording to the CC8H 1alue set -y the arriers!

>ot -rea/ing the ser1i e -eing used -y the pre-paid harging users! (If this ,ethod is used" then the 3uota used -y the users during this period should -e re orded in (-C5: and the redit ontrol re3uest of the ne4t ti,e!) :e-sending the redit ontrol re3uest! If the retrials still fail" then ter,inate the ser1i e used -y the pre-paid harging users! Ter,inating the ser1i e -eing used -y the pre-paid harging users dire tly instead of resending the redit ontrol re3uest!

If the CC8H is set as the T':6I>%T' 1alue" the @C+ swit ho1er flow will not wor/! If fault o urs to the a ti1e @C+ ser1er" the ((+> will dire tly pre1ent the user fro, using this ser1i e" as shown in the following figure! Figure a.1 8ailure Handling^Ter,inate

&hen the CC8H is set as the C@>TI>$' or the :'T:<J%>5JT':6I>%T' 1alue" when fault o urs" it will start the @C+ swit ho1er flow" If the a ti1e @C+ ser1er is a-nor,al" the ((+> sends the path test ,essage! If the path test fails" the @C+ swit ho1er will -e ena-led to re-send the CC: ,essage to the stand-y @C+ ser1er" as shown in the following figure!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

C)

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

Figure a.2 8ailure Handling^:etry and +u ess

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

D0

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

3 Interfa e 5efinition

De%ined A*P Table

In the following state,ent" MNOM ,eans that it is o,pulsory and should -e in the -eginning of the ,essage" MPQM ,eans that it is o,pulsory" MKLM ,eans that it is optional" and MRKLM ,eans that the option an -e repeated! 6 Co,pulsory C Condition optional @6 Co,pulsory option defined -y the operator @C Condition optional option defined -y the operator

The different option attri-utes of ea h %7P in the spe ifi situation (8irst" Inter,ediate" 8inal and '7'>T) is defined in the following ta-le! If an %7P has father node" then whether it appears depends on whether its father node appears! If the optional father node does not appear" then e1en this %7P attri-ute is o,pulsory" this %7P will not appear!
5o u,ent--N(y %7P Ta-le!4lsO indi ates detail infor,ation of %7Ps for ea h 5CC ,essages!

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

D1

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

= (lossary

Figure a.1

2e%erence Standand

The lauses in the following files -e o,e the lauses of this spe ifi ation through referen e! %ll the se3uent ,odifi ation sheets (e4 luding the orrigenda) of the referen ed files ,ar/ed with date are not fit for this spe ifi ation! Howe1er" the parties that rea h an agree,ent a ording to this spe ifi ation are re o,,ended to study whether the latest 1ersions of these files an -e used! The latest 1ersions for all the referen ed files without date are fit for this spe ifi ation! K1L K2L I'T8 :8C B00C. S5ia,eter Credit-Control %ppli ationT! I'T8 :8C 3E**. S5ia,eter =ase Proto olT!

K3L 3(PP T+ 32!2)). STele o,,uni ation ,anage,entA Charging ,anage,entA 5ia,eter harging appli ationT! KBL 3(PP T+ 32!2E1. STele o,,uni ation ,anage,entA Charging ,anage,entA Pa /et +wit hed (P+) do,ain hargingT! KEL (y %7P Ta-le!4ls

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

D2

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

= (lossary

Figure a.2

<lossary

AAA Accounting

Authentication, Authori)ation and Accounting. The act of collecting information on resource usage for the purpose of capacity planning, auditing, billing or cost allocation. An accounting record represents a summary of the resource consumption of a user over the entire session. Accounting servers creating the accounting record may do so by processing interim accounting events or accounting events from several devices serving the same user. The act of verifying the identity of an entity <sub%ect=. The act of determining whether a reIuesting entity <sub%ect= will be allowed access to a resource <ob%ect=. The :iameter protocol consists of a header followed by one or more Attribute8;alue8/airs <A;/s=. An A;/ includes a header and is used to encapsulate protocol8specific data <e.g., routing information= as well as authentication, authori)ation or accounting information. A broker is a business term commonly used in AAA infrastructures. A broker is either a relay, pro$y or redirect agent, and 9AN be operated by roaming consortiums. :epending on the business model, a broker may either choose to deploy relay agents or pro$y agents. Credit pool is a mechanism to avoid the credit fragmentation introduced by credit reservation on HC" server. The HC" server allocates the Iuotas with a reference to a credit pool. A credit pool is formed on the client by multiple Iuotas linked to one credit pool, from which all services draw units. A :iameter Agent is a :iameter node that provides either relay, pro$y, redirect or translation services. A :iameter Client is a device at the edge of the network that performs access control. An e$ample of a :iameter client is a Network Access "erver <NA"= or a ?oreign Agent <?A=. A :iameter node is a host process that implements the :iameter protocol, and acts either as a Client, Agent or "erver. A :iameter /eer is a :iameter Node to which a given :iameter Node has a direct transport connection.

Accounting 1ecord

Authentication Authori)ation

A;/

(roker

Credit /ool

:iameter Agent

:iameter Client

:iameter Node :iameter /eer

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

D3

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

= (lossary

:iameter "ecurity &$change

A :iameter "ecurity &$change is a process through which two :iameter nodes establish end8to8end security. A :iameter "erver is one that handles authentication, authori)ation and accounting reIuests for a particular realm. (y its very nature, a :iameter "erver 9 "T support :iameter applications in addition to the base protocol. :ownstream is used to identify the direction of a particular :iameter message from the home server towards the access device. TL" and #/sec provide hop8by8hop security, or security across a transport connection. 2hen relays or pro$y are involved, this hop8by8 hop security does not protect the entire :iameter user session. &nd8to8 end security is security between two :iameter nodes, possibly communicating through :iameter Agents. This security protects the entire :iameter communications path from the originating :iameter node to the terminating :iameter node. A Home 1ealm is the administrative domain with which the user maintains an account relationship. "ee :iameter "erver. An interim accounting message provides a snapshot of usage during a user0s session. #t is typically implemented in order to provide for partial accounting of a user0s session in the case of a device reboot or other network problem prevents the reception of a session summary message or session record. A local realm is the administrative domain providing services to a user. An administrative domain 9AN act as a local realm for certain users, while being a home realm for others. 9ulti8session A multi8session represents a logical linking of several sessions. 9ulti8sessions are tracked by using the Acct89ulti8"ession8#d. An e$ample of a multi8 session would be a 9ulti8link /// bundle. &ach leg of the bundle would be a session while the entire bundle would be a multi8session. The Network Access #dentifier, or NA#, is used in the :iameter protocol to e$tract a user0s identity and realm. The identity is used to identify the user during authentication and3or authori)ation, while the realm is used for message routing purposes. #n addition to forwarding reIuests and responses, pro$ies make policy decisions relating to resource usage and provisioning. This is typically accomplished by tracking the state of NA" devices. 2hile pro$ies typically do not respond to client 1eIuests prior to receiving a 1esponse from the server, they may originate 1e%ect messages in cases where policies are violated. As a result, pro$ies need to understand the semantics of the messages passing through them, and may not support all :iameter applications.

:iameter "erver

:ownstream

&nd8to8&nd "ecurity

Home 1ealm Home "erver

#nterim accounting

Local 1ealm

Network Access #dentifier

/ro$y Agent or /ro$y

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

DB

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

= (lossary

1ealm

The string in the NA# that immediately follows the 040 character. NA# realm names are reIuired to be uniIue, and are piggybacked on the administration of the :N" namespace. :iameter makes use of the realm, also loosely referred to as domain, to determine whether messages can be satisfied locally, or whether they must be routed or redirected. #n 1A:# ", realm names are not necessarily piggybacked on the :N" namespace but may be independent of it. 1eal8time accounting involves the processing of information on resource usage within a defined time window. Time constraints are typically imposed in order to limit financial risk. 1elays forward reIuests and responses based on routing8related A;/s and realm routing table entries. "ince relays do not make policy decisions, they do not e$amine or alter non8routing A;/s. As a result, relays never originate messages, do not need to understand the semantics of messages or non8routing A;/s, and are capable of handling any :iameter application or message type. "ince relays make decisions based on information in routing A;/s and realm forwarding tables they do not keep state on NA" resource usage or sessions in progress. 1ather than forwarding reIuests and responses between clients and servers, redirect agents refer clients to servers and allow them to communicate directly. "ince redirect agents do not sit in the forwarding path, they do not alter any A;/s transiting between client and server. 1edirect agents do not originate messages and are capable of handling any message type, although they may be configured only to redirect messages of certain types, while acting as relay or pro$y agents for other types. As with pro$y agents, redirect agents do not keep state with respect to sessions or NA" resources. 1oaming relationships include relationships between companies and #"/s, relationships among peer #"/s within a roaming consortium, and relationships between an #"/ and a roaming consortium. A security association is an association between two endpoints in a :iameter session which allows the endpoints to communicate with integrity and confidentially, even in the presence of relays and3or pro$ies. A session is a related progression of events devoted to a particular activity. &ach application "HH L: provide guidelines as to when a session begins and ends. All :iameter packets with the same "ession8 #dentifier are considered to be part of the same session. A stateful agent is one that maintains session state information, by keeping track of all authori)ed active sessions. &ach authori)ed session is bound to a particular service, and its state is considered active either until it is notified otherwise, or by e$piration. A sub8session represents a distinct service <e.g., @o" or data characteristics= provided to a given session. These services may happen concurrently <e.g., simultaneous voice and data transfer during the same session= or serially. These changes in sessions are tracked with the Accounting8"ub8"ession8#d.

1eal8time Accounting

1elay Agent or 1elay

1edirect Agent

1oaming 1elationships

"ecurity Association

"ession

"ession state

"ub8session

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

DE

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

= (lossary

Transaction state

The :iameter protocol reIuires that agents maintain transaction state, which is used for failover purposes. Transaction state implies that upon forwarding a reIuest, the Hop8by8Hop identifier is savedO the field is replaced with a locally uniIue identifier, which is restored to its original value when the corresponding answer is received. The reIuest0s state is released upon receipt of the answer. A stateless agent is one that only maintains transaction state. A translation agent is a stateful :iameter node that performs protocol translation between :iameter and another AAA protocol, such as 1A:# ". A transport connection is a TC/ or "CT/ connection e$isting directly between two :iameter peers, otherwise known as a /eer8to8/eer Connection. pstream is used to identify the direction of a particular :iameter message from the access device towards the home server. The entity reIuesting or using some resource, in support of which a :iameter client has generated a reIuest.

Translation Agent

Transport Connection

pstream ser

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

DC

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

C % rony,s and %--re1iations

Figure a.

Acronyms and Abbreviations

%%% %=>8 %7P =TI C5: CC8H CTP 5CC 5TP 8$I (+$ IP IT 6+CC @C+ ICT IHT :%5I$+ :( +CTP TCP T#+ TIT $+$

%uthenti ation" %uthori0ation and % ounting %ug,ented =>8 for +ynta4 +pe ifi ations %ttri-ute 7alue Pairs =ase Ti,e Inter1al Charging 5ata :e ord Credit-Control-8ailure-Handling Continuous Ti,e Period 5ia,eter Credit Control 5is rete Ti,e Period 8inal $nit Indi ation (ranted +er1i e $nits Internet Proto ol Ina ti1ity Ti,e 6ultiple +er1i es Credit Control @nline Charging +yste, Iuota Consu,ption Ti,e Iuota Holding Ti,e :e,ote %uthenti ation 5ial-In $ser +er1i e :ating (roup +trea, Control Trans,ission Proto ol Trans,ission Control Proto ol Transport #ayer +e urity Ti,e Iuota Threshold $sed +er1i e $nits

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

DD

H$%&'I $(&)*11 (y Interfa e +pe ifi ation

C % rony,s and %--re1iations

7IT 7+% 7T

7olu,e Iuota Threshold 7endor +pe ifi %ttri-ute" 5ata 'le,ent in :adius 7alidity Ti,e

Issue 01 (2011-10-31)

Huawei Proprietary and Confidential Copyright Huawei Te hnologies Co!" #td

D*

You might also like