My Oracle Support Banner

Resource Balance Reaches $0 And Still Allows Usage (Doc ID 557912.1)

Last updated on JUNE 22, 2017

Applies to:

Oracle Communications Billing and Revenue Management - Version and later
Information in this document applies to any platform.


Subscriber would still be able to use a service even when the resource balance is used up.

The resource balance of US Dollars on an account has negative value and has credit limit of 0. A
usage of the service will impact the US Dollars so eventually it will reach to $0.

When the balance is 0 for US Dollars, using sample_act:

sample_act -v -e session -s /service/telephony -l <login> -d 600

Loaded the usage without errors and it does not charge the account.

Steps To Reproduce:

1. Update fm_act_pol_spec_vrfy.c.
    In the action = "PCM_OP_ACT_LOGIN" section, changed line 418:

PIN_FLIST_FLD_SET(c_flistp, PIN_FLD_AMOUNT, (void *)amount1, ebufp);


pin_decimal_t *amount1;
amount1 = pbo_decimal_from_str("1.0", ebufp);
PIN_FLIST_FLD_SET(c_flistp, PIN_FLD_AMOUNT, (void *)amount1, ebufp);

2. Compile the policy. Copy the new policy library to lib directory, restarted CM.
3. Load some usage with sample_act until the balance of USD becomes to 0.
4. Load the usage again with same command, for example,

sample_act -v -e session -s /service/telephony -l <login> -d 600

It is still allowing adding usage without errors and without charging the account.


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.