Closed faizann closed 6 years ago
Adding an extra flag sounds like a valid approach.
@RestComm/messaging-squad what do you think?
hi @faizann will you be able to create PR for this issue?
Hi @knosach Yes. Already working on it and should be done by end of this week.
FEATURE REQUEST:
What happened:
TCAPStack swaps bytes to change the endianess of the TCAPID. This makes it difficult to match TCAPID for routing in STPs. Some STPs expect TCAPID to be in little endian and such byte swapping makes it impossible to match TCAPIDs within a range.
What you expected to happen:
TCAPID if left unchanged (unswapped) matches the TCAPID range on the STP.
How to reproduce it (as minimally and precisely as possible):
We can see that in the traces that the most significant byte is on the right side of the TCAPID OCTET STRING.
Anything else we need to know?:
Environment:
uname -a
): N/AProposed Feature :
We would prefer a configurable flag that enables/disables this byte swapping feature of TCAP Stack. The code change is very minimum and requires change in utils.java to accept a flag to swap or not-swap the bytes.