top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

Diameter : In what scenarios following AVPs are added in a Diameter based message ?

+1 vote

Few Diameter messages carries
- Destination-Host
- Destination-Realm only
- both Destination-Host and Destination-Realm
- Or none of both
I want to know what to use when.

posted Mar 27, 2016 by Harshita

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

3 Answers

+2 votes

Excluding some Diameter base requests, Destination-Realm is mandatory in all Diameter requests. Request forwarding is done based on it along with Application-Id. In some cases (typically server-initiated requests like Re-Auth request in Gx), Destination-Host is also mandatory.

In some cases, client application may want to send a request to a particular server. One example: if you want to load balance the on-line charging servers (OCS) when using Gy. You may want to partition based on say, range of mobile numbers or IP addresses of the request originator. If you specify the Destination-Host, request will be delivered only to that server, otherwise Diameter forwarding (look up based on Dest-Realm and app-id, but most implementations support more sophisticated algorithms).

Server initiated requests typically need to fill in the Destination-Host (even if it is not mandatory) because there would be many clients. But if requests are sent over an established session, Diameter nodes can figure out the recipient.

Answers are sent back the requester along the same that that request traversed, so you don't find these AVPs in answers.

answer Mar 28, 2016 by Rathnakumar Kayyar
+1 vote

Hi Harshita,

From RFC-6733 section 6.1 depict the following conditions when we can use Destination-Host and Destination- Realm:
1. A request that is not able to be proxied (such as a CER) MUST NOT contain either Destination-Realm or Destination-Host AVPs.
2. A request that needs to be sent to a home server serving a specific realm, but not to a specific server (such as the first request of a series of round trips), MUST contain a Destination- Realm AVP but MUST NOT contain a Destination-Host AVP. ForDiameter clients, the value of the Destination-Realm AVP MAY be extracted from the User-Name AVP, or other methods.

3.A request that needs to be sent to a specific home server among those serving a given realm MUST contain both the Destination-Realm and Destination-Host AVPs.


answer Mar 28, 2016 by Chinmoy Padhi
+1 vote

One example of specific servers like in the above example is the Redirect DRA where Destination-Host AVP is mandatory in the request message.

Peeyush Sharma

answer Mar 28, 2016 by Peeyush Sharma
Similar Questions
+4 votes

I have a query related to generic diameter request and answer message.
Please provide the list of all generic AVPs wrt a diameter request and answer message along with the brief description. Thanks in advance.

+1 vote

I was going through rfc3588 and could not understand when a Diameter Server/Agent adds Error-Reporting -Host AVP within the answer message.

+6 votes

Can someone please explain difference between these two. Could both Result-Code and Experimental-Result AVPs be used in same diameter or only one of them is allowed ?

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.