Professional Documents
Culture Documents
Diameter
Diameter
* Relationship to SIP: -
Diameter and SIP (Session Initiation Protocol) are the core signaling protocols used in IMS
networks. SIP is used to establish and control real-time IP communications sessions. Diameter
is used to authenticate, authorize and provide accurate billing information for those sessions.
Diameter supports the enhanced policy control, dynamic rules, quality of service, bandwidth
allocation and charging mechanisms needed for contemporary communications service provider
networks. It also provides a more reliable, secure and flexible framework for exchanging AAA
messages.
If no messages have been exchanged for some time either side may send a Device-Watchdog-
Request (DWR) and the other peer must respond with Device-Watchdog-Answer.
IANA. For all Diameter request and response command code must be same.
Used Case: Wireshark diameter filter- for see the diameter message like UAR we used
Diameter.cmd.code == 300
Application ID- It tells at which interface diameter message is flowing. Through it we can
easily identify the interface of a diameter message. Eg: UAR is flowing between ICSCF and
HSS at Cx interface and its application id = 16777216.
Used Case: Wireshark diameter filter- for see the interface of diameter message we used
Hope by Hope Identifier: Every diameter message has Hope by Hope id. It changes at
every Hope. It must be same for response. It matches the response at every hope. It is used to
identify the duplicate responses.
End to End Identifier: End the End identifier does not change at every hope it is same
throughout the journey and with same response.
AVP: Attribute Value Pair- It carry the actual information of a diameter message. There
are multiple AVP in diameter message.
AVP: Origin Realm- It indicated origin UAC requester domain name like Jio.com
AVP: Destination Host- It indicated the destination server at the request is received like UAR
received by HSS.