Diameter Applications, Commands, and Messages
A Diameter application is a networking protocol based on the Diameter base protocol (RFC 3588). Each application is identified by a code and a command. Each command has an assigned command code and has a set of Request and Answer messages, each of which uses the same command code. These messages are converted to MDC format by Diameter Gateway and are the base units used to send the command or deliver a notification between a Diameter client and MATRIXX Engine.
The Diameter commands supported by MATRIXX are identified by their command codes. For example, an Accounting-Request message recognizes that the message carries accounting-related information and a Capabilities-Exchange-Request message recognizes that the message carries capability information of the Diameter client sending the message. Each diameter request message each has its corresponding response message that shares the same command code. For example, MATRIXX Charging Application receives an Accounting-Request message, prepares an Accounting-Answer message, and sends it back to the original sender. The type of Diameter message received is determined by the networking protocol that is providing the messages. For example, an event might be sent with the Diameter Accounting application or Diameter Credit-Control application.
Diameter Applications lists the Diameter applications supported by MATRIXX Engine.
Application – Code | Command – Code | Diameter Message | Message MDC |
---|---|---|---|
Common – 0 |
Capabilities-Exchange – 257 |
|
MtxDiamCEMsg |
Common – 0 |
Re-Auth – 258 |
|
MtxDiamRAMsg |
Common – 0 |
Abort-Session – 274 |
|
MtxDiamASMsg |
Common – 0 |
Device-Watchdog – 280 |
|
MtxDiamDWMsg |
Common – 0 |
Disconnect-Peer – 282 |
|
MtxDiamDPMsg |
NASREQ – 1 |
AA – 265 |
|
MtxDiamRoMsg |
Accounting – 3 |
Accounting – 271 |
|
MtxDiamRoMsg |
Credit-Control – 4 |
Credit-Control – 272 |
|
MtxDiamRoMsg |
Credit-Control – 4 |
Re-Auth – 258 |
|
MtxDiamRoRAMsg |
Policy-Control (Sy) — 16777302 |
Spending-Limit - 8388635 |
|
MtxDiamSySLMsg |
Policy-Control (Sy) — 16777302 |
Spending-Status-Notification - 8388636 |
|
MtxDiamSySNMsg |
Policy-Control (Sy) — 16777302 |
Session-Terminate - 275 |
|
MtxDiamSySTMsg |
Policy-Control (Gx) — 16777238 |
RA - 258 |
|
MtxDiamGxRAMsg |
Policy-Control (Gx) — 16777238 |
CC - 272 |
|
MtxDiamGxCCMsg |
Policy-Control (Rx) — 16777236 |
AA - 265 |
|
MtxDiamRxAAMsg |
Policy-Control (Rx) — 16777236 |
Abort-Session - 274 |
|
MtxDiamRxASMsg |
Policy-Control (Rx) — 16777236 |
Re-Auth - 258 |
|
MtxDiamRxRAMsg |
Policy-Control (Rx) — 16777236 |
Session-Termination - 275 |
|
MtxDiamRxSTMsg |
Sh — 16777217 |
User-Data-Request (UDR) - 306 |
|
MtxDiamShUserDataMsg |
Sh — 16777217 |
User-Data-Answer (UDA) - 306 |
|
MtxDiamShUserDataMsg |
Sh — 16777217 |
Profile-Update-Request (PUR) - 307 |
|
MtxDiamShProfileUpdateMsg |
Sh — 16777217 |
Profile-Update-Answer (PUA) - 307 |
|
MtxDiamShProfileUpdateMsg |
Sh — 16777217 |
Subscribe-Notifications-Request (SNR) - 308 |
|
MtxDiamShSubscribeNotificationsMsg |
Sh — 16777217 |
Subscribe-Notifications-Answer (SNA) - 308 |
|
MtxDiamShSubscribeNotificationsMsg |
Sh — 16777217 |
Push-Notification-Request (PNR) - 309 |
|
MtxDiamShPushNotificationMsg |
Sh — 16777217 |
Push-Notification-Answer (PNA) - 309 |
|
MtxDiamShPushNotificationMsg |
The command code is used to identify the intention of the associated request and answer messages, but the actual data is carried by a set of AVPs. AVPs carry the AAA details as well as routing, security, and capability information between a Diameter client and MATRIXX Engine.
Diameter messages (packets) are converted to MDCs by Diameter Gateway and the AVPs are mapped to MDC fields so they can be interpreted by MATRIXX Charging Application and MATRIXX Policy Application. MATRIXX Engine has an out-of-box set of AVPs for all Diameter messages it supports, but customers can easily add AVPs by changing the base configuration.