Hi,
I tried to write standalone Diameter client to communicate with
example service diameter-base-example-DU-2.4.1.FINAL.jar (sending/
receiving AccountingRequest/AccountingAnswer).
I have a problem with delivery message from Diameter stack to
application. In some point there is a matching of Destination-Host
with Local Peer URI. And this test didn't pass, although there is the
same value at server and client level:
aaa://
127.0.0.1:3868
The log message I get is:
WARN [PeerImpl] Received message for unknown peer [aaa://localhost:
3868]. Answering with 3002 (UNABLE_TO_DELIVER) Result-Code.
WARN [RouterImpl] Could not find route info for Hop-by-Hop Id
[225963440]. Table size is [0]
Test failed in org.jdiameter.server.impl.PeerImpl.receiveMessage(),
line with
if (destHost.equals(metaData.getLocalPeer().getUri().getFQDN())) {
Software versions:
- diameter-base-ra-DU-2.5.0.FINAL.jar
- diameter-base-example-DU-2.4.1.FINAL.jar
- mobicents-diameter-mux-1.4.0.CR1.sar
-
mobicents-jainslee-2.5.0.FINAL-jboss-5.1.0.GA
All packages are from Mobicents site, I didn't recompile any, I used
original binaries.
Below is link to archive with my sample service and server
configuration as well as logs from console.
https://sites.google.com/site/morethanspec/jslee/issues/diameter-issue.zip
To start service just call:
mvn clean install
mvn exec:java -
Dexec.mainClass="com.mts.diameter.guide.DiameterApplicationMain"
Best regards,
Grzegorz Jamka