-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connecting jdiameter to a DRA #155
Comments
Hi, |
Thats a good idea to try out. But I doubt if I can send messages out which are not specified in the peer configuration. I will try it anyway. |
I think for instance F5 DRAs has realm based routing and even you could do some magic with regex patterns to send it to realm or even to some particular hosts |
btw you two options:
|
We were able to get this working by specifying the OCS's realm as the destination realm in the request, and not manually specifying a destination host. By adding the DRAs (which have their own realm) to the OCS's realm, jdiameter then routes requests to one of the peers in the OCS realm (i.e. one of the DRAs). Because the destination realm in the request is the OCS's realm, the DRA then forwards the request accordingly (that's outside our control, but we've had confirmation that the messages are successfully routed). Our client's jdiameter config's Network section looks like this:
Note that the DRA's realm supports VendorId 0, AuthApplId 0, AcctApplId 0, so it can connect and send/receive CER/CEA, DPR/DPA and DWR/DWA requests. The OCS's realm supports 3GPP Ro requests, which are then forwarded to the OCS. |
Thanks a lot for this. I will look into this option as well. As of this moment we're sending the actual destination which the packet needs to go, in a custom AVP and then trying to replace those from the DRA. |
Yes this is possible. Modifications in the JDiameter Request - Add Destination Host(optional) and Destination Realm of Other node |
This would not work. Peers are statically configured. In my case, I was sending the messages to any telco operator in the world. But thanks for this. I think Stephen's and your answers are worthwhile trying out when I dive into diameter again. We closed this project using the DRA only. |
I need to connect the stack to a DRA. So the messages I send will be routed through a DRA (Diameter Routing Agent)
So far, I see no possibility to do that in the config. I have to statically configure Peer nodes and jdiameter sends the packet to the resolved IP for the
DestinationHost
AVP.My
DestinationHost
values are in other networks and could be anything. (cannot be pre-configured)This is the basic idea ( Key host(realm) )
app.me.com(me.com) --> dra.me.com(me.com) : XXR
sends the request to other.them.org
dra.me.com(me.com) --> other.them.org(them.org) : XXR
Although the destination host AVP contains
other.them.org
, the packet has to be sent todra.me.com
. The DRA will take care of the rest.Is this possible with jdiameter? How can I achieve this?
If this is not possible with jdiameter which part of the code do I need to modify to make this happen. I can do a PR if it goes right. I think this will be useful to many people since most telco based diameter applications are behind DRAs.
The text was updated successfully, but these errors were encountered: