AAA-GW Active Reservations Not Released After Accounting (Doc ID 989194.1)

Last updated on SEPTEMBER 19, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.3.0.0.0 and later   [Release: 7.3.0 and later ]
HP-UX PA-RISC (32-bit)
HP-UX Itanium
***Checked for relevance on 21-Dec-2011***

Symptoms

-- Problem Statement:
The reservations made during AAA-GW calls are not released in TIMOS after the rating.

-- Steps to Reproduce:
Create account,
Make topup,
WHA reservation + rating,
Search reservation in TIMOS.

This service performs a real-time charging operation within Oracle BRM thanks to Telco Framework, update the customer balances, release the reservation and record the event in database. No additional logic is added in the pre and post BRM opcode policies for our product.

-- Details:
----------------- Search for account reservation in TIMOS------------------------
nap(6706)> r search_resa.ifl 1
nap(6706)> xop PCM_OP_SEARCH 0x40000 1
xop: opcode 7, flags 262144
# number of field entries allocated 20, used 1
0 PIN_FLD_POID POID [0] 0.0.0.1 /search -1 0
----------------- no reservation found in TIMOS------------------------

----------------- Make a data session reservation ------------------------
nap(6706)> r wha_resa.ifl 1
nap(6706)> xop PCM_OP_TCF_AAA_AUTHORIZE 0 1
xop: opcode 4002, flags 0
# number of field entries allocated 20, used 9
0 PIN_FLD_POID POID [0] 0.0.0.1 /active_session/telco/content_distr 4216286 0
0 PIN_FLD_EXPIRATION_T TSTAMP [0] (1256633663) Tue Oct 27 09:54:23 2009
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/data 3991914 0
0 PIN_FLD_RESERVATION_OBJ POID [0] 0.0.0.1 /reservation/active 4216287 0
0 PIN_FLD_BAL_GRP_OBJ POID [0] 0.0.0.1 /balance_group 3992650 48
0 PIN_FLD_BALANCES ARRAY [6000000] allocated 20, used 2
1 PIN_FLD_AMOUNT DECIMAL [0] 1
1 PIN_FLD_AVAILABLE_RESOURCE_LIMIT DECIMAL [0] 1997
0 PIN_FLD_RESULT ENUM [0] 1
0 PIN_FLD_AUTHORIZATION_ID STR [0] "WHA012565450814178000051122"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 3991178 0
----------------- data reservation 4216287 created ------------------------

----------------- Search for account reservation in TIMOS------------------------
nap(6706)> r search_resa.ifl 1
nap(6706)> xop PCM_OP_SEARCH 0x40000 1
xop: opcode 7, flags 262144
# number of field entries allocated 20, used 2
0 PIN_FLD_POID POID [0] 0.0.0.1 /search -1 0
0 PIN_FLD_RESULTS ARRAY [0] allocated 20, used 16
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 3991178 0
1 PIN_FLD_BAL_GRP_OBJ POID [0] 0.0.0.1 /balance_group 3992650 0
1 PIN_FLD_CREATED_T TSTAMP [0] (1256543663) Mon Oct 26 08:54:23 2009
1 PIN_FLD_EXPIRATION_T TSTAMP [0] (1256633663) Tue Oct 27 09:54:23 2009
1 PIN_FLD_LAST_EXTENDED_T TSTAMP [0] (1256633663) Tue Oct 27 09:54:23 2009
1 PIN_FLD_MOD_T TSTAMP [0] (1256543663) Mon Oct 26 08:54:23 2009
1 PIN_FLD_POID POID [0] 0.0.0.1 /reservation/active 4216287 0
1 PIN_FLD_QUANTITY DECIMAL [0] 0
1 PIN_FLD_READ_ACCESS STR [0] ""
1 PIN_FLD_RELEASED_T TSTAMP [0] (1256633663) Tue Oct 27 09:54:23 2009
1 PIN_FLD_RESERVATION_NO STR [0] "WHA012565450814178000051122"
1 PIN_FLD_RESERVATION_STATUS ENUM [0] 0
1 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/data 3991914 0
1 PIN_FLD_SESSION_OBJ POID [0] 0.0.0.1 /active_session/telco/content_distr 4216286 0
1 PIN_FLD_WRITE_ACCESS STR [0] ""
1 PIN_FLD_BALANCES ARRAY [6000000] allocated 20, used 1
2 PIN_FLD_AMOUNT DECIMAL [0] 1
----------------- reservation 4216287 found in TIMOS------------------------

