Reputation: 1148
I am new to Diameter and have this basic question.
I have 2 peers talking to each other over Diameter protocol. I need to send some data between these 2 entities and I am trying to decide whether JSON or XML is supported over Diameter. What is the best way to transfer file content over Diameter? Is it possible to transfer JSON data over Diameter?
Any sample links or code samples would be helpful.
Thanks in advance...
Upvotes: 2
Views: 820
Reputation: 1
I think you can usee the Diameter protocol for JSON (never tried myself though). But Diameter is a protocol for a specific purpose uses AVPs.
Upvotes: 0
Reputation: 21
You can send any kind of data you want with Diameter, but keep in mind that it is designed for transmitting Authentication, Authorization and Accounting (AAA) data. This is control data that is primarily used for granting access, enforcing policy, and measuring usage. The actual network traffic that Diameter controls flows over completely different networks. So if control is what you are after then you should next research which interface(s) you would need for your application. There are many good online resources for that, including RFCs, IETF, 3GPP, and wikipedia.
Upvotes: 2
Reputation: 162
It is not possible to send json or xml data on diameter protocol. Diameter is a strict protocol which works by having well defined command and attribute codes.
Upvotes: -1
Reputation: 39
Diameter peers use Commands to communicate, where Commands are sets of AVPs (Attribute-Value Pair). Commands and AVPs are defined by the applications that use them.
Why do you want to use Diameter to file transfer?
Upvotes: 1