Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 47 by [email protected]: Automatically configure E-bit when 3000 >= result code < 4000
http://code.google.com/p/jdiameter/issues/detail?id=47

The Diameter RFC indicates that the message E-bit should be set when 3000
= result code < 4000

Fix from Alexandre:
add to https://code.google.com/p/jdiameter/source/browse/core/jdiameter/impl/src/main/java/org/jdiameter/client/impl/controller/PeerImpl.java#712 the following:

try {
  long resultCode = message.getResultCode().getUnsigned32();
  message.setError(resultCode >= 3000 && resultCode < 4000);
}
catch (Exception e) {
logger.debug("Unable to retrieve Result-Code from answer. Not setting ERROR bit.");
}

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to