Opcode "pcm_op_tcf_aaa_update_and_reauthorize" Returns Error If The Call Is Free (Doc ID 1113404.1)

Last updated on FEBRUARY 10, 2015

Applies to:

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

Symptoms

Initiate a voice call where the call is free, may be the event is having no balance impact. PCM_OP_TCF_AAA_AUTHORIZE successfully returns the requested quota. When an update is received from the network, PCM_OP_TCF_AAA_UPDATE_AND_REAUTHORIZE fails with the following error in cm pinlog:


populateReauthorizeDuration() Rating mode - Adjust with used quantity (ASO),extend from the current used quantity
E Tue Mar 23 23:52:55 2010 my_sys cm:19990 fm_tcf_aaa_reauthorize_prep_input.cpp:2141:my_sys:testnap:19986:1:4026:1269359574:2
op_tcf_aaa_reauthorize_prep_input error
<location=PIN_ERRLOC_PCM:1 class=PIN_ERRCLASS_APPLICATION:4 errno=PIN_ERR_NULL_PTR:39>
<field num=0:0,0 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=1202 version=0>


This happens if the input for PCM_OP_TCF_AAA_UPDATE_AND_REAUTHORIZE is containing PIN_FLD_RATING_MODE as 1.

Steps to reproduce:
(1) Create a product for /service/telco/gsm/telephony with zero balance impact for "realtime telco gsm session" event. Bundle it in a deal and plan
(2) Create a subscriber with this plan
(3) Set balance_coordinator flag in cm’s pin.conf to 1
(4) Call PCM_OP_TCF_AAA_AUTHORIZE for this subscriber with this input flist

0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco -1 0
0 PIN_FLD_MSID STR [0] "499-20091108-040037-0-13575-1"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "auth_dur_1"
0 PIN_FLD_QUANTITY DECIMAL [0] 20
0 PIN_FLD_PROGRAM_NAME STR [0] "testnap"
0 PIN_FLD_DIRECTION ENUM [0] 1
0 PIN_FLD_START_T TSTAMP [0] (1257682636) Sun Nov 08 04:17:16 2009


(5) Then call PCM_OP_TCF_AAA_UPDATE_AND_REAUTHORIZE with the below input flist

0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco -1 0
0 PIN_FLD_REQ_QUANTITY DECIMAL [0] 50
0 PIN_FLD_MSID STR [0] "499-20091108-040037-0-13575-1"
0 PIN_FLD_PROGRAM_NAME STR [0] "testnap"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "auth_dur_1"
0 PIN_FLD_AGGREGATE_MODE ENUM [0] 10
0 PIN_FLD_RATING_MODE ENUM [0] 1
0 PIN_FLD_DIRECTION ENUM [0] 1
0 PIN_FLD_AMOUNT DECIMAL [0] 30
0 PIN_FLD_UNIT ENUM [0] 978


(6) This should error out as indicated in the error snippet from cm.pinlog above.

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