My Oracle Support Banner

How To Achieve Multi-RUM Authorization (Doc ID 733630.1)

Last updated on SEPTEMBER 28, 2017

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.0.0.0 to 7.3.0.0.1 [Release 7.3.0]
Information in this document applies to any platform.
***Checked for relevance on 28-Feb-2012***

***Checked for relevance on 16-Jan-2013***

Goal

Consider the below scenario:

1. Configured a product for /service/telco/gprs
    a) Enabled Multi-RUM support
    b) Event Map has the following rows:
            Real Time Telco Session --> Measured by VolumeUpLoad --> Balance Impact => Scaled Amount=1 , Unit=Byte
            Real Time Telco Session --> Measured by VolumeDownload --> Balance Impact => Scaled Amount=2 , Unit=Byte

2. Modified pin_config_reservation_aaa_prefs_gprs. This file is used to specify the default quota to be authorized for the specified RUM :

# Type of the /config/reserve object
/config/reserve/gprs
#
# Following is the flist for creating/modifying the /config/reserve/gprs object.
# These preferences will be read and used in policy opcode implementations.
#
0 PIN_FLD_RESERVATION_INFO ARRAY [0]
1 PIN_FLD_QUANTITY DECIMAL [0] 100
1 PIN_FLD_MIN_QUANTITY DECIMAL [0] 0
1 PIN_FLD_INCR_QUANTITY DECIMAL [0] 100
1 PIN_FLD_RUM_NAME STR [0] "Amount"
1 PIN_FLD_REQ_MODE ENUM [0] 1
1 PIN_FLD_UNIT ENUM [0] 0
0 PIN_FLD_RESERVATION_INFO ARRAY [1]
1 PIN_FLD_QUANTITY DECIMAL [0] 60
1 PIN_FLD_MIN_QUANTITY DECIMAL [0] 0
1 PIN_FLD_INCR_QUANTITY DECIMAL [0] 50
1 PIN_FLD_RUM_NAME STR [0] "Duration"
1 PIN_FLD_REQ_MODE ENUM [0] 2
1 PIN_FLD_UNIT ENUM [0] 0
0 PIN_FLD_RESERVATION_INFO ARRAY [2]
1 PIN_FLD_QUANTITY DECIMAL [0] 102400
1 PIN_FLD_MIN_QUANTITY DECIMAL [0] 5120
1 PIN_FLD_INCR_QUANTITY DECIMAL [0] 102400
1 PIN_FLD_RUM_NAME STR [0] "VolumeUpLoad"
1 PIN_FLD_REQ_MODE ENUM [0] 4
1 PIN_FLD_UNIT ENUM [0] 12
1 PIN_FLD_RATIO INT [0] 1
1 PIN_FLD_IS_PRIMARY_RUM ENUM [0] 1
0 PIN_FLD_RESERVATION_INFO ARRAY [3]
1 PIN_FLD_QUANTITY DECIMAL [0] 102400
1 PIN_FLD_MIN_QUANTITY DECIMAL [0] 5120
1 PIN_FLD_INCR_QUANTITY DECIMAL [0] 102400
1 PIN_FLD_RUM_NAME STR [0] "VolumeDownLoad"
1 PIN_FLD_REQ_MODE ENUM [0] 4
1 PIN_FLD_UNIT ENUM [0] 12
1 PIN_FLD_RATIO INT [0] 1
1 PIN_FLD_IS_PRIMARY_RUM ENUM [0] 0


3. From /sys/data/config, run the command : 
    

load_config_reservation_aaa_prefs -vd ./pin_config_reservation_aaa_prefs_gprs


4. Create account with the product created above
5. From testnap, run PCM_OP_TCF_AAA_AUTHORIZE
6. Below is the input flist :

0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco/gprs -1 0
0 PIN_FLD_AUTHORIZATION_ID STR [0] "mrum_test_0001"
0 PIN_FLD_MSID STR [0] "123456789" <------ this is the service login of the account
0 PIN_FLD_OBJ_TYPE STR [0] "/gprs"
0 PIN_FLD_ORIGIN_NETWORK STR [0] ""
0 PIN_FLD_PROGRAM_NAME STR [0] "my_test_multi-rum_authorize"
0 PIN_FLD_REQ_MODE ENUM [0] 4
0 PIN_FLD_EXTENDED_INFO SUBSTRUCT [0] allocated 20, used 1
1 PIN_FLD_GPRS_INFO SUBSTRUCT [0] allocated 20, used 4
2 PIN_FLD_APN STR [0] "test"
2 PIN_FLD_GGSN_ADDRESS STR [0] "1.1.1.1"
2 PIN_FLD_SESSION_ID INT [0] 2086340536
2 PIN_FLD_SGSN_ADDRESS STR [0] "1.1.1.1"


7. Below is the output flist :

0 PIN_FLD_POID POID [0] 0.0.0.1 /active_session/telco/gprs 1768849 0
0 PIN_FLD_EXPIRATION_T TSTAMP [0] (1212780925) Sat Jun 07 01:05:25 2008
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gprs 1769233 6
0 PIN_FLD_RESERVATION_OBJ POID [0] 0.0.0.1 /reservation/active 1766289 0
0 PIN_FLD_BAL_GRP_OBJ POID [0] 0.0.0.1 /balance_group 1766161 1
0 PIN_FLD_BALANCES ARRAY [840] allocated 20, used 1
1 PIN_FLD_AMOUNT DECIMAL [0] 204800.00
0 PIN_FLD_RUM_MAP ARRAY [1] allocated 20, used 4
1 PIN_FLD_RUM_NAME STR [0] "VolumeDownLoad"
1 PIN_FLD_NET_QUANTITY DECIMAL [0] 204800
1 PIN_FLD_UNRATED_QUANTITY DECIMAL [0] 0
1 PIN_FLD_QUANTITY DECIMAL [0] 204800
0 PIN_FLD_RESULT ENUM [0] 1
0 PIN_FLD_RATING_STATUS ENUM [0] 0
0 PIN_FLD_AUTHORIZATION_ID STR [0] "mrum_test_0001"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 1766929 0


EXPECTED RESULT

Both the RUMs, that is, VolumeUpLoad and VolumeDownload should be authorized. In the above output flist we would expect a PIN_FLD_RUM_MAP ARRAY for VolumeUpLoad also.

ACTUAL RESULT

From the above output flist we see that only VolumeDownload is authorized.

Solution

To view full details, 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 a vibrant support community of peers and Oracle experts.