top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Diameter : Both Diameter Agents (Diameter Relay and Diameter Redirect ) advertise its application id as ffffffff ?

0 votes
416 views

In that case, how does a Diameter node make out whether its peer Diameter Agent node works as a Diameter Relay or works as a Diameter Re-direct node ?
Is it pre-configured in the Diameter node or by exchanging some Diameter messages that role is decided ?

posted Mar 26, 2016 by Vikram Singh

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

The following is a possibility:

Redirect Agent:
When the Diameter Agent is a Redirect-Agent, the answer message (with command code) from the peer will result in setting of the E-bit, along with result code set to DIAMETER_REDIRECT_INDICATION.

Let's take an example, let say Diameter Sh Application sends UDR (command code 306) to Diameter Agent which is configured as Redirect. Upon receiving the request, the agent will reply back with UDA (also command code 306), but with E-bit set and result code set to DIAMETER_REDIRECT_INDICATION, and also the Redirect-Host AVP(s) will be be sent along with it, then the UDR can be re-sent to the host(s) received in the Redirect-Host AVP (maybe after a DNS resolution, and establishment of transport connection with the dynamically discovered peer).

Proxy agent:
When the peer is configured as proxy agent, the request from the Diameter application will be forwarded to the proper peer (end node) by the proxy server the request is originally sent to, now the reply from the peer will contain Origin-Host and Origin-Realm AVPs, once the reply reaches the originator, the Destination-Host and Destination-Realm AVPs of the request will be filled in using the values from the response message for the next request. This way future requests can be directly sent to the end node.

I believe, there is no other way to distinguish otherwise between a redirect and a proxy agent. Moreover, why to distinguish, when in both cases the message is routed to the intended peer? Let me know your thoughts.

Regards,
Upayan

answer Jul 2, 2016 by Upayan Dutta
Similar Questions
+3 votes

I saw Capabilities-Exchange-Request and Capabilities-Exchange-Answer messages. In CER message there are two places where Vendor-Id AVP is present, one as an independent AVP and the other one as part of Vendor-Specific-Application-Id AVP. If both of them are present in request message then both will be having same value or can hold different values.

0 votes

What is the use of keeping the same information in two places like Application-Id in the Diameter header and Application-Id as AVP ?

...