My Oracle Support Banner

Reading Balances In Credit Limit (Doc ID 2998239.1)

Last updated on JANUARY 19, 2024

Applies to:

Oracle Communications BRM - Elastic Charging Engine - Version and later
Information in this document applies to any platform.


The requirement is that users can see his balance over USSD code, which reads available balance over SLC using diameter message which only display available balance instead of both available and reserved balance.

As part of the requirement, Problem manifested when we read balance state over Oc3c but the user has an active session.


- Before reservation user has 6 KM; user makes a call which reserves 1KM, ECE(Elastic Charging Engine) will display values as below:
- User Available Balance: 5 KM
- User Reserved Balance: 1 KM
- User Consumed Reserved Balance: 0 KM
Requirement was that user always sees his all his money: available + reserved amount + consumed reserved during active session (values as end users sees them).

So the instruction received which is to create a new AVP(Attribute Value Pair) that will be injected into balance query. We created X-Remaining-Balance AVP which uses this calculation:
X-Remaining-Balance = current_unit_value - active_reservation - consumed_reservation (ECE values)
Regular scenario when user has credit limiti set to 0, and has balance < 0.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.