----------------- Make the rating for the same data session ------------------------
nap(6706)> r wha_rating.ifl 1
nap(6706)> xop PCM_OP_TCF_AAA_ACCOUNTING 0 1
xop: opcode 4012, flags 0
# number of field entries allocated 20, used 5
0 PIN_FLD_POID POID [0] 0.0.0.1 /event/activity/telco/content_distr 255843161648371596 0
0 PIN_FLD_AUTHORIZATION_ID STR [0] "WHA012565450814178000051122"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 3991178 0
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/data 3991914 0
0 PIN_FLD_BALANCES ARRAY [6000000] allocated 20, used 2
1 PIN_FLD_AMOUNT DECIMAL [0] 1
1 PIN_FLD_AVAILABLE_RESOURCE_LIMIT DECIMAL [0] 1997
----------------- Rating succesfullly done ------------------------

-----------------Search for account reservations in TIMOS-------------------
nap(6706)> r search_resa.ifl 1
nap(6706)> xop PCM_OP_SEARCH 0x40000 1
xop: opcode 7, flags 262144
# number of field entries allocated 20, used 2
0 PIN_FLD_POID POID [0] 0.0.0.1 /search -1 0
0 PIN_FLD_RESULTS ARRAY [0] allocated 20, used 16
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 3991178 0
1 PIN_FLD_BAL_GRP_OBJ POID [0] 0.0.0.1 /balance_group 3992650 0
1 PIN_FLD_CREATED_T TSTAMP [0] (1256543663) Mon Oct 26 08:54:23 2009
1 PIN_FLD_EXPIRATION_T TSTAMP [0] (1256633663) Tue Oct 27 09:54:23 2009
1 PIN_FLD_LAST_EXTENDED_T TSTAMP [0] (1256633663) Tue Oct 27 09:54:23 2009
1 PIN_FLD_MOD_T TSTAMP [0] (1256543693) Mon Oct 26 08:54:53 2009
1 PIN_FLD_POID POID [0] 0.0.0.1 /reservation/active 4216287 0
1 PIN_FLD_QUANTITY DECIMAL [0] 0
1 PIN_FLD_READ_ACCESS STR [0] ""
1 PIN_FLD_RELEASED_T TSTAMP [0] (1256547293) Mon Oct 26 09:54:53 2009
1 PIN_FLD_RESERVATION_NO STR [0] "WHA012565450814178000051122"
1 PIN_FLD_RESERVATION_STATUS ENUM [0] 1
1 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/data 3991914 0
1 PIN_FLD_SESSION_OBJ POID [0] 0.0.0.1 /active_session/telco/content_distr 4216286 0
1 PIN_FLD_WRITE_ACCESS STR [0] ""
1 PIN_FLD_BALANCES ARRAY [6000000] allocated 20, used 1
2 PIN_FLD_AMOUNT DECIMAL [0] 1
------------------Reservation is still in TIMOS----------------------------------------------

As you can see, even if rating has been succesfully done for the data session 4216286, the reservation object has NOT been released / deleted from TIMOS memory. This is not the expected behaviour as reservations should be removed from TIMOS memory during the rating process. Without the release, TIMOS will loose memory over time.

Please find below our current TIMOS transient objects configuration:

Enabled = FALSE
ExpirationTimeInSeconds = 600 # Default is 10 minutes
TransactionSizeForDelete = 10 # Default is 10 objects per transaction
ObjectTypes
{
ObjectType1 = /active_session
ObjectType2 = /active_session/telco/telephony
ObjectType3 = /active_session/telco/data
ObjectType4 = /active_session/telco/content_distr
}

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms