Skip to content

Erlang Diameter Credit Control (DCCA) OTP application

Notifications You must be signed in to change notification settings

thomasbhatia/dcca-server-OTP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Erlang Diameter Credit Control Application

This repository contains an example OTP DCCA application server built in Erlang.

To build the modules and diameter dictionaries, use rebar:

./rebar get-deps compile generate

To start the module use:

erl -pa deps/*/ebin apps/*/ebin

application:start(diameter).
application:start(dccaserver).

Or use the provided Makefile:

make deps
make compile
make shell

A release is also available and built with the commands above. To load the application use:

make rel
./rel/dccaserver/dccaserver/bin/dccaserver console

Testing

To test the server, use the client module diameter-dcca from my other project or Seagull.

Client

erl
client:start().
client:test().

Seagull

Seagull can be used to generate Diameter traffic to the server. The configuration and scenario xml are in Seagull dir from diameter-dcca project.

The application can be downloaded from http://gull.sourceforge.net/doc/.

About

Erlang Diameter Credit Control (DCCA) OTP application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 69.6%
  • Shell 20.0%
  • Batchfile 6.7%
  • Makefile 3.7%