Rating Not Working Properly When Swtiching From Free (Offpeak) To Not-Free (Peak) Period

(Doc ID 1342074.1)

Last updated on NOVEMBER 13, 2011

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.3.1.0.0 and later   [Release: 7.3.1 and later ]
Information in this document applies to any platform.

Goal

A rating product is configured such that for 11 PM To 5:00 AM, calls are free of charge. Authorization is 180 seconds at a time.

Consider the below scenario :

1. Initiate a call at 4:54 AM, reservation is not created as there is no balance impact and 180 seconds is Authorized.


op_tcf_aaa_authorize input flist
# number of field entries allocated 20, used 14
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco/cdma/telephony -1 0
0 PIN_FLD_QUANTITY DECIMAL [0] 180
0 PIN_FLD_MSID STR [0] "125433"
0 PIN_FLD_PROGRAM_NAME STR [0] "AAA-GW"
0 PIN_FLD_ORIGIN_NETWORK STR [0] "test1.com"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "Offpeak11"
0 PIN_FLD_UNIT ENUM [0] 0
0 PIN_FLD_OBJ_TYPE STR [0] "cdma"
0 PIN_FLD_DESTINATION_NETWORK STR [0] "test2.COM"
0 PIN_FLD_FIELD_TYPE INT [0] 0
0 PIN_FLD_CALLING_NUMBER STR [0] "20110625-125433"
0 PIN_FLD_EXTENDED_INFO SUBSTRUCT [0] allocated 20, used 1
1 PIN_FLD_GSM_INFO SUBSTRUCT [0] allocated 20, used 2
2 PIN_FLD_ACTION STR [0] "AUTH"
2 PIN_FLD_DIRECTION ENUM [0] 1
0 PIN_FLD_CALLED_NUMBER STR [0] "12345678"
0 PIN_FLD_START_T TSTAMP [0] (1309044240) Sun Jun 26 04:54:00 2011

2. Another request comes after 180 seconds i.e. at 4:57 am, again no reservation is created and 180 seconds is Authorized. This is also correct.



op_tcf_aaa_update_and_reauthorize input flist
# number of field entries allocated 20, used 11
0 PIN_FLD_QUANTITY DECIMAL [0] 180
0 PIN_FLD_MSID STR [0] "125433"
0 PIN_FLD_PROGRAM_NAME STR [0] "AAA-GW"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "Offpeak11"
0 PIN_FLD_UNIT ENUM [0] 0
0 PIN_FLD_REQ_QUANTITY DECIMAL [0] 180
0 PIN_FLD_OBJ_TYPE STR [0] "cdma"
0 PIN_FLD_AGGREGATE_MODE ENUM [0] 1
0 PIN_FLD_EXTENDED_INFO SUBSTRUCT [0] allocated 20, used 1
1    PIN_FLD_GSM_INFO SUBSTRUCT [0] allocated 20, used 2
2       PIN_FLD_ACTION STR [0] "REAUTH"
2       PIN_FLD_DIRECTION ENUM [0] 0
0 PIN_FLD_START_T TSTAMP [0] (1309044240) Sun Jun 26 04:54:00 2011
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco/cdma/telephony 2383 0


3. Third request comes after 180 seconds i.e. at 5:00 am. Now the expected result is that balance impact should be created and reservation should be created. However observed behavior is that reservation is not created and even balance impact is not created.


op_tcf_aaa_update_and_reauthorize input flist
# number of field entries allocated 20, used 11
0 PIN_FLD_QUANTITY DECIMAL [0] 360
0 PIN_FLD_MSID STR [0] "125433"
0 PIN_FLD_PROGRAM_NAME STR [0] "AAA-GW"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "Offpeak11"
0 PIN_FLD_UNIT ENUM [0] 0
0 PIN_FLD_REQ_QUANTITY DECIMAL [0] 180
0 PIN_FLD_OBJ_TYPE STR [0] "cdma"
0 PIN_FLD_AGGREGATE_MODE ENUM [0] 1
0 PIN_FLD_EXTENDED_INFO SUBSTRUCT [0] allocated 20, used 1
1    PIN_FLD_GSM_INFO SUBSTRUCT [0] allocated 20, used 2
2       PIN_FLD_ACTION STR [0] "REAUTH"
2       PIN_FLD_DIRECTION ENUM [0] 0
0 PIN_FLD_START_T TSTAMP [0] (1309044240) Sun Jun 26 04:54:00 2011
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco/cdma/telephony 2383 0


The corresponding output flist :


op_tcf_aaa_update_and_reauthorize return flist
# number of field entries allocated 20, used 10
0 PIN_FLD_POID POID [0] 0.0.0.1 /active_session/telco/cdma 2361 0
0 PIN_FLD_EXPIRATION_T TSTAMP [0] (1309085036) Sun Jun 26 16:13:56 2011
0 PIN_FLD_QUANTITY DECIMAL [0] 180
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/cdma/telephony 2383 6
0 PIN_FLD_RESERVATION_OBJ POID [0] 0.0.0.1 /reservation/active -1 0
0 PIN_FLD_BAL_GRP_OBJ POID [0] 0.0.0.1 /balance_group 2384 8
0 PIN_FLD_BALANCES ARRAY [566] allocated 20, used 1
1    PIN_FLD_AMOUNT DECIMAL [0] 0.00
0 PIN_FLD_RESULT ENUM [0] 1
0 PIN_FLD_RATING_STATUS ENUM [0] 0
0 PIN_FLD_AUTHORIZATION_ID STR [0] "Offpeak11"

How can we correct this issue?

Solution

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