As I was describing in the previous episode - 4G to IMS call flow – Register to IMS – part 1 - the IP-CAN Session Establishment is scheduled for today.
The procedure of IP-CAN (Connectivity Access Network) establishment is described in TS 23.203.
Basically, the IP-CAN is the IP address that the User Equipment gets:
- either during Initial Attach
- or at a Dedicated Bearer creation
that connects that UE to the IMS APN. There are multiple ways of getting this IP address, ways varying from DHCP/DHCPv6, PPP and so on. With regards to IMS, the IP-CAN is given by the PGW, following the PCC rules from its local PCRF.
But, before displaying the actual IP-CAN Session Establishment, let’s take a look at the functional entities and the architectures involved.
The possible scenarios when talking about PCC (Policy and Charging Control) functionality, presented in TS 23.203. I have just copied the architecture pictures. The functional entities are described separately in the same TS 23.203 spec – section 6.2. Functional Entities. I will just underline, where the case requires, which entity from this “PCC Reference Architecture” matches which entity on the 4G architecture.
Before, let’s clarify a few things about these 3 funky pictures:
The acronyms:
HPLMN == Home Public Land Mobile Network
VPLMN == Visited Public Land Mobile Network (the user is in roaming)
SPR == Subscription Profile Repository
TS 23.203 – section 6.2.4 – SPR :
The SPR logical entity contains all subscriber/subscription related information needed for subscription-based policies and IP‑CAN bearer level PCC rules by the PCRF. The SPR may be combined with or distributed across other databases in the operator’s network, but those functional elements and their requirements for the SPR are out of scope of this document.
** The SPR is connected to the PCRF via the Sp interface.
AF == Application Function
TS 23.203 – section 6.2.3 – AF:
The Application Function (AF) is an element offering applications that require dynamic policy and/or charging control over the IP‑CAN user plane behaviour. The AF shall communicate with the PCRF to transfer dynamic session information, required for PCRF decisions as well as to receive IP‑CAN specific information and notifications about IP‑CAN bearer level events. One example of an AF is the P‑CSCF of the IM CN subsystem.
** The AF is connected to the PCRF via the Rx interface.
OCS == Online Charging System
- The OCS is described in TS 32.240. In the PCC architecture we are only interested in its component called Service Data Flow Based Credit Control - its main purpose being to perform online credit control functions.
** The OCS is connected to the PCEF via the Gy interface.
PCRF == Policy Control and Charging Rules Function
TS 23.203 – section 6.2.1 PCRF:
The PCRF encompasses policy control decision and flow based charging control functionalities.
The PCRF provides network control regarding the service data flow detection, gating, QoS and flow based charging (except credit management) towards the PCEF.
The PCRF shall apply the security procedures, as required by the operator, before accepting service information from the AF.
…………….
Here we are talking about 2 PCRF entities:
a) there is only one PCRF involved in the first case, when the UE is NOT in roaming; this is the local/home PCRF
b) in the home routed access and local breakout scenarios there is on one hand the V-PCRF (visited) – the PCRF entity from the visited network and on the other hand the H-PCRF (home) – the PCRF entity from the home network
** The PCRF is connected to the:
- AF via the Rx interface
- SPR via the Sp interface
- BBERF via the Gxx interface
- PCEF via the Gx interface
- H-PCRF and V-PCRF are connected via the S9 interface
BBERF == Bearer Binding and Even Reporting Function
TS 23.203 – section 6.2.7 BBERF:
The BBERF includes the following functionalities:
- Bearer binding.
- Uplink bearer binding verification.
- Event reporting to the PCRF.
- Sending or receiving IP‑CAN-specific parameters, to or from the PCRF.
* Note: As far as I understand, and in order to somehow “map” the names of the “PCC” entities to the names of the “EPC” entities I’ve first learned about, I believe this BBERF role is actually played by the SGW as we know it from the EPC terminology. Please correct me if I’ve got this wrong.
CORRECTION (further reading on TS 23.203): In the GTP-based 3GPP access network the BBERF entity does NOT apply.
** The BBERF is connected to the PCRF via the Gxx interface.
PCEF == Policy and Charging Enforcement Function
TS 23.203 – section 6.2.2 PCEF:
The PCEF encompasses service data flow detection, policy enforcement and flow based charging functionalities.
This functional entity is located at the Gateway (e.g. GGSN in the GPRS case, and PDG in the WLAN case). It provides service data flow detection, user plane traffic handling, triggering control plane session management (where the IP‑CAN permits), QoS handling, and service data flow measurement as well as online and offline charging interactions.
………………
*Note: The EPC entity assuming the role of the PCEF in the PCC Architecture is the PGW.
** The PCEF is connected to the:
- PCRF via the Gx interface
- OCS via the Gy interface
- OFCS via the Gz interface
OFCS == Offline Charging System
TS 23.203 – section 6.2.6 OFCS:
The Offline Charging System is specified in TS 32.240 [3].
There may be several OFCSs in a PLMN. The default OFCS addresses (i.e. the primary address and secondary address) shall be locally pre-configured within the PCEF. OFCS addresses may also be passed once per IP‑CAN session from the PCRF to the PCEF. The addresses provided by the PCRF shall have a higher priority than the pre-configured ones.
** The OFCS is connected to the PCEF via the Gz interface.
[I'll keep the pictures numbering for future referencing.]

Figure 5.1.1 Overall PCC logical architecture (non-roaming)
This architecture describes the simplest case where the User Equipment is located in his home network – in the network of the operator he subscribed to.

Figure 5.1.2 Overl PCC architecture (roaming with home routed access)
As the picture shows, here only the BBERF (which can be an SGW or a SGSN) is located in the visited network. This implies that the local (visited) PCRF is also to be used when locating the UE. The visited PCRF will contact the home PCRF via the S9 interface.

Figure 5.1.3 Overall PCC architecture for roaming with PCEF in visited network (local breakout)
This is the case where basically the entire access network is a visited network as the UE is concerned about. The BBERF (SGW or SGSN) and the PCEF (GGSN or SGW) [at least as far as the 3GPP implementations go...WiMAX guys, please help me out complete this article] are in the visited network. This implies: the use of (at least) the local (visited) PCRF, possibly the use of a local AF and the existence of a local OFCS.
This being said, let’s see how the IP-CAN Session Establishment process takes place – shamelessly copy-pasted from TS 23.203 – section 7.2 IP-CAN Session Establishment – with the consideration that, at least this spec is concise enough when describing these procedures so that I won’t feel the need to add anything else (afaik):
** Careful with the local notes, as in this single picture there are represented the IP-CAN procedures for all the 3 roaming/non-roaming scenarios described above:

This procedure concerns both roaming and non-roaming scenarios. In the roaming case when a Gateway Control Session is used, the V-PCRF should proxy the Gateway Control Session Establishment information between the BBERF in the VPLMN and the H-PCRF over S9 based on PDN-Id and roaming agreements.
For the Local Breakout scenario (Figure 5.1.3) the V-PCRF shall proxy the Indication and Acknowledge of IP‑CAN Session Establishment over S9 between the PCEF in the VPLMN and the H-PCRF
In the non-roaming case (Figure 5.1.1) the V-PCRF is not involved.
1. The BBERF initiates a Gateway Control Session Establishment procedure as defined in clause 7.7.1 (applicable for cases 2a during initial attach and 2b, as defined in clause 7.1).
2. The GW(PCEF) receives a request for IP‑CAN Bearer establishment. A PDN Connection Identifier may be included in the request. The GW(PCEF) accepts the request and assigns an IP address for the user.
3. The PCEF determines that the PCC authorization is required, requests the authorization of allowed service(s) and PCC Rules information. The PCEF includes the following information: UE Identity (e.g. MN NAI), a PDN identifier (e.g. APN), the IP‑CAN type and the IP address(es), if available, the PDN Connection Identifier received for IP‑CAN Bearer establishment and, if available, the default charging method and the IP‑CAN bearer establishment modes supported. The PDN identifier, IP address(es) and UE identity enables identification of the IP‑CAN session. The IP‑CAN Type identifies the type of access from which the IP‑CAN session is established. If the service data flow is tunnelled at the BBERF, the PCEF shall provide information about the mobility protocol tunnelling encapsulation header. The PCEF may also include the Default Bearer QoS and APN-AMBR (applicable for case 1, as defined in clause 7.1). In case 2a the PCEF may also include charging ID information.
4. If the PCRF does not have the subscriber’s subscription related information, it sends a request to the SPR in order to receive the information related to the IP‑CAN session. The PCRF provides the subscriber ID and, if applicable, the PDN identifier to the SPR. The PCRF may request notifications from the SPR on changes in the subscription information.
5. The PCRF stores the subscription related information containing the information about the allowed service(s) and PCC Rules information.
6. The PCRF makes the authorization and policy decision.
7. The PCRF sends the decision(s) , including the chosen IP‑CAN bearer establishment mode, to the PCEF. The GW(PCEF) enforces the decision. The PCRF may provide the default charging method and may include the following information: the PCC Rules to activate and the Event Triggers to report. The Policy and Charging Rules allow the enforcement of policy associated with the IP‑CAN session. The Event Triggers indicate to the PCEF what events must be reported to the PCRF.
8. If online charging is applicable, and at least one PCC rule was activated, the PCEF shall activate the online charging session, and provide relevant input information for the OCS decision. Depending on operator configuration PCEF may request credit from OCS for each charging key of the activated PCC rules.
9. If online charging is applicable the OCS provides the possible credit information to the PCEF and may provide re-authorisation triggers for each of the credits.
In cases 2a and 2b if the OCS provides any re-authorisation trigger, which can not be monitored at the PCEF, the PCEF shall request PCRF to arrange those to be reported by the BBERF via the PCRF.
10. If at least one PCC rule was successfully activated and if online charging is applicable, and credit was not denied by the OCS, the GW(PCEF) acknowledges the IP‑CAN Bearer Establishment Request.
11. If network control applies the GW may initiate the establishment of additional IP-‑CAN bearers. See Annex A and Annex D for details.
12. If the PCRF in step 7 requested an acknowledgement based on PCC rule operations, the GW(PCEF) sends the IP‑CAN Session Establishment Acknowledgement to the PCRF in order to inform the PCRF of the activated PCC rules result.
Many more information on this on TS 23.203. Insist on the QoS parameter interaction.
Specially: Annex 4. 3GPP Accesses (GERAN/UTRAN/E-UTRAN) GTP-based EPC
Tags: 4G, Diameter, eNodeB, EPC, HSS, I-CSCF, IMS, LTE, MME, P-CSCF, passion, PCRF, PGW, Register, S-CSCF, SGW, techie, UE