My Oracle Support Banner

OsdInterface Does Not Encode Negative Integers Correctly (Doc ID 2631793.1)

Last updated on JANUARY 28, 2020

Applies to:

Oracle Communications Network Charging and Control - Version 12.0.2.0.0 and later
Information in this document applies to any platform.

Symptoms

On Oracle Communications Network Charging and Control (NCC) 12.0.2.0.0 version,

ACTUAL BEHAVIOR
---------------
It is observed that Open Services Development Interface (OSD), no longer encodes negative integers. If the client provides a negative integer value, it's passed to NCC as "-1", or ff ff ff ff as mentioned below:

Sample Request:


Note: NCC 6.0.1 (Solaris) osdInterface, encodes the negative value correctly, so this appears that either since the 64 bit move, or the move from Solaris to Linux has caused an encoding issue with osdInterface.

EXPECTED BEHAVIOR
-----------------------
osdInterface should encode the negative integers correctly.

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

1. On NCC 12.0.2 Version, send a Recharge Request via OSD with a Negative amount.
2. Check the osdInterface.log(Parameter Encoding section) to see if it encodes the Negative Integer Value incorrectly or not.

Changes

 

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
Changes
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.