My Oracle Support Banner

How to Send Numbers Stored as Hexadecimal Strings as Numbers via DCD (Doc ID 2920331.1)

Last updated on JUNE 30, 2023

Applies to:

Oracle Communications Convergent Charging Controller - Version 6.0.0 and later
Oracle Communications Network Charging and Control - Version 4.3.0 and later
Information in this document applies to any platform.

Symptoms

On all versions of Oracle Communications Convergent Charging Controller (OC3C or 3C) and Oracle Communications Network Charging and Control (OCNCC or NCC), Attribute Value Pairs (AVPs) received in Credit Control Request (CCR) messages by the Diameter Control Agent (DCA) as integers get stored and treated as a hexadecimal string (ie. 10 vs "0x0A") in Advanced Control Services (ACS).

As a result, attempts to use the numerical value of the stored value fail.

For example, the CC-Time AVP received by DCA, is, by default, stored in the "Extension Digits 5" profile tag (which is of type octet string) as a hexadecimal string.  If trying to pass this value through to Diameter Charging Driver (DCD), the following can be seen if debug is enabled:

No error is logged as ACS is not aware that the hexidecimal string (0x7B) should be a number (123d) and it ends up setting/sending the number to/as 0.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.