Error In Prepaid Authorization With Free Seconds (Doc ID 578091.1)

Last updated on OCTOBER 08, 2013

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.0.0.0 to 7.3.0.0.0 [Release 7.3.0]
Information in this document applies to any platform.
**Checked for relevance on 8th Oct***

Symptoms

Error while authorizing prepaid services with PIN_ERR_NO_CREDIT_BALANCE error while customer
has credit

Steps to reproduce

The issue can be reproduced at will with the following steps:

1. Create a prepaid customer with a PLAN including voice product with free seconds resource. This product rates 0,01 Euro/second.

2. Set the customer for having the following balances:

* 30 in Free Seconds resource
* 30 in Euro.

3. Make an authorization for 50 seconds. These are the input/output flist (using testnap):

nap(1636)> r PCM_OP_GSM_AUTHORIZE 1
nap(1636)> d 1
#PCM_OP_GSM_AUTHORIZE
# number of field entries allocated 20, used 7
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco/gsm/telephony -1 0
0 PIN_FLD_MSID STR [0] "600000026"
0 PIN_FLD_PROGRAM_NAME STR [0] "Prueba AAA a mano"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "AAA_20080310_09_42"
0 PIN_FLD_DIRECTION ENUM [0] 0
0 PIN_FLD_QUANTITY DECIMAL [0] 50
0 PIN_FLD_ORIGIN_SID STR [0] "origin"
nap(1636)> xop PCM_OP_GSM_AUTHORIZE 0 1
xop: opcode 4036, flags 0
# number of field entries allocated 20, used 13
0 PIN_FLD_POID POID [0] 0.0.0.1 /active_session/telco/gsm 24495321 0
0 PIN_FLD_EXPIRATION_T TSTAMP [0] (1205259342) Tue Mar 11 19:15:42 2008
0 PIN_FLD_QUANTITY DECIMAL [0] 50
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 22946229 0
0 PIN_FLD_RESERVATION_OBJ POID [0] 0.0.0.1 /reservation/active 24495322 0
0 PIN_FLD_BAL_GRP_OBJ POID [0] 0.0.0.1 /balance_group 22948021 4
0 PIN_FLD_BALANCES ARRAY [1000095] allocated 20, used 2
1 PIN_FLD_AMOUNT DECIMAL [0] 30.0
1 PIN_FLD_AVAILABLE_RESOURCE_LIMIT DECIMAL [0] 0
0 PIN_FLD_BALANCES ARRAY [978] allocated 20, used 2
1 PIN_FLD_AMOUNT DECIMAL [0] 0.232
1 PIN_FLD_AVAILABLE_RESOURCE_LIMIT DECIMAL [0] 29.768
0 PIN_FLD_SCALED_DELAY_TIME DECIMAL [0] 3000.00000000000000000
0 PIN_FLD_RESULT ENUM [0] 1
0 PIN_FLD_RATING_STATUS ENUM [0] 0
0 PIN_FLD_AUTHORIZATION_ID STR [0] "AAA_20080310_09_42"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 22948661 0
nap(1636)>



This is expected. The remaining free seconds balance in consumed and the other 20 seconds are rated.

4.- Make another authorization for 50 seconds:

nap(1636)> r PCM_OP_GSM_AUTHORIZE 1
nap(1636)> d 1
#PCM_OP_GSM_AUTHORIZE
# number of field entries allocated 20, used 7
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco/gsm/telephony -1 0
0 PIN_FLD_MSID STR [0] "600000026"
0 PIN_FLD_PROGRAM_NAME STR [0] "Prueba AAA a mano"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "AAA_20080310_09_43"
0 PIN_FLD_DIRECTION ENUM [0] 0
0 PIN_FLD_QUANTITY DECIMAL [0] 50
0 PIN_FLD_ORIGIN_SID STR [0] "origin"
nap(1636)> xop PCM_OP_GSM_AUTHORIZE 0 1
xop: opcode 4036, flags 0
XOP "4036" failed: err 64:PIN_ERR_AUTHORIZATION_FAIL, field 0/0:0,
loc 5:PIN_ERRLOC_FM, errclass 1:PIN_ERRCLASS_SYSTEM_DETERMINATE,
rec_id 0, resvd 172
# number of field entries allocated 20, used 6
0 PIN_FLD_POID POID [0] 0.0.0.1 /active_session/telco/gsm -1 0
0 PIN_FLD_ACTIVE_SESSION_ID STR [0] "AAA_20080310_09_43"
0 PIN_FLD_RESULT ENUM [0] 0
0 PIN_FLD_REASON ENUM [0] 4
0 PIN_FLD_RATING_STATUS ENUM [0] 24
0 PIN_FLD_ERR_BUF ERR [0]
<location=PIN_ERRLOC_FM:5 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1
errno=PIN_ERR_AUTHORIZATION_FAIL:64>
<field num=0:0,0 recid=0 reserved=172 reserved2=0
time(sec:usec)=0:0> <facility=0 msg_id=0 version=0>
nap(1636)>



This is not expected since the customer has balance in Euro.


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