Wrong Mapping ECE Response Granted Unit To Diameter (Doc ID 1583687.1)

Last updated on OCTOBER 10, 2016

Applies to:

Oracle Communications Online Mediation Controller - Version 6.1.0 and later
Oracle Communications BRM - Elastic Charging Engine - Version 11.1.0.0.0 to 11.2.0.0.0 [Release 11.1.0 to 11.2.0]
Information in this document applies to any platform.
***Check for relevant on 16-Mar-2015***

Symptoms

OCMC responses to diameter requests will contain granted units of zero in some circumstances when using Elastic Charging Engine (ECE 11.1.0) for billing.

For voice the OCMC log file with debug will show the Credit Control Answer (CCA) Granted-Service-Unit (GSU) with CC-Time=0:

2013-06-17 11:17:08,161 DEBUG pool-18-thread-55 EceRespInboundEventHandler - receive(): start...response: OnlineUsageResponseImpl
{sessionId = 0000000151BF1CA7000000000000DBEB|7-0
status = SUCCESS
{reasons=null}
operationType = INITIATE}
validityTime = 3600
correlationIdentifier = 'null'
adviceOfPriceImpacts = []
adviceOfChargeImpacts = []
grantedUnit = [GrantedUnitImpl
validityTime=null
grantedUnits={Duration=UnitValue{quantity=300.0, unit=Seconds}}
balanceImpacts=[]]}

------------ DIAMETER MESSAGE ------------
{SESSION_ID=7, ATTRIBUTE_DIRECTION=IND, COMMAND_TYPE=CCA, EVENT_ATTR_ID=managed_151bf1cacbdc, EVENT_ATTR_PROTOCOL_TYPE=DIAMETER}
[Multiple-Services-Credit-Control=[Validity-Time=3600][Granted-Service-Unit=[CC-Time=0]][Service-Identifier=5][Rating-Group=12345][Result-Code=2001]][CC-Request-Type=1][CC-Request-Number=0][Result-Code=2001]
]

And the data GSU with zero octets will look like this:

2013-09-20 12:40:21,552 DEBUG wm-ReplicatedQueueingWMScheduler-1 EventLogger - [SID:34071DF23289B7B4000000000000685C][APP:imocfeceTest.IMOCFECE][DEBUG][com.convergin.common.framework.services.api.EventLogger.logEvent():24][message (from framework.mediation to imocfeceTest.IMOCFECE):
------------ DIAMETER MESSAGE ------------
{SESSION_ID=7, ATTRIBUTE_DIRECTION=IND, COMMAND_TYPE=CCA, EVENT_ATTR_ID=managed_1523c0df92c1, EVENT_ATTR_PROTOCOL_TYPE=DIAMETER}
[Multiple-Services-Credit-Control=[Validity-Time=3600][Granted-Service-Unit=[CC-Input-Octets=0][CC-Output-Octets=0][CC-Total-Octets=0]][Service-Identifier=4][Result-Code=2001]][CC-Request-Type=1][CC-Request-Number=0][Result-Code=2001]]

 

When looking closer at the data case, the incoming Credit Control Request (CCR) data looks OK:

<Requested-Service-Unit>
<CC-Input-Octets>4194304</CC-Input-Octets>
<CC-Output-Octets>0</CC-Output-Octets>
<CC-Total-Octets>4194304</CC-Total-Octets>
</Requested-Service-Unit>

The numbers in the OCMC log, being sent to ECE are correct:

2013-09-20 12:40:21,494 DEBUG wm-ReplicatedWMScheduler-8 DiameterProtocolMediator - [SID:34071DF23289B7B4000000000000685C][APP:DIAMETER][DEBUG][com.convergin.specific.axia.framework.mediation.protocol.diameter.DiameterProtocolMediator$DiamInboundEventHandler.onEvent():332][Publishing internal request: 
------------ DIAMETER MESSAGE ------------
{EVENT_ATTR_DST_MODULE_INFO=Module : RIMOCF;Module instance: rimocfTest;, EVENT_DOMAIN_ID=ocsb, SESSION_ID=1, ATTRIBUTE_DIRECTION=IND, COMMAND_TYPE=CCR, ATTRIBUTE_NETWORK_SESSION_ID=ro.client.oracle.com;1379671796;2, EVENT_ATTR_ID=managed_1523c0df92b4, EVENT_ATTR_PROTOCOL_TYPE=DIAMETER}
[Origin-Host=ro.client.oracle.com][Origin-Realm=us.oracle.com][Auth-Application-Id=4][Destination-Host=ro.server.oracle.com][User-Name=alafa.beta][Event-Timestamp=-706304902][Subscription-Id=[Subscription-Id-Type=0][Subscription-Id-Data=398-20130912-122442-0-1679--146929968-crpas06.localdomain]][Multiple-Services-Indicator=1][Multiple-Services-Credit-Control=[Requested-Service-Unit=[CC-Input-Octets=4194304][CC-Output-Octets=0][CC-Total-Octets=4194304]][Service-Identifier=4]][Called-Party-Address=www.google.it][CC-Request-Type=1][CC-Request-Number=0][Destination-Realm=us.oracle.com][Service-Context-Id=32260@3gpp.org]]

The request is successfully sent to ECE that reserve the required amount of Bytes. The ECE logs show:

grantedUnits={Volume=UnitValue{quantity=4194304.0, unit=Bytes}}

But when the answer comes back to OCMC , the Diameter message in SAL from framework mediation to IM-OCF-ECE contains the information that GSU is null:

2013-09-20 12:40:21,552 DEBUG wm-ReplicatedQueueingWMScheduler-1 EventLogger - [SID:34071DF23289B7B4000000000000685C][APP:imocfeceTest.IMOCFECE][DEBUG][com.convergin.common.framework.services.api.EventLogger.logEvent():24][message (from framework.mediation to imocfeceTest.IMOCFECE):
------------ DIAMETER MESSAGE ------------
{SESSION_ID=7, ATTRIBUTE_DIRECTION=IND, COMMAND_TYPE=CCA, EVENT_ATTR_ID=managed_1523c0df92c1, EVENT_ATTR_PROTOCOL_TYPE=DIAMETER}
[Multiple-Services-Credit-Control=[Validity-Time=3600][Granted-Service-Unit=[CC-Input-Octets=0][CC-Output-Octets=0][CC-Total-Octets=0]][Service-Identifier=4][Result-Code=2001]][CC-Request-Type=1][CC-Request-Number=0][Result-Code=2001]]

For this reason the Diameter CCA return the following GSU:

<Granted-Service-Unit>
<CC-Input-Octets>0</CC-Input-Octets>
<CC-Output-Octets>0</CC-Output-Octets>
<CC-Total-Octets>0</CC-Total-Octets>
</Granted-Service-Unit>

 

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