lterestcommdiameter-protocol

Implementing s6a diameter endpoint using RestComm Jdiameter


I am pretty new to Diameter and I need a test application to imitate HSS behavior and send some diameter requests to the MME on s6a interface.

I have checked out seagull tool but it has some problems as seagull assumes that the client always initiates the request. But in my case, there is a constraint that the MME always initiates the CER request.

I was checking for alternatives and I came across RestComm JDiameter but I have no clue on how to use it. The github repo doesnt provide any information on using it and I couldnt find out any information by googling either.

So kindly guide me on how to use Jdiameter for my application.


Solution

  • JDiameter as a very powerful framework, although quite complex to understand. You especially need to really read carefully through the diameter specs and how the messages and their value types are.

    CER and CEA are diameter standard and will work out-of-the-box for JDiameter. So what you basically need to do is:

    After that, register the NetWorkReqListeners for your custom messages as well as:

     stack.start();
     ISessionFactory isf = (ISessionFactory) factory;
     isf.registerAppFacory(ServerS6aSession.class, new S6aSessionFactory(1000, factory));