This repository contains a simple Diameter parser/message creation library in Ruby. In the future, it will also contain a Diameter stack in Ruby.

Getting started

diameter-server.rb is some example code which can:

Current state

The message parsing and sending code has been verified (using Wireshark to check that the parsed values are correct and that the sent message is valid).

There's no full stack - you'll need to handle CERs and CEAs manually. For short scripted tests there should be no need to handle watchdog or disconnect requests.

Only a small handful of AVPs are implemented - more can be added just by editing the dictionary in the AVPNames class in avp.rb.

TODOs

Infrastructure

Completeness

Stack

APIs

Style

Tests