Erlang/OTP and SDL

Stephen Han <>
Thu Sep 16 18:48:52 CEST 2004

If you don't own the SS7 stack including hardware, it is likely that
you will use commercial SS7 stack. Most of the commercial SS7 stack
does not come with MAP package but as separate product anyway.

It may be much easier to integrate from MTP2 to TCAP part of
commerical SS7 product into your GSM MAP and user applications.

I think that approach makes more sense to me in terms of development overhead.


On Thu, 16 Sep 2004 10:27:02 -0400, Serge Aleynikov <> wrote:
> Matthias,
> Do you think you could release the MTP-2 Erlang implementation to the
> Erlang community?  Perhaps, this way people could review possible
> reasons for performance loss, and come up with reasonable suggestions.
> Serge
> Matthias Lang wrote:
> >
> >  Eranga> How good is the SDL support in Erlang? Are there any tools
> >  Eranga> that can generate Erlang code from a SDL spec?
> >
> >  Ulf> In general, one can say that it's entirely straightforward
> >  Ulf> to generate Erlang from SDL
> >
> > Just as an example: MTP-2 is defined in about 50 pages of SDL
> > diagrams. Without knowing anything about MTP-2, I "brainlessly"
> > translated it into Erlang. By "brainlessly", I mean I used a process
> > whenever SDL had a process, sent a message whenever SDL sent a message
> > and sat in receive whenever SDL wanted me to wait for a message.
> >
> > The result was just over 2000 lines of Erlang code. While doing that,
> > I found two bugs in the SDL in the MTP-2 standard, both of which have
> > been corrected in a later version. The Erlang code was hopelessly
> > slow, but that was OK: the goal was to build a reference
> > implementation to test the real (hardware-accelerated) implementation
> > against.
> >
> > I didn't use any tools.
> >
> > Matthias

More information about the erlang-questions mailing